[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Swing Icons ?

Posted on 2003-12-11
9
Medium Priority
?
345 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 120 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
Industry Leaders: 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

Industry Leaders: 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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

656 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