This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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
 
GeeCON Prague 2014
 
subject: Getting Jdialog reference from AppletContext