diff --git a/src/lombok/installer/InstallerLogoShapely.png b/src/lombok/installer/InstallerLogoShapely.png new file mode 100644 index 00000000..6ba6cda0 Binary files /dev/null and b/src/lombok/installer/InstallerLogoShapely.png differ diff --git a/src/lombok/installer/InstallerLogoShapely.psd b/src/lombok/installer/InstallerLogoShapely.psd new file mode 100644 index 00000000..d9e9259c Binary files /dev/null and b/src/lombok/installer/InstallerLogoShapely.psd differ diff --git a/src/lombok/installer/InstallerWindow.java b/src/lombok/installer/InstallerWindow.java new file mode 100644 index 00000000..7db465be --- /dev/null +++ b/src/lombok/installer/InstallerWindow.java @@ -0,0 +1,48 @@ +package lombok.installer; + +import java.awt.BorderLayout; + +import javax.swing.ImageIcon; +import javax.swing.JFrame; +import javax.swing.JLabel; +import javax.swing.SwingUtilities; + +import lombok.core.Version; + +public class InstallerWindow { + private JFrame jFrame; + private JLabel mainText; + private JLabel leftGraphic, topGraphic; + + public static void main(String[] args) { + SwingUtilities.invokeLater(new Runnable() { + public void run() { + new InstallerWindow().show(); + } + }); + } + + public InstallerWindow() { + jFrame = new JFrame(String.format("Project Lombok v%s - Installer", Version.getVersion())); + + //We want to offer an undo feature when the user cancels in the middle of an operation. + jFrame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); + + leftGraphic = new JLabel(new ImageIcon(InstallerWindow.class.getResource("/lombok/installer/lombok.png"))); + topGraphic = new JLabel(new ImageIcon(InstallerWindow.class.getResource("/lombok/installer/lombokText.png"))); + mainText = new JLabel("Explanatory stuff goes here."); + + jFrame.setLayout(new BorderLayout()); + jFrame.add(leftGraphic, BorderLayout.WEST); + jFrame.add(topGraphic, BorderLayout.NORTH); + jFrame.add(mainText, BorderLayout.CENTER); + + + jFrame.pack(); + System.out.println("WE SHOULD BE UP"); + } + + public void show() { + jFrame.setVisible(true); + } +} diff --git a/src/lombok/installer/lombok.png b/src/lombok/installer/lombok.png new file mode 100644 index 00000000..f2edb700 Binary files /dev/null and b/src/lombok/installer/lombok.png differ diff --git a/src/lombok/installer/lombok.svg b/src/lombok/installer/lombok.svg new file mode 100644 index 00000000..b28e1cbe --- /dev/null +++ b/src/lombok/installer/lombok.svg @@ -0,0 +1,176 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/lombok/installer/lombokText.svg b/src/lombok/installer/lombokText.svg new file mode 100644 index 00000000..24e387e9 --- /dev/null +++ b/src/lombok/installer/lombokText.svg @@ -0,0 +1,19 @@ + + + + + + + +