Article View: borland.public.jbuilder.java.swing
Article #8164Re: Max Element Error in JBuilder4
From: John McGrath TeamB
Date: Thu, 19 Oct 2000 00:00
Date: Thu, 19 Oct 2000 00:00
38 lines
1916 bytes
1916 bytes
On Wed, 18 Oct 2000 18:01:08 -0700, Sam King wrote:
> Also, there is plenty of room in the JPanels to hold
> everything. It appears to me that there is some sort
> of erroneous restriction on the number of elements you
> can put into the containers. That is an error in
> JBuilder4 that does not exist in JBuilder3.
It is highly unlikely that this has anything at all to do with JBuilder.
JBuilder 4 comes with JDK 1.3 and JBuilder 3 comes with JDK 1.2. It is
likely that the difference is with the JDK you are using.
As to what the problem is, it is hard to tell. I am pretty sure there
are no limits on the _number_ of components that can be added to a
container. You may be running into a layout manager problem.
> Also, if you maximize the JFrame, the JFields and JLabels
> are there. Then if you reduce the JFrame back to normal
> they are still there, like there should have been when
> the program first ran.
This sounds like you are not packing the frame.
> If you want the code, I'll post it, but you might want
> to start with the small program on page 556 of "Java 2"
> by Horton.
If you can reduce this to a small runnable program that demonstrates the
problem, then posting it would be a very good idea.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.14584f584e29e923989c46@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39EE47D3.B9E6EE3E@home.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,69b62d3f7f94c109 X-Google-Attributes: gid111d45,public From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Subject: Re: Max Element Error in JBuilder4 Date: 2000/10/19 Message-ID: <MPG.14584f584e29e923989c46@forums.borland.com> X-Deja-AN: 683185457 References: <39EE47D3.B9E6EE3E@home.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing