This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Getting Jdialog reference from AppletContext" Watch "Getting Jdialog reference from AppletContext" New topic
Author

Getting Jdialog reference from AppletContext

Chetan Sharma
Greenhorn

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.
Thanks
Chetan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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 ?