Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages
Started by Alex
Mon, 03 Apr 2006 11:23
JBuilder, problem with JDialog size
Author: Alex
Date: Mon, 03 Apr 2006 11:23
Date: Mon, 03 Apr 2006 11:23
9 lines
1493 bytes
1493 bytes
When I use "null" (instead of CardLayout, XYLayout...) as the layout of a JDialog, then when I run the program the Dialog size is 1 (I have to change it manually in the design editor). The pack() call doesn't work. I want to place the Dialog components in the position I want to. That's why I don't want to use a layoutManager. But using null has that problem. Any solution? Thanks!
Re: JBuilder, problem with JDialog size
Author: titogeo
Date: Sun, 09 Apr 2006 19:31
Date: Sun, 09 Apr 2006 19:31
7 lines
1395 bytes
1395 bytes
hi if u r using null layout pack() wont work. you must disable the option 'generate resize code' and specify size by setSize(new Dimension(int width, int height) tito
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads