NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Remove setVisible(true) from CLIOptions2

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
dalpeste



Joined: 23 May 2012
Posts: 2

PostPosted: Mon May 28, 2012 1:54 pm    Post subject: Remove setVisible(true) from CLIOptions2 Reply with quote

Hi,
since we migrate our app from NetBeans 5.5 to 7.1.2, while the splash screen is displayed, the frame of our application is opened before the initialization is completed. So the window is very small (only the java icon and the 3 Windows buttons).

(I've also post the problem in the wrong forum here:
http://forums.netbeans.org/viewtopic.php?t=48264)

Since I cannot find the reason why it's like that now, I might have found one workaround. In the NB class CLIOptions2, I commented out the line that call setVisible(true) on the frame. Now, the frame is only visible at the right time (after the splash screen is closed and the initialization is completed).

But is this workaround risky?
Can I create any unwanted side effect?
Is this CLIOptions2 class only used at the startup?
Any better idea?

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo