Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setting icon image of java.awt.Dialog

Posted on 1998-01-16
2
Medium Priority
?
297 Views
Last Modified: 2012-05-04
Is it possible to set the  icon image of a java.awt.Dialog as it is with java.awt.Frame?
0
Comment
Question by:bjg
2 Comments
 

Accepted Solution

by:
rjg2000 earned 200 total points
ID: 1232246
To put is simply, no.

The AWT only suports setIcon for Frame not Window (Frame and Dialogs super class) (which seems silly really) but it may be a platfrom dependant thing so has been left out.

0
 

Author Comment

by:bjg
ID: 1232247
That's what I assumed, but I wanted to see if I missed any tricks.  Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question