About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 7 years ago
  • Total downloads: 106
  • Price: Free |
  • Operating system: Win All
  • Publisher: UCWare.com (5 other programs)
See full specifications

windows default iconUCWare IconTools Publisher's description

If you need to read a Windows ICO file from Java, UCWare IconTools for the Java platform may come in handy.

If you need to read a Windows ICO file from Java, UCWare IconTools for the Java platform may come in handy.

UCWare IconTools lets you read an icon into memory with just one line of code:

Icon[] icons = IconTools.readIcons(new File("C:\my.ico"));

As the result, you get an array of objects that implement the javax.swing.Icon interface. javax.swing.Icon allows for using icons throughout Swing (for instance, you can set icons on JButtons), and also in Java2D for obtaining BufferedImages, and so on.

UCWare IconTools supports multi-resolution icons with varying color depths, and also supports alpha channel transparency.

The following code snippet will display all icons from a single file as buttons:

contentPane = (JPanel) getContentPane();
pane.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));

Icon[] ic = IconTools.readIcons(new File(args[0]));

for (int i = 0; i < ic.length; i++)
Icon icon = ic[i];
IcoIcon iic = (IcoIcon) icon;
String inf = iic.getIconWidth()+"x"+iic.getIconHeight()
pane.add(new JButton(inf, icon));

System Requirements:

Javaв„ў Runtime Environment version 1.3.1 or higher.
Program Release Status:
Program Install Support: Install and Uninstall

Is UCWare IconTools your software?

Manage your software

Most Popular

DownloadPlex.com Software Updater icon DownloadPlex.com Software Updater
DownloadPlex.com Software Updater is freeware allow you can check new software version in your system
AVG-PC Tuneup 2012 2012.26.c1 icon AVG-PC Tuneup 2012 2012.26.c1
Restore your PC to peak performance Speeds up your PC, cleans your hard driveand eliminates freezing
DAEMON Tools 4.40.0311 icon DAEMON Tools 4.40.0311
DAEMON Tools Pro is CD %26 DVD emulation software which allows users to make CDDVD disc images, create a... Read more
Hamster Free Zip Archiver icon Hamster Free Zip Archiver
Hamster Free Zip Archiver is a new, absolutely free, file archiver which allows you to quickly and easily work... Read more
windows default icon CMP Wassup 2.5 Build 9436
This Applet will show you all the Java system properties

Related Category

» Backup & Restore (1596)
» Benchmarking (42)
» Clipboard Tools (162)
» Other (3958)
» Printer (209)
» Registry Tools (287)
» Shell Tools (187)