From 2f31138811f35b9d469dc20a5661510f6074a2f5 Mon Sep 17 00:00:00 2001 From: Super Hackio Date: Fri, 29 Mar 2024 17:16:36 -0700 Subject: [PATCH] Minor UI Changes --- src/whitehole/AboutForm.form | 2 +- src/whitehole/AboutForm.java | 2 +- src/whitehole/MainFrame.form | 18 +++++++++--------- src/whitehole/MainFrame.java | 28 ++++++++++++++-------------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/whitehole/AboutForm.form b/src/whitehole/AboutForm.form index cd19c27..acd5ac0 100644 --- a/src/whitehole/AboutForm.form +++ b/src/whitehole/AboutForm.form @@ -50,7 +50,7 @@ - + diff --git a/src/whitehole/AboutForm.java b/src/whitehole/AboutForm.java index fb8c6b8..186cdb4 100644 --- a/src/whitehole/AboutForm.java +++ b/src/whitehole/AboutForm.java @@ -35,7 +35,7 @@ private void initComponents() { setIconImage(Whitehole.ICON); setResizable(false); - label.setText("

Whitehole

A level editor for Super Mario Galaxy and Super Mario Galaxy 2.
Whitehole is free software and shouldn't be provided as a part
of a paid software package.

Credits

Arisotura, TheSunCat, Aurum, JuPaHe64, PhantomWings, Treeki,
Super Hackio, shibbo, NWPlayer123, Bussun, IonicPixels, thakis,
yaz0r, Lord-Giganticus, groepaz, Dirbaio, Rob Camick, and AwesomeTMC.
"); + label.setText("\n

Whitehole

A level editor for Super Mario Galaxy and Super Mario Galaxy 2.
Whitehole is free software and shouldn't be provided as a part
of a paid software package.

Credits

Arisotura, Aurum, AwesomeTMC, Bussun, Dirbaio,
groepaz, IonicPixels, JuPaHe64, Lord-Giganticus, NWPlayer123,
PhantomWings, Rob Camick, shibboleet, Super Hackio, thakis,
TheSunCat, Treeki, and yaz0r.

Current Version:
Whitehole Neo (Beta 5)

"); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); diff --git a/src/whitehole/MainFrame.form b/src/whitehole/MainFrame.form index 1393e0a..d8c259a 100644 --- a/src/whitehole/MainFrame.form +++ b/src/whitehole/MainFrame.form @@ -91,31 +91,31 @@ - + - - - + + - + - + - - + + + - + diff --git a/src/whitehole/MainFrame.java b/src/whitehole/MainFrame.java index f11106f..0101b8c 100644 --- a/src/whitehole/MainFrame.java +++ b/src/whitehole/MainFrame.java @@ -305,9 +305,9 @@ private void initComponents() { jSeparator1 = new javax.swing.JToolBar.Separator(); btnOpenGalaxy = new javax.swing.JButton(); jSeparator2 = new javax.swing.JToolBar.Separator(); - btnCreateGalaxy = new javax.swing.JButton(); - jSeparator4 = new javax.swing.JToolBar.Separator(); btnBcsvEditor = new javax.swing.JButton(); + jSeparator4 = new javax.swing.JToolBar.Separator(); + btnCreateGalaxy = new javax.swing.JButton(); jSeparator3 = new javax.swing.JToolBar.Separator(); btnSettings = new javax.swing.JButton(); jSeparator6 = new javax.swing.JToolBar.Separator(); @@ -360,18 +360,6 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { toolbar.add(btnOpenGalaxy); toolbar.add(jSeparator2); - btnCreateGalaxy.setText((tabLists.getSelectedIndex() == 0) ? "Create Galaxy" : "Create Zone"); - btnCreateGalaxy.setFocusable(false); - btnCreateGalaxy.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); - btnCreateGalaxy.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); - btnCreateGalaxy.addActionListener(new java.awt.event.ActionListener() { - public void actionPerformed(java.awt.event.ActionEvent evt) { - btnCreateGalaxyActionPerformed(evt); - } - }); - toolbar.add(btnCreateGalaxy); - toolbar.add(jSeparator4); - btnBcsvEditor.setText("BCSV Editor"); btnBcsvEditor.setEnabled(false); btnBcsvEditor.setFocusable(false); @@ -383,6 +371,18 @@ public void actionPerformed(java.awt.event.ActionEvent evt) { } }); toolbar.add(btnBcsvEditor); + toolbar.add(jSeparator4); + + btnCreateGalaxy.setText((tabLists.getSelectedIndex() == 0) ? "Create Galaxy" : "Create Zone"); + btnCreateGalaxy.setFocusable(false); + btnCreateGalaxy.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER); + btnCreateGalaxy.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM); + btnCreateGalaxy.addActionListener(new java.awt.event.ActionListener() { + public void actionPerformed(java.awt.event.ActionEvent evt) { + btnCreateGalaxyActionPerformed(evt); + } + }); + toolbar.add(btnCreateGalaxy); toolbar.add(jSeparator3); btnSettings.setText("Settings");