• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
kit james
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:
 
Craig Wood
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!