| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Mar 15, 2007 1:16 pm Post subject: frame problem. |
|
|
i have a jwindow is for login. after user authentication the next
frame should be displayed
that frame has a tree on the left pane (left component of splitpane)
and on the right pane
a tabbed pane with 4 tabs
my problem is when this frame is getting focus from the login window
this frame is visible
but no components no border nothing just a fade of frame.when i click
on any border of the frame
its get viisble.
for login (Jwindow) i have a class Login.java
for the main window (JFrame) i have Agents.java
in Login.java I have give setUdecorated(true) ;
I have given as below set the LF of frame.and when i run this class
alone
i'm getting the desired LF. but wen i call this class from the
Login.java
i'm not getting the same LF.
i thnk i'm getting Java LF
frame.setDefaultLookAndFeelDecorated(true);
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
i also want to terminate the previous jwindow there i'm giving
Thread.sleep(10000) also
hope u can solve my problem
thanks |
|
| Back to top |
|
 |
Paul Nichols[TeamB] Guest
|
Posted: Tue Mar 27, 2007 5:05 am Post subject: Re: frame problem. |
|
|
nbhat705 (AT) gmail (DOT) com wrote:
| Quote: | i'm not getting the same LF.
i thnk i'm getting Java LF
frame.setDefaultLookAndFeelDecorated(true);
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
i also want to terminate the previous jwindow there i'm giving
Thread.sleep(10000) also
hope u can solve my problem
thanks
This one sounds too complex to take a stab in the dark//
|
Put your code or code snuppets (minus security info) on borland.publoc
attachments and let us see if we can help you. |
|
| Back to top |
|
 |
|