mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
committed by
wolf.posdorfer
parent
d94fae66d4
commit
dac0bd831c
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user