BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

frame problem.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Applet Issues
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Thu Mar 15, 2007 1:16 pm    Post subject: frame problem. Reply with quote



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





PostPosted: Tue Mar 27, 2007 5:05 am    Post subject: Re: frame problem. Reply with quote



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// Smile

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Applet Issues All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.