permaculture playing cards*
The moose likes Swing / AWT / SWT and the fly likes Getting Jdialog reference from AppletContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Getting Jdialog reference from AppletContext" Watch "Getting Jdialog reference from AppletContext" New topic

Getting Jdialog reference from AppletContext

Chetan Sharma

Joined: Nov 29, 2002
Posts: 5
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.
It is sorta covered in the JavaRanch Style Guide.
subject: Getting Jdialog reference from AppletContext
Similar Threads
Component having focus before button is pressed
Two different font sizes for the text in titlebar
How to refresh an applet
How to refresh an applet
JTable update from JDialog ?