Solved

Swing Icons ?

Posted on 2003-12-11
9
335 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
  • 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
 

Author Comment

by:simple21
ID: 9925738
How can I do that in JOptionPane using a kungstuff look & feel ?
0
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.

 
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

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

Suggested Solutions

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
The viewer will learn how to implement Singleton Design Pattern in Java.
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 …

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

13 Experts available now in Live!

Get 1:1 Help Now