Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Setting icon image of java.awt.Dialog

Posted on 1998-01-16
2
Medium Priority
?
299 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

Independent Software Vendors: 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…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses
Course of the Month15 days, 21 hours left to enroll

580 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