This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to call a JInternalFrame form from an outside JFrame form?  RSS feed

 
Ashutosh M Kulkarni
Ranch Hand
Posts: 41
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I successfully call a JInternalFrame from my main JFrame class. I know the syntax but it isn't working. Not sure if I need to set any specific attributes for the same.
The frames that I designed inside the main JFrame form are executed when called, but the one I tried to write in a separate java file isn't working when called from main class.
I am using the Visual Editor provided with NetBeans 6.9.1

Any help?

Thanks,
Ashutosh
 
Stephan van Hulst
Saloon Keeper
Posts: 7190
118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "call"?

Note that JInternalFrames need a JDesktopPane as a parent.

Show us what you have tried.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why didn't you continue in the earlier thread, instead of repeating the question here?
http://www.coderanch.com/t/542101/GUI/java/Designing-JFrame-JInternalFrame-NetBeans-IDE
 
Ashutosh M Kulkarni
Ranch Hand
Posts: 41
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I apologize for the new thread, I waited for over a day and there was no reply, I thought maybe the new thread would gather responses sooner.
Anyway, the purpose of this thread is met (got a reply in my older thread after all), so I request you to please delete this thread, it has no fruitful outcome anyway.

Thanks,
Ashutosh
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!