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
Solved

Swing Icons ?

Posted on 2003-12-11
9
337 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Title # Comments Views Activity
javap bin 2 41
web services creation SOAP vs REST 5 56
xampp tool 12 56
jsp insert to database example 2 46
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
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 “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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.

860 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