Solved

Swing Icons ?

Posted on 2003-12-11
9
339 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

707 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