Forums Register Login

controls not visible in small frame

+Pie Number of slices to send: Send
If I set the frame size as say setSize(400, 250) the controls are not visible initially with this size.

After if I maximize it once and then bring it back to 400 x 250 it becomes visible.

How to make it visible without maximizing and then shortening it.


Please help me. Thanks in advance.
+Pie Number of slices to send: Send
Posting some code would help so we can see what's happening. It's probably a layout issue, have you tried using pack() before making it visible?
+Pie Number of slices to send: Send
Thank You very much. It is working well by using pack().

It will be nice if you can help me to create an exe file of a Java class which can run in any system or platform where java or JRE is not installed.

Please help me if you can since I am struggling with it for the last 3 days of my project.
+Pie Number of slices to send: Send
 

Originally posted by Nirmal JeyaChandra:
... It will be nice if you can help me to create an exe file of a Java class which can run in any system or platform where java or JRE is not installed...


That would be nice. :roll:

An exe is specific to Windows, and it's the JRE that makes Java "platform independent."

You may want to read this for more information.
[ January 04, 2006: Message edited by: marc weber ]
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 751 times.
Similar Threads
window alignment
sharing Panel between frames
Resizing whole frame
Good Screen Size
frame setSize
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:13:38.