Article View: borland.public.jbuilder.java.swing
Article #9291Re: Disappearing Swing controls
From: rwilkman
Date: Mon, 24 Apr 2000 00:00
Date: Mon, 24 Apr 2000 00:00
53 lines
2498 bytes
2498 bytes
Paul: Hmm... how are they disappearing? Are there just holes in the painted area of the right size? Painting could be DirectX issues. Are they gone and the layout manager has shifted items into their places? Components disappear when they fall outside the rule for the container layout. The 6th compoment added to a BorderLayout gets shoved to 0,0 at size 0,0. In effect, it disappears. If you have constrained the number of components in a GridLayout, you can also have things disappear (actually I don't think they ever show up). Of course, there *is* the package javax.bermuda.triangle that seems to pop up every once in a while. -Rich "Paul Furbacher [TeamB]" wrote: > > Perhaps this has been discussed, but I couldn't find anything > by searching the newsgroup archives. > > One user is reporting a progressive case of "disappearing controls." > In earlier versions of a demo I'm working on, he said that when > he rearranged some sliders and hit a button, some (or perhaps all) > of the sliders) would disappear. Then, in the most recent version, > some radiobuttons would disappear. > > Yet, on several other machines, running both NT and Win98, no such > disappearing act has occurred. Of course, I have never seen this > on my machine -- dumb luck? > > The application (not applet) is written using Swing 1.2.2. > > Is this a DirectX-related problem? Video driver? Since I'm just > getting back to using Swing after more than a year of strictly > server side stuff, I haven't kept up with Swing discussions a > closely, and am a bit stumped on this one. > > Paul Furbacher (TeamB) -- ===== Rich Wilkman Senior Quality Assurance Engineer JBuilder Team If something in this post looks like an opinion, walks like an opinion and quacks like an opinion, it's mine and not that of my employer. If you are reading this from a newsgroup post, don't send mail. =====
Technical Details
Message-ID:
<39048938.CC0169EF@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39047754.57E888AA@home.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a657d38a909997fa X-Google-Attributes: gid111d45,public From: rwilkman <rwilkman@inprise.com> Subject: Re: Disappearing Swing controls Date: 2000/04/24 Message-ID: <39048938.CC0169EF@inprise.com> X-Deja-AN: 615061563 Content-Transfer-Encoding: 7bit References: <39047754.57E888AA@home.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing