• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

Setting icon image of java.awt.Dialog

Is it possible to set the  icon image of a java.awt.Dialog as it is with java.awt.Frame?
1 Solution
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.

bjgAuthor Commented:
That's what I assumed, but I wanted to see if I missed any tricks.  Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now