• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Question on displaying frames in desktops from another class...

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am a newbie in java, forgive me if its a simple question

currently I want to display an internal frame in an MDIFrame that I made

THe problem is that the commands to invoke the internal frame isnt from the MDIFrame class, and its not working when I try to do so

for example

I have class A

the corresponding MDIFrame class



Above are the snippets of the code,
can any1 please please tell me wat is wrong ?

I cant get the internal frame showed in the jdesktoppane... if I call the method as such, whereelse when I call it directly from the MDIFrame class it displays the internal frame, which then again....

I unable to do so, because of the situation that I am having here..

regards,
waikit

PS:
 
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
kit james
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!