File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Getting Jdialog reference from AppletContext Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Getting Jdialog reference from AppletContext
 
Similar Threads
How to refresh an applet
How to refresh an applet
Two different font sizes for the text in titlebar
Component having focus before button is pressed
JTable update from JDialog ?