Solved

Setting icon image of java.awt.Dialog

Posted on 1998-01-16
2
252 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now