Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

frame problem.

0 views
Skip to first unread message

nbha...@gmail.com

unread,
Mar 15, 2007, 4:16:34 AM3/15/07
to
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

Paul Nichols[TeamB]

unread,
Mar 26, 2007, 8:05:23 PM3/26/07
to
nbha...@gmail.com wrote:
> 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.

0 new messages