Ribbon rearranging, UI tweaks, animated splash screen, and beginning work on 0.9
@ -8,18 +8,18 @@
|
|||||||
<Properties>
|
<Properties>
|
||||||
<Property name="closable" type="boolean" value="true"/>
|
<Property name="closable" type="boolean" value="true"/>
|
||||||
<Property name="iconifiable" type="boolean" value="true"/>
|
<Property name="iconifiable" type="boolean" value="true"/>
|
||||||
<Property name="title" type="java.lang.String" value="Display Settings"/>
|
<Property name="title" type="java.lang.String" value="Theme"/>
|
||||||
<Property name="frameIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
<Property name="frameIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||||
<Image iconType="3" name="/net/apocalypselabs/symat/icons/settings.png"/>
|
<Image iconType="3" name="/net/apocalypselabs/symat/icons/settings.png"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[250, 200]"/>
|
<Dimension value="[170, 190]"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[250, 200]"/>
|
<Dimension value="[170, 190]"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[250, 200]"/>
|
<Dimension value="[170, 190]"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
<SyntheticProperties>
|
<SyntheticProperties>
|
||||||
@ -43,22 +43,16 @@
|
|||||||
<Layout>
|
<Layout>
|
||||||
<DimensionLayout dim="0">
|
<DimensionLayout dim="0">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" attributes="0">
|
||||||
<Group type="103" groupAlignment="1" attributes="0">
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Component id="jPanel1" max="32767" attributes="0"/>
|
||||||
<Group type="102" alignment="1" attributes="0">
|
<Group type="102" alignment="1" attributes="0">
|
||||||
<EmptySpace max="32767" attributes="0"/>
|
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
||||||
<Component id="cancelBtn" min="-2" max="-2" attributes="0"/>
|
<Component id="saveBtn" min="-2" pref="73" max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Component id="saveBtn" min="-2" pref="81" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Component id="jPanel1" min="-2" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
||||||
<Component id="jPanel2" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</Group>
|
|
||||||
<EmptySpace pref="37" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
@ -66,16 +60,10 @@
|
|||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" attributes="0">
|
<Group type="102" attributes="0">
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
<Component id="jPanel1" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="jPanel1" max="32767" attributes="0"/>
|
|
||||||
<Component id="jPanel2" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
<Component id="saveBtn" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="saveBtn" alignment="3" min="-2" max="-2" attributes="0"/>
|
<EmptySpace pref="29" max="32767" attributes="0"/>
|
||||||
<Component id="cancelBtn" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<EmptySpace pref="39" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
@ -100,7 +88,7 @@
|
|||||||
<Component id="themeLight" alignment="0" min="-2" max="-2" attributes="0"/>
|
<Component id="themeLight" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="themeDark" alignment="0" min="-2" max="-2" attributes="0"/>
|
<Component id="themeDark" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace max="32767" attributes="0"/>
|
<EmptySpace pref="67" max="32767" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
@ -136,69 +124,6 @@
|
|||||||
</Component>
|
</Component>
|
||||||
</SubComponents>
|
</SubComponents>
|
||||||
</Container>
|
</Container>
|
||||||
<Container class="javax.swing.JPanel" name="jPanel2">
|
|
||||||
<Properties>
|
|
||||||
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
|
||||||
<Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
|
|
||||||
<TitledBorder title="Font"/>
|
|
||||||
</Border>
|
|
||||||
</Property>
|
|
||||||
<Property name="toolTipText" type="java.lang.String" value="Change the default font for the editor and shell."/>
|
|
||||||
</Properties>
|
|
||||||
|
|
||||||
<Layout>
|
|
||||||
<DimensionLayout dim="0">
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<Group type="102" attributes="0">
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
||||||
<Component id="jLabel1" max="32767" attributes="0"/>
|
|
||||||
<Component id="fontSizeBox" pref="0" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<EmptySpace max="32767" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</Group>
|
|
||||||
</DimensionLayout>
|
|
||||||
<DimensionLayout dim="1">
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace max="32767" attributes="0"/>
|
|
||||||
<Component id="fontSizeBox" min="-2" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</Group>
|
|
||||||
</DimensionLayout>
|
|
||||||
</Layout>
|
|
||||||
<SubComponents>
|
|
||||||
<Component class="javax.swing.JComboBox" name="fontSizeBox">
|
|
||||||
<Properties>
|
|
||||||
<Property name="editable" type="boolean" value="true"/>
|
|
||||||
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
|
|
||||||
<StringArray count="11">
|
|
||||||
<StringItem index="0" value="8"/>
|
|
||||||
<StringItem index="1" value="9"/>
|
|
||||||
<StringItem index="2" value="10"/>
|
|
||||||
<StringItem index="3" value="11"/>
|
|
||||||
<StringItem index="4" value="12"/>
|
|
||||||
<StringItem index="5" value="14"/>
|
|
||||||
<StringItem index="6" value="16"/>
|
|
||||||
<StringItem index="7" value="18"/>
|
|
||||||
<StringItem index="8" value="20"/>
|
|
||||||
<StringItem index="9" value="22"/>
|
|
||||||
<StringItem index="10" value="24"/>
|
|
||||||
</StringArray>
|
|
||||||
</Property>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JLabel" name="jLabel1">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" value="Font Size (pt): "/>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
</SubComponents>
|
|
||||||
</Container>
|
|
||||||
<Component class="javax.swing.JButton" name="saveBtn">
|
<Component class="javax.swing.JButton" name="saveBtn">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" value="Save"/>
|
<Property name="text" type="java.lang.String" value="Save"/>
|
||||||
@ -207,13 +132,5 @@
|
|||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="saveBtnActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="saveBtnActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JButton" name="cancelBtn">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" value="Cancel"/>
|
|
||||||
</Properties>
|
|
||||||
<Events>
|
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="cancelBtnActionPerformed"/>
|
|
||||||
</Events>
|
|
||||||
</Component>
|
|
||||||
</SubComponents>
|
</SubComponents>
|
||||||
</Form>
|
</Form>
|
||||||
|
@ -55,19 +55,15 @@ public class Display extends javax.swing.JInternalFrame {
|
|||||||
jPanel1 = new javax.swing.JPanel();
|
jPanel1 = new javax.swing.JPanel();
|
||||||
themeLight = new javax.swing.JRadioButton();
|
themeLight = new javax.swing.JRadioButton();
|
||||||
themeDark = new javax.swing.JRadioButton();
|
themeDark = new javax.swing.JRadioButton();
|
||||||
jPanel2 = new javax.swing.JPanel();
|
|
||||||
fontSizeBox = new javax.swing.JComboBox();
|
|
||||||
jLabel1 = new javax.swing.JLabel();
|
|
||||||
saveBtn = new javax.swing.JButton();
|
saveBtn = new javax.swing.JButton();
|
||||||
cancelBtn = new javax.swing.JButton();
|
|
||||||
|
|
||||||
setClosable(true);
|
setClosable(true);
|
||||||
setIconifiable(true);
|
setIconifiable(true);
|
||||||
setTitle("Display Settings");
|
setTitle("Theme");
|
||||||
setFrameIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/icons/settings.png"))); // NOI18N
|
setFrameIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/icons/settings.png"))); // NOI18N
|
||||||
setMaximumSize(new java.awt.Dimension(250, 200));
|
setMaximumSize(new java.awt.Dimension(170, 190));
|
||||||
setMinimumSize(new java.awt.Dimension(250, 200));
|
setMinimumSize(new java.awt.Dimension(170, 190));
|
||||||
setPreferredSize(new java.awt.Dimension(250, 200));
|
setPreferredSize(new java.awt.Dimension(170, 190));
|
||||||
addComponentListener(new java.awt.event.ComponentAdapter() {
|
addComponentListener(new java.awt.event.ComponentAdapter() {
|
||||||
public void componentShown(java.awt.event.ComponentEvent evt) {
|
public void componentShown(java.awt.event.ComponentEvent evt) {
|
||||||
formComponentShown(evt);
|
formComponentShown(evt);
|
||||||
@ -93,7 +89,7 @@ public class Display extends javax.swing.JInternalFrame {
|
|||||||
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(themeLight)
|
.addComponent(themeLight)
|
||||||
.addComponent(themeDark))
|
.addComponent(themeDark))
|
||||||
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
.addContainerGap(67, Short.MAX_VALUE))
|
||||||
);
|
);
|
||||||
jPanel1Layout.setVerticalGroup(
|
jPanel1Layout.setVerticalGroup(
|
||||||
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
@ -105,35 +101,6 @@ public class Display extends javax.swing.JInternalFrame {
|
|||||||
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
||||||
);
|
);
|
||||||
|
|
||||||
jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Font"));
|
|
||||||
jPanel2.setToolTipText("Change the default font for the editor and shell.");
|
|
||||||
|
|
||||||
fontSizeBox.setEditable(true);
|
|
||||||
fontSizeBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "8", "9", "10", "11", "12", "14", "16", "18", "20", "22", "24" }));
|
|
||||||
|
|
||||||
jLabel1.setText("Font Size (pt): ");
|
|
||||||
|
|
||||||
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
|
|
||||||
jPanel2.setLayout(jPanel2Layout);
|
|
||||||
jPanel2Layout.setHorizontalGroup(
|
|
||||||
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addGroup(jPanel2Layout.createSequentialGroup()
|
|
||||||
.addContainerGap()
|
|
||||||
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
|
||||||
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
||||||
.addComponent(fontSizeBox, 0, 0, Short.MAX_VALUE))
|
|
||||||
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
|
||||||
);
|
|
||||||
jPanel2Layout.setVerticalGroup(
|
|
||||||
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addGroup(jPanel2Layout.createSequentialGroup()
|
|
||||||
.addContainerGap()
|
|
||||||
.addComponent(jLabel1)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
||||||
.addComponent(fontSizeBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addContainerGap())
|
|
||||||
);
|
|
||||||
|
|
||||||
saveBtn.setText("Save");
|
saveBtn.setText("Save");
|
||||||
saveBtn.addActionListener(new java.awt.event.ActionListener() {
|
saveBtn.addActionListener(new java.awt.event.ActionListener() {
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
@ -141,56 +108,33 @@ public class Display extends javax.swing.JInternalFrame {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
cancelBtn.setText("Cancel");
|
|
||||||
cancelBtn.addActionListener(new java.awt.event.ActionListener() {
|
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
|
||||||
cancelBtnActionPerformed(evt);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
||||||
getContentPane().setLayout(layout);
|
getContentPane().setLayout(layout);
|
||||||
layout.setHorizontalGroup(
|
layout.setHorizontalGroup(
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
|
|
||||||
.addGroup(layout.createSequentialGroup()
|
|
||||||
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
||||||
.addComponent(cancelBtn)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addComponent(saveBtn, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
|
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
||||||
.addContainerGap(37, Short.MAX_VALUE))
|
.addGap(0, 0, Short.MAX_VALUE)
|
||||||
|
.addComponent(saveBtn, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
||||||
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
layout.setVerticalGroup(
|
layout.setVerticalGroup(
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
||||||
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
|
||||||
.addComponent(saveBtn)
|
.addComponent(saveBtn)
|
||||||
.addComponent(cancelBtn))
|
.addContainerGap(29, Short.MAX_VALUE))
|
||||||
.addContainerGap(39, Short.MAX_VALUE))
|
|
||||||
);
|
);
|
||||||
|
|
||||||
pack();
|
pack();
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
|
||||||
private void cancelBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cancelBtnActionPerformed
|
|
||||||
dispose();
|
|
||||||
}//GEN-LAST:event_cancelBtnActionPerformed
|
|
||||||
|
|
||||||
private void formComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentShown
|
private void formComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentShown
|
||||||
if (PrefStorage.isset("editfont")) {
|
|
||||||
fontSizeBox.setSelectedItem(PrefStorage.getSetting("editfont"));
|
|
||||||
}
|
|
||||||
if (PrefStorage.isset("theme")) {
|
if (PrefStorage.isset("theme")) {
|
||||||
switch (PrefStorage.getSetting("theme")) {
|
switch (PrefStorage.getSetting("theme")) {
|
||||||
case "dark":
|
case "dark":
|
||||||
@ -205,7 +149,6 @@ public class Display extends javax.swing.JInternalFrame {
|
|||||||
}//GEN-LAST:event_formComponentShown
|
}//GEN-LAST:event_formComponentShown
|
||||||
|
|
||||||
private void saveBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveBtnActionPerformed
|
private void saveBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveBtnActionPerformed
|
||||||
PrefStorage.saveSetting("editfont", fontSizeBox.getSelectedItem().toString());
|
|
||||||
if (themeDark.isSelected()) {
|
if (themeDark.isSelected()) {
|
||||||
PrefStorage.saveSetting("theme", "dark");
|
PrefStorage.saveSetting("theme", "dark");
|
||||||
} else {
|
} else {
|
||||||
@ -223,11 +166,7 @@ public class Display extends javax.swing.JInternalFrame {
|
|||||||
}//GEN-LAST:event_saveBtnActionPerformed
|
}//GEN-LAST:event_saveBtnActionPerformed
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JButton cancelBtn;
|
|
||||||
private javax.swing.JComboBox fontSizeBox;
|
|
||||||
private javax.swing.JLabel jLabel1;
|
|
||||||
private javax.swing.JPanel jPanel1;
|
private javax.swing.JPanel jPanel1;
|
||||||
private javax.swing.JPanel jPanel2;
|
|
||||||
private javax.swing.JButton saveBtn;
|
private javax.swing.JButton saveBtn;
|
||||||
private javax.swing.JRadioButton themeDark;
|
private javax.swing.JRadioButton themeDark;
|
||||||
private javax.swing.ButtonGroup themeGroup;
|
private javax.swing.ButtonGroup themeGroup;
|
||||||
|
@ -56,7 +56,7 @@ public class Help extends javax.swing.JInternalFrame {
|
|||||||
*/
|
*/
|
||||||
public Help(boolean about) {
|
public Help(boolean about) {
|
||||||
initComponents();
|
initComponents();
|
||||||
setSize(450,352);
|
setSize(450, 352);
|
||||||
jSplitPane1.setDividerSize(0);
|
jSplitPane1.setDividerSize(0);
|
||||||
jSplitPane1.setDividerLocation(0.0);
|
jSplitPane1.setDividerLocation(0.0);
|
||||||
jSplitPane1.setResizeWeight(0.0);
|
jSplitPane1.setResizeWeight(0.0);
|
||||||
@ -82,7 +82,7 @@ public class Help extends javax.swing.JInternalFrame {
|
|||||||
+ "<body>"
|
+ "<body>"
|
||||||
+ "<h1>About</h1>"
|
+ "<h1>About</h1>"
|
||||||
+ "<p>This is SyMAT version "
|
+ "<p>This is SyMAT version "
|
||||||
+ MainGUI.VERSION_NAME + " (" + (int)MainGUI.APP_CODE + ")."
|
+ MainGUI.VERSION_NAME + " (" + (int) MainGUI.APP_CODE + ")."
|
||||||
+ "</p>"
|
+ "</p>"
|
||||||
+ "<p>SyMAT is copyright © "
|
+ "<p>SyMAT is copyright © "
|
||||||
+ Calendar.getInstance().get(Calendar.YEAR)
|
+ Calendar.getInstance().get(Calendar.YEAR)
|
||||||
|
@ -52,36 +52,14 @@
|
|||||||
<Property name="background" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
<Property name="background" type="java.awt.Color" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
||||||
<Connection code="new Color(240,240,240)" type="code"/>
|
<Connection code="new Color(240,240,240)" type="code"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="selectedIndex" type="int" value="1"/>
|
|
||||||
<Property name="opaque" type="boolean" value="true"/>
|
<Property name="opaque" type="boolean" value="true"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
|
||||||
<EventHandler event="stateChanged" listener="javax.swing.event.ChangeListener" parameters="javax.swing.event.ChangeEvent" handler="tabsStateChanged"/>
|
|
||||||
</Events>
|
|
||||||
|
|
||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
|
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
|
||||||
<SubComponents>
|
<SubComponents>
|
||||||
<Container class="javax.swing.JPanel" name="jPanel4">
|
<Container class="javax.swing.JPanel" name="jPanel4">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
</Properties>
|
|
||||||
<Constraints>
|
|
||||||
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
|
|
||||||
<JTabbedPaneConstraints tabName="">
|
|
||||||
<Property name="tabTitle" type="java.lang.String" value=""/>
|
|
||||||
<Property name="tabIcon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
|
||||||
<Image iconType="3" name="/net/apocalypselabs/symat/icon16.png"/>
|
|
||||||
</Property>
|
|
||||||
</JTabbedPaneConstraints>
|
|
||||||
</Constraint>
|
|
||||||
</Constraints>
|
|
||||||
|
|
||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout">
|
|
||||||
<Property name="useNullLayout" type="boolean" value="true"/>
|
|
||||||
</Layout>
|
|
||||||
</Container>
|
|
||||||
<Container class="javax.swing.JPanel" name="jPanel1">
|
|
||||||
<Properties>
|
|
||||||
<Property name="opaque" type="boolean" value="false"/>
|
<Property name="opaque" type="boolean" value="false"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
<Constraints>
|
<Constraints>
|
||||||
@ -95,28 +73,39 @@
|
|||||||
<Layout>
|
<Layout>
|
||||||
<DimensionLayout dim="0">
|
<DimensionLayout dim="0">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" attributes="0">
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Component id="shellBtn" min="-2" max="-2" attributes="0"/>
|
<Component id="shellBtn" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
<Component id="editorBtn" min="-2" max="-2" attributes="0"/>
|
<Component id="editorBtn" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
|
||||||
<Component id="graphBtn" min="-2" max="-2" attributes="0"/>
|
<Component id="graphBtn" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
|
||||||
<Component id="jLabel1" pref="498" max="32767" attributes="0"/>
|
<Component id="helpBtn" min="-2" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
|
<Component id="jLabel1" pref="414" max="32767" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
<DimensionLayout dim="1">
|
<DimensionLayout dim="1">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" attributes="0">
|
||||||
<Group type="103" groupAlignment="1" max="-2" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="jLabel1" alignment="0" max="32767" attributes="0"/>
|
<Component id="shellBtn" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="shellBtn" alignment="0" max="32767" attributes="0"/>
|
<Component id="editorBtn" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="editorBtn" alignment="0" max="32767" attributes="0"/>
|
<Component id="graphBtn" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="graphBtn" alignment="0" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace min="0" pref="0" max="-2" attributes="0"/>
|
<EmptySpace max="32767" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
<Group type="102" attributes="0">
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Component id="jLabel1" max="32767" attributes="0"/>
|
||||||
|
<Group type="102" alignment="1" attributes="0">
|
||||||
|
<Component id="helpBtn" min="-2" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
@ -191,45 +180,6 @@
|
|||||||
<Property name="focusable" type="boolean" value="false"/>
|
<Property name="focusable" type="boolean" value="false"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
</SubComponents>
|
|
||||||
</Container>
|
|
||||||
<Container class="javax.swing.JPanel" name="jPanel2">
|
|
||||||
<Properties>
|
|
||||||
<Property name="opaque" type="boolean" value="false"/>
|
|
||||||
</Properties>
|
|
||||||
<Constraints>
|
|
||||||
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
|
|
||||||
<JTabbedPaneConstraints tabName="Tools">
|
|
||||||
<Property name="tabTitle" type="java.lang.String" value="Tools"/>
|
|
||||||
</JTabbedPaneConstraints>
|
|
||||||
</Constraint>
|
|
||||||
</Constraints>
|
|
||||||
|
|
||||||
<Layout>
|
|
||||||
<DimensionLayout dim="0">
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Component id="helpBtn" min="-2" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Component id="arrangeWindowsBtn" min="-2" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Component id="closeAllBtn" min="-2" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
|
||||||
<Component id="jLabel3" pref="492" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</Group>
|
|
||||||
</DimensionLayout>
|
|
||||||
<DimensionLayout dim="1">
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<Component id="helpBtn" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="jLabel3" min="-2" pref="65" max="-2" attributes="0"/>
|
|
||||||
<Component id="arrangeWindowsBtn" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="closeAllBtn" alignment="0" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</DimensionLayout>
|
|
||||||
</Layout>
|
|
||||||
<SubComponents>
|
|
||||||
<Component class="javax.swing.JButton" name="helpBtn">
|
<Component class="javax.swing.JButton" name="helpBtn">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||||
@ -250,6 +200,50 @@
|
|||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="helpBtnActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="helpBtnActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
|
</SubComponents>
|
||||||
|
</Container>
|
||||||
|
<Container class="javax.swing.JPanel" name="jPanel2">
|
||||||
|
<Properties>
|
||||||
|
<Property name="opaque" type="boolean" value="false"/>
|
||||||
|
</Properties>
|
||||||
|
<Constraints>
|
||||||
|
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
|
||||||
|
<JTabbedPaneConstraints tabName="View">
|
||||||
|
<Property name="tabTitle" type="java.lang.String" value="View"/>
|
||||||
|
</JTabbedPaneConstraints>
|
||||||
|
</Constraint>
|
||||||
|
</Constraints>
|
||||||
|
|
||||||
|
<Layout>
|
||||||
|
<DimensionLayout dim="0">
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Group type="102" alignment="0" attributes="0">
|
||||||
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
|
<Component id="displaySettingsBtn" min="-2" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
|
<Component id="arrangeWindowsBtn" min="-2" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
|
<Component id="closeAllBtn" min="-2" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace min="-2" pref="94" max="-2" attributes="0"/>
|
||||||
|
<Component id="jLabel3" pref="400" max="32767" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
|
</DimensionLayout>
|
||||||
|
<DimensionLayout dim="1">
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Group type="102" attributes="0">
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Component id="jLabel3" min="-2" pref="65" max="-2" attributes="0"/>
|
||||||
|
<Component id="arrangeWindowsBtn" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Component id="closeAllBtn" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Component id="displaySettingsBtn" min="-2" max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
|
</DimensionLayout>
|
||||||
|
</Layout>
|
||||||
|
<SubComponents>
|
||||||
<Component class="javax.swing.JLabel" name="jLabel3">
|
<Component class="javax.swing.JLabel" name="jLabel3">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="horizontalAlignment" type="int" value="11"/>
|
<Property name="horizontalAlignment" type="int" value="11"/>
|
||||||
@ -299,54 +293,12 @@
|
|||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="closeAllBtnActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="closeAllBtnActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
</SubComponents>
|
|
||||||
</Container>
|
|
||||||
<Container class="javax.swing.JPanel" name="jPanel3">
|
|
||||||
<Properties>
|
|
||||||
<Property name="opaque" type="boolean" value="false"/>
|
|
||||||
</Properties>
|
|
||||||
<Constraints>
|
|
||||||
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
|
|
||||||
<JTabbedPaneConstraints tabName="Settings">
|
|
||||||
<Property name="tabTitle" type="java.lang.String" value="Settings"/>
|
|
||||||
</JTabbedPaneConstraints>
|
|
||||||
</Constraint>
|
|
||||||
</Constraints>
|
|
||||||
|
|
||||||
<Layout>
|
|
||||||
<DimensionLayout dim="0">
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<Group type="102" alignment="1" attributes="0">
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Component id="displaySettingsBtn" min="-2" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace pref="54" max="32767" attributes="0"/>
|
|
||||||
<Component id="jLabel4" min="-2" pref="574" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</Group>
|
|
||||||
</DimensionLayout>
|
|
||||||
<DimensionLayout dim="1">
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<Component id="jLabel4" min="-2" pref="65" max="-2" attributes="0"/>
|
|
||||||
<Component id="displaySettingsBtn" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</DimensionLayout>
|
|
||||||
</Layout>
|
|
||||||
<SubComponents>
|
|
||||||
<Component class="javax.swing.JLabel" name="jLabel4">
|
|
||||||
<Properties>
|
|
||||||
<Property name="horizontalAlignment" type="int" value="11"/>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
|
|
||||||
<Connection code="namemark()" type="code"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="focusable" type="boolean" value="false"/>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JButton" name="displaySettingsBtn">
|
<Component class="javax.swing.JButton" name="displaySettingsBtn">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||||
<Image iconType="3" name="/net/apocalypselabs/symat/images/display.png"/>
|
<Image iconType="3" name="/net/apocalypselabs/symat/images/display.png"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="text" type="java.lang.String" value="Display"/>
|
<Property name="text" type="java.lang.String" value="Theme"/>
|
||||||
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
|
||||||
<Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
|
<Border info="org.netbeans.modules.form.compat2.border.EmptyBorderInfo">
|
||||||
<EmptyBorder bottom="5" left="5" right="5" top="5"/>
|
<EmptyBorder bottom="5" left="5" right="5" top="5"/>
|
||||||
|
@ -45,9 +45,9 @@ import javax.swing.JInternalFrame;
|
|||||||
*/
|
*/
|
||||||
public class MainGUI extends javax.swing.JFrame {
|
public class MainGUI extends javax.swing.JFrame {
|
||||||
|
|
||||||
public static final String APP_NAME = "SyMAT 0.8.2";
|
public static final String APP_NAME = "SyMAT 0.9";
|
||||||
public static final double APP_CODE = 9;
|
public static final double APP_CODE = 10;
|
||||||
public static final String VERSION_NAME = "0.8.2";
|
public static final String VERSION_NAME = "0.9";
|
||||||
public static String argfile = "";
|
public static String argfile = "";
|
||||||
public static boolean skipPython = false; // Skip python init on start?
|
public static boolean skipPython = false; // Skip python init on start?
|
||||||
public static boolean skipEditor = false; // Skip editor init on start?
|
public static boolean skipEditor = false; // Skip editor init on start?
|
||||||
@ -110,9 +110,8 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
editorBtn.setMnemonic(KeyEvent.VK_D);
|
editorBtn.setMnemonic(KeyEvent.VK_D);
|
||||||
graphBtn.setMnemonic(KeyEvent.VK_G);
|
graphBtn.setMnemonic(KeyEvent.VK_G);
|
||||||
helpBtn.setMnemonic(KeyEvent.VK_M);
|
helpBtn.setMnemonic(KeyEvent.VK_M);
|
||||||
tabs.setMnemonicAt(1, KeyEvent.VK_A);
|
tabs.setMnemonicAt(0, KeyEvent.VK_A);
|
||||||
tabs.setMnemonicAt(2, KeyEvent.VK_T);
|
tabs.setMnemonicAt(1, KeyEvent.VK_V);
|
||||||
tabs.setMnemonicAt(3, KeyEvent.VK_E);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -156,18 +155,15 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
|
|
||||||
tabs = new javax.swing.JTabbedPane();
|
tabs = new javax.swing.JTabbedPane();
|
||||||
jPanel4 = new javax.swing.JPanel();
|
jPanel4 = new javax.swing.JPanel();
|
||||||
jPanel1 = new javax.swing.JPanel();
|
|
||||||
shellBtn = new javax.swing.JButton();
|
shellBtn = new javax.swing.JButton();
|
||||||
editorBtn = new javax.swing.JButton();
|
editorBtn = new javax.swing.JButton();
|
||||||
graphBtn = new javax.swing.JButton();
|
graphBtn = new javax.swing.JButton();
|
||||||
jLabel1 = new javax.swing.JLabel();
|
jLabel1 = new javax.swing.JLabel();
|
||||||
jPanel2 = new javax.swing.JPanel();
|
|
||||||
helpBtn = new javax.swing.JButton();
|
helpBtn = new javax.swing.JButton();
|
||||||
|
jPanel2 = new javax.swing.JPanel();
|
||||||
jLabel3 = new javax.swing.JLabel();
|
jLabel3 = new javax.swing.JLabel();
|
||||||
arrangeWindowsBtn = new javax.swing.JButton();
|
arrangeWindowsBtn = new javax.swing.JButton();
|
||||||
closeAllBtn = new javax.swing.JButton();
|
closeAllBtn = new javax.swing.JButton();
|
||||||
jPanel3 = new javax.swing.JPanel();
|
|
||||||
jLabel4 = new javax.swing.JLabel();
|
|
||||||
displaySettingsBtn = new javax.swing.JButton();
|
displaySettingsBtn = new javax.swing.JButton();
|
||||||
mainPane = mainPane = new javax.swing.JDesktopPane() {
|
mainPane = mainPane = new javax.swing.JDesktopPane() {
|
||||||
@Override
|
@Override
|
||||||
@ -194,17 +190,9 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
|
|
||||||
tabs.setBackground(new Color(240,240,240));
|
tabs.setBackground(new Color(240,240,240));
|
||||||
tabs.setOpaque(true);
|
tabs.setOpaque(true);
|
||||||
tabs.addChangeListener(new javax.swing.event.ChangeListener() {
|
|
||||||
public void stateChanged(javax.swing.event.ChangeEvent evt) {
|
|
||||||
tabsStateChanged(evt);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
jPanel4.setFocusable(false);
|
jPanel4.setFocusable(false);
|
||||||
jPanel4.setLayout(null);
|
jPanel4.setOpaque(false);
|
||||||
tabs.addTab("", new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/icon16.png")), jPanel4); // NOI18N
|
|
||||||
|
|
||||||
jPanel1.setOpaque(false);
|
|
||||||
|
|
||||||
shellBtn.setIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/images/shell.png"))); // NOI18N
|
shellBtn.setIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/images/shell.png"))); // NOI18N
|
||||||
shellBtn.setText("Shell");
|
shellBtn.setText("Shell");
|
||||||
@ -249,35 +237,6 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
jLabel1.setText(namemark());
|
jLabel1.setText(namemark());
|
||||||
jLabel1.setFocusable(false);
|
jLabel1.setFocusable(false);
|
||||||
|
|
||||||
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
|
|
||||||
jPanel1.setLayout(jPanel1Layout);
|
|
||||||
jPanel1Layout.setHorizontalGroup(
|
|
||||||
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addGroup(jPanel1Layout.createSequentialGroup()
|
|
||||||
.addContainerGap()
|
|
||||||
.addComponent(shellBtn)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addComponent(editorBtn)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addComponent(graphBtn)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 498, Short.MAX_VALUE))
|
|
||||||
);
|
|
||||||
jPanel1Layout.setVerticalGroup(
|
|
||||||
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addGroup(jPanel1Layout.createSequentialGroup()
|
|
||||||
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
|
|
||||||
.addComponent(jLabel1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
||||||
.addComponent(shellBtn, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
||||||
.addComponent(editorBtn, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
||||||
.addComponent(graphBtn, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
|
||||||
.addGap(0, 0, 0))
|
|
||||||
);
|
|
||||||
|
|
||||||
tabs.addTab("Apps", jPanel1);
|
|
||||||
|
|
||||||
jPanel2.setOpaque(false);
|
|
||||||
|
|
||||||
helpBtn.setIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/images/help.png"))); // NOI18N
|
helpBtn.setIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/images/help.png"))); // NOI18N
|
||||||
helpBtn.setText("Manual");
|
helpBtn.setText("Manual");
|
||||||
helpBtn.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
|
helpBtn.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
|
||||||
@ -291,6 +250,43 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
|
||||||
|
jPanel4.setLayout(jPanel4Layout);
|
||||||
|
jPanel4Layout.setHorizontalGroup(
|
||||||
|
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addGroup(jPanel4Layout.createSequentialGroup()
|
||||||
|
.addContainerGap()
|
||||||
|
.addComponent(shellBtn)
|
||||||
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
|
.addComponent(editorBtn)
|
||||||
|
.addGap(12, 12, 12)
|
||||||
|
.addComponent(graphBtn)
|
||||||
|
.addGap(11, 11, 11)
|
||||||
|
.addComponent(helpBtn)
|
||||||
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 414, Short.MAX_VALUE))
|
||||||
|
);
|
||||||
|
jPanel4Layout.setVerticalGroup(
|
||||||
|
jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addGroup(jPanel4Layout.createSequentialGroup()
|
||||||
|
.addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(shellBtn)
|
||||||
|
.addComponent(editorBtn)
|
||||||
|
.addComponent(graphBtn))
|
||||||
|
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
||||||
|
.addGroup(jPanel4Layout.createSequentialGroup()
|
||||||
|
.addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel4Layout.createSequentialGroup()
|
||||||
|
.addComponent(helpBtn)
|
||||||
|
.addGap(0, 0, Short.MAX_VALUE)))
|
||||||
|
.addContainerGap())
|
||||||
|
);
|
||||||
|
|
||||||
|
tabs.addTab("Apps", jPanel4);
|
||||||
|
|
||||||
|
jPanel2.setOpaque(false);
|
||||||
|
|
||||||
jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
|
jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
|
||||||
jLabel3.setText(namemark());
|
jLabel3.setText(namemark());
|
||||||
jLabel3.setFocusable(false);
|
jLabel3.setFocusable(false);
|
||||||
@ -321,38 +317,8 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
|
|
||||||
jPanel2.setLayout(jPanel2Layout);
|
|
||||||
jPanel2Layout.setHorizontalGroup(
|
|
||||||
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addGroup(jPanel2Layout.createSequentialGroup()
|
|
||||||
.addContainerGap()
|
|
||||||
.addComponent(helpBtn)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addComponent(arrangeWindowsBtn)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addComponent(closeAllBtn)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
|
||||||
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 492, Short.MAX_VALUE))
|
|
||||||
);
|
|
||||||
jPanel2Layout.setVerticalGroup(
|
|
||||||
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addComponent(helpBtn)
|
|
||||||
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addComponent(arrangeWindowsBtn)
|
|
||||||
.addComponent(closeAllBtn)
|
|
||||||
);
|
|
||||||
|
|
||||||
tabs.addTab("Tools", jPanel2);
|
|
||||||
|
|
||||||
jPanel3.setOpaque(false);
|
|
||||||
|
|
||||||
jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.TRAILING);
|
|
||||||
jLabel4.setText(namemark());
|
|
||||||
jLabel4.setFocusable(false);
|
|
||||||
|
|
||||||
displaySettingsBtn.setIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/images/display.png"))); // NOI18N
|
displaySettingsBtn.setIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/images/display.png"))); // NOI18N
|
||||||
displaySettingsBtn.setText("Display");
|
displaySettingsBtn.setText("Theme");
|
||||||
displaySettingsBtn.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
|
displaySettingsBtn.setBorder(javax.swing.BorderFactory.createEmptyBorder(5, 5, 5, 5));
|
||||||
displaySettingsBtn.setFocusable(false);
|
displaySettingsBtn.setFocusable(false);
|
||||||
displaySettingsBtn.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
|
displaySettingsBtn.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
|
||||||
@ -364,25 +330,32 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
|
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
|
||||||
jPanel3.setLayout(jPanel3Layout);
|
jPanel2.setLayout(jPanel2Layout);
|
||||||
jPanel3Layout.setHorizontalGroup(
|
jPanel2Layout.setHorizontalGroup(
|
||||||
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
|
.addGroup(jPanel2Layout.createSequentialGroup()
|
||||||
.addContainerGap()
|
.addContainerGap()
|
||||||
.addComponent(displaySettingsBtn)
|
.addComponent(displaySettingsBtn)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 54, Short.MAX_VALUE)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 574, javax.swing.GroupLayout.PREFERRED_SIZE))
|
.addComponent(arrangeWindowsBtn)
|
||||||
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
|
.addComponent(closeAllBtn)
|
||||||
|
.addGap(94, 94, 94)
|
||||||
|
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE))
|
||||||
);
|
);
|
||||||
jPanel3Layout.setVerticalGroup(
|
jPanel2Layout.setVerticalGroup(
|
||||||
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addGroup(jPanel2Layout.createSequentialGroup()
|
||||||
.addComponent(displaySettingsBtn)
|
.addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
|
.addComponent(arrangeWindowsBtn)
|
||||||
|
.addComponent(closeAllBtn)
|
||||||
|
.addComponent(displaySettingsBtn))
|
||||||
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
|
|
||||||
tabs.addTab("Settings", jPanel3);
|
tabs.addTab("View", jPanel2);
|
||||||
|
|
||||||
tabs.setSelectedIndex(1);
|
|
||||||
|
|
||||||
mainPane.setBackground(new java.awt.Color(204, 204, 204));
|
mainPane.setBackground(new java.awt.Color(204, 204, 204));
|
||||||
mainPane.setAutoscrolls(true);
|
mainPane.setAutoscrolls(true);
|
||||||
@ -418,33 +391,13 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
pack();
|
pack();
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
|
||||||
/*
|
|
||||||
This section has all the buttons!
|
|
||||||
*/
|
|
||||||
|
|
||||||
private void shellBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_shellBtnActionPerformed
|
|
||||||
loadFrame(new Interpreter());
|
|
||||||
}//GEN-LAST:event_shellBtnActionPerformed
|
|
||||||
|
|
||||||
private void editorBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editorBtnActionPerformed
|
|
||||||
loadFrame(new CodeEditor());
|
|
||||||
}//GEN-LAST:event_editorBtnActionPerformed
|
|
||||||
|
|
||||||
private void graphBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_graphBtnActionPerformed
|
|
||||||
loadFrame(new Graph());
|
|
||||||
}//GEN-LAST:event_graphBtnActionPerformed
|
|
||||||
|
|
||||||
private void formComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentShown
|
private void formComponentShown(java.awt.event.ComponentEvent evt) {//GEN-FIRST:event_formComponentShown
|
||||||
setLocationRelativeTo(null);
|
setLocationRelativeTo(null);
|
||||||
}//GEN-LAST:event_formComponentShown
|
}//GEN-LAST:event_formComponentShown
|
||||||
|
|
||||||
private void helpBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_helpBtnActionPerformed
|
/*
|
||||||
loadFrame(new Help());
|
This section has all the buttons!
|
||||||
}//GEN-LAST:event_helpBtnActionPerformed
|
*/
|
||||||
|
|
||||||
private void arrangeWindowsBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_arrangeWindowsBtnActionPerformed
|
|
||||||
cascade();
|
|
||||||
}//GEN-LAST:event_arrangeWindowsBtnActionPerformed
|
|
||||||
|
|
||||||
private void displaySettingsBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_displaySettingsBtnActionPerformed
|
private void displaySettingsBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_displaySettingsBtnActionPerformed
|
||||||
loadFrame(new Display());
|
loadFrame(new Display());
|
||||||
@ -460,16 +413,25 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
}
|
}
|
||||||
}//GEN-LAST:event_closeAllBtnActionPerformed
|
}//GEN-LAST:event_closeAllBtnActionPerformed
|
||||||
|
|
||||||
private void tabsStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_tabsStateChanged
|
private void arrangeWindowsBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_arrangeWindowsBtnActionPerformed
|
||||||
if (tabs.getSelectedIndex() == 0) {
|
cascade();
|
||||||
try {
|
}//GEN-LAST:event_arrangeWindowsBtnActionPerformed
|
||||||
tabs.setSelectedIndex(1);
|
|
||||||
} catch (Exception ex) {
|
|
||||||
|
|
||||||
}
|
private void helpBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_helpBtnActionPerformed
|
||||||
loadFrame(new Help(true));
|
loadFrame(new Help());
|
||||||
}
|
}//GEN-LAST:event_helpBtnActionPerformed
|
||||||
}//GEN-LAST:event_tabsStateChanged
|
|
||||||
|
private void graphBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_graphBtnActionPerformed
|
||||||
|
loadFrame(new Graph());
|
||||||
|
}//GEN-LAST:event_graphBtnActionPerformed
|
||||||
|
|
||||||
|
private void editorBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_editorBtnActionPerformed
|
||||||
|
loadFrame(new CodeEditor());
|
||||||
|
}//GEN-LAST:event_editorBtnActionPerformed
|
||||||
|
|
||||||
|
private void shellBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_shellBtnActionPerformed
|
||||||
|
loadFrame(new Interpreter());
|
||||||
|
}//GEN-LAST:event_shellBtnActionPerformed
|
||||||
|
|
||||||
/*
|
/*
|
||||||
End the button handlers.
|
End the button handlers.
|
||||||
@ -601,10 +563,7 @@ public class MainGUI extends javax.swing.JFrame {
|
|||||||
public static javax.swing.JButton helpBtn;
|
public static javax.swing.JButton helpBtn;
|
||||||
public static javax.swing.JLabel jLabel1;
|
public static javax.swing.JLabel jLabel1;
|
||||||
public static javax.swing.JLabel jLabel3;
|
public static javax.swing.JLabel jLabel3;
|
||||||
public static javax.swing.JLabel jLabel4;
|
|
||||||
public static javax.swing.JPanel jPanel1;
|
|
||||||
public static javax.swing.JPanel jPanel2;
|
public static javax.swing.JPanel jPanel2;
|
||||||
public static javax.swing.JPanel jPanel3;
|
|
||||||
public static javax.swing.JPanel jPanel4;
|
public static javax.swing.JPanel jPanel4;
|
||||||
public static javax.swing.JDesktopPane mainPane;
|
public static javax.swing.JDesktopPane mainPane;
|
||||||
public static javax.swing.JButton shellBtn;
|
public static javax.swing.JButton shellBtn;
|
||||||
|
@ -7,11 +7,12 @@
|
|||||||
<Connection code="MainGUI.APP_NAME" type="code"/>
|
<Connection code="MainGUI.APP_NAME" type="code"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[320, 260]"/>
|
<Dimension value="[204, 260]"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[320, 260]"/>
|
<Dimension value="[204, 260]"/>
|
||||||
</Property>
|
</Property>
|
||||||
|
<Property name="undecorated" type="boolean" value="true"/>
|
||||||
<Property name="resizable" type="boolean" value="false"/>
|
<Property name="resizable" type="boolean" value="false"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
<SyntheticProperties>
|
<SyntheticProperties>
|
||||||
@ -70,7 +71,7 @@
|
|||||||
<Component class="javax.swing.JLabel" name="jLabel5">
|
<Component class="javax.swing.JLabel" name="jLabel5">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
|
||||||
<Image iconType="3" name="/net/apocalypselabs/symat/splash0.8.png"/>
|
<Image iconType="3" name="/net/apocalypselabs/symat/anim-splash.gif"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
|
@ -59,8 +59,9 @@ public class SplashScreen extends javax.swing.JFrame {
|
|||||||
|
|
||||||
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
|
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
|
||||||
setTitle(MainGUI.APP_NAME);
|
setTitle(MainGUI.APP_NAME);
|
||||||
setMaximumSize(new java.awt.Dimension(320, 260));
|
setMaximumSize(new java.awt.Dimension(204, 260));
|
||||||
setMinimumSize(new java.awt.Dimension(320, 260));
|
setMinimumSize(new java.awt.Dimension(204, 260));
|
||||||
|
setUndecorated(true);
|
||||||
setResizable(false);
|
setResizable(false);
|
||||||
addComponentListener(new java.awt.event.ComponentAdapter() {
|
addComponentListener(new java.awt.event.ComponentAdapter() {
|
||||||
public void componentShown(java.awt.event.ComponentEvent evt) {
|
public void componentShown(java.awt.event.ComponentEvent evt) {
|
||||||
@ -75,7 +76,7 @@ public class SplashScreen extends javax.swing.JFrame {
|
|||||||
progBar.setString("");
|
progBar.setString("");
|
||||||
progBar.setStringPainted(true);
|
progBar.setStringPainted(true);
|
||||||
|
|
||||||
jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/splash0.8.png"))); // NOI18N
|
jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/net/apocalypselabs/symat/anim-splash.gif"))); // NOI18N
|
||||||
|
|
||||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
|
||||||
getContentPane().setLayout(layout);
|
getContentPane().setLayout(layout);
|
||||||
|
@ -33,15 +33,16 @@
|
|||||||
<Component id="jLabel1" alignment="0" max="32767" attributes="0"/>
|
<Component id="jLabel1" alignment="0" max="32767" attributes="0"/>
|
||||||
<Component id="jLabel2" alignment="1" max="32767" attributes="0"/>
|
<Component id="jLabel2" alignment="1" max="32767" attributes="0"/>
|
||||||
<Group type="102" alignment="1" attributes="0">
|
<Group type="102" alignment="1" attributes="0">
|
||||||
<Component id="jLabel4" min="-2" pref="180" max="-2" attributes="0"/>
|
<Component id="jLabel4" max="32767" attributes="0"/>
|
||||||
<EmptySpace pref="50" max="32767" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Component id="jLabel3" min="-2" pref="180" max="-2" attributes="0"/>
|
<Component id="jLabel3" min="-2" pref="229" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<Group type="102" alignment="1" attributes="0">
|
<Group type="102" alignment="1" attributes="0">
|
||||||
<EmptySpace min="-2" pref="99" max="-2" attributes="0"/>
|
<EmptySpace pref="120" max="32767" attributes="0"/>
|
||||||
<Component id="jButton1" min="-2" pref="212" max="-2" attributes="0"/>
|
<Component id="jButton1" min="-2" pref="212" max="-2" attributes="0"/>
|
||||||
<EmptySpace min="-2" pref="65" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="81" max="-2" attributes="0"/>
|
||||||
<Component id="jLabel5" min="-2" max="-2" attributes="0"/>
|
<Component id="jLabel5" min="-2" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
@ -58,15 +59,13 @@
|
|||||||
</Group>
|
</Group>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Component id="jButton1" pref="70" max="32767" attributes="0"/>
|
||||||
<Group type="102" attributes="0">
|
<Group type="102" attributes="0">
|
||||||
<Component id="jButton1" pref="66" max="32767" attributes="0"/>
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<Group type="102" alignment="1" attributes="0">
|
|
||||||
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
||||||
<Component id="jLabel5" min="-2" max="-2" attributes="0"/>
|
<Component id="jLabel5" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
|
@ -111,14 +111,15 @@ public class Update extends javax.swing.JInternalFrame {
|
|||||||
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
.addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addComponent(jLabel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
||||||
.addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 50, Short.MAX_VALUE)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE))
|
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 229, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
||||||
.addGap(99, 99, 99)
|
.addContainerGap(120, Short.MAX_VALUE)
|
||||||
.addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 212, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 212, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addGap(65, 65, 65)
|
.addGap(81, 81, 81)
|
||||||
.addComponent(jLabel5))
|
.addComponent(jLabel5)
|
||||||
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
layout.setVerticalGroup(
|
layout.setVerticalGroup(
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
@ -132,12 +133,11 @@ public class Update extends javax.swing.JInternalFrame {
|
|||||||
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, 70, Short.MAX_VALUE)
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, 66, Short.MAX_VALUE)
|
|
||||||
.addContainerGap())
|
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
|
||||||
.addGap(0, 0, Short.MAX_VALUE)
|
.addGap(0, 0, Short.MAX_VALUE)
|
||||||
.addComponent(jLabel5))))
|
.addComponent(jLabel5)))
|
||||||
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
|
|
||||||
pack();
|
pack();
|
||||||
|
BIN
src/net/apocalypselabs/symat/anim-splash.gif
Normal file
After Width: | Height: | Size: 858 KiB |
Before Width: | Height: | Size: 920 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 972 B After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 26 KiB |