• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Bartender
Posts: 6646
90
  • 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: 5162
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
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!