Solved

Swing Icons ?

Posted on 2003-12-11
9
338 Views
Last Modified: 2011-09-20
In swing there are default icons when you use the JOptionPane those icons are for :

Information
Question
Warning
Error

Where can I find this Icons I really wanna use it in
another way.
0
Comment
Question by:simple21
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 3

Accepted Solution

by:
InNoCenT_Ch1ld earned 30 total points
ID: 9925616
0
 

Author Comment

by:simple21
ID: 9925637
I can do that as easy as printscreen when running my application.
My problem is, I really wanna have the fresh hand cut of those graphics w/o modifiying it.

Because if I try to copy it then I still nead to cut the edges of some icons which can not
be done because some are circular in form.
0
 
LVL 92

Expert Comment

by:objects
ID: 9925653
UIManager.getIcon("OptionPane.errorIcon");
UIManager.getIcon("OptionPane.informationIcon");
UIManager.getIcon("OptionPane.warningIcon");
UIManager.getIcon("OptionPane.questionIcon");
0
Technology Partners: 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!

 

Author Comment

by:simple21
ID: 9925738
How can I do that in JOptionPane using a kungstuff look & feel ?
0
 
LVL 92

Expert Comment

by:objects
ID: 9925773
Depends on that particular look&feel.
If you check the jar for the look and feel you should find the images if thats what you're after.
0
 

Author Comment

by:simple21
ID: 9925789
Okey I extracted the Jar file of kungstuff and I found the Icons that they use for the JOptionPane.
I dont like it, its missirable and not professionally created.
So I want to use the icons of swing.

For me to be able to do that I need to save the icons of swing on the root folder of kungstuff.
0
 
LVL 92

Expert Comment

by:objects
ID: 9925802
thats correct.

you may also be able to specify what icon to use via UIManager, check the kungstuff doco.
0
 

Author Comment

by:simple21
ID: 9925830
Okey I found one solution I tried downloading what InNoCenT_Ch1ld suggested
and it seems the icons are in transparent mode.
Thanks for you help guys . . .
0
 
LVL 3

Expert Comment

by:InNoCenT_Ch1ld
ID: 9926236
;)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

749 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