updated the About Box to look like the one on Mac

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12501 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Wolf Posdorfer
2011-06-16 15:59:01 +00:00
committed by wolf.posdorfer
parent d94fae66d4
commit dac0bd831c
2 changed files with 2 additions and 2 deletions

View File

@ -700,7 +700,7 @@ public final class MainWindow extends ChatFrame implements ActionListener {
*/
private static void showAboutBox() {
JOptionPane.showMessageDialog(SparkManager.getMainWindow(), Default.getString(Default.APPLICATION_NAME) + " " + JiveInfo.getVersion(),
Res.getString("title.about"), JOptionPane.INFORMATION_MESSAGE);
Res.getString("title.about"), JOptionPane.INFORMATION_MESSAGE, SparkRes.getImageIcon(SparkRes.MAIN_IMAGE));
}
/**

View File

@ -668,7 +668,7 @@ public final class GraphicUtils {
*/
public static BufferedImage convert(Image im) throws InterruptedException,
IOException {
load(im);
//load(im);
BufferedImage bi = new BufferedImage(im.getWidth(null),
im.getHeight(null), BufferedImage.TYPE_INT_ARGB_PRE);
Graphics bg = bi.getGraphics();