Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting Jdialog reference from AppletContext

Chetan Sharma
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I very urgently need your help. My Problem is as follows
From Japplet I am opening a JDialog and is passing the appletContext in Constructor. This appletcontext I use to get some common resources like images etc from a common java file.
Now the problem is that from this appletcontext can I know the instance of the dialog ?
In all my applets and Dialog a common file method is called to get the images to which the appletcontext is passed. From this method I want to set the height, font and font size of all the components. I have been able to do so for the applets as I can get all the components from the appletcontext, but I am not able to do it for dialog.
Somebody please help me how from appletcontext I can find the dialog from where I will be able to find the components of the dialog.
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic