Skip to content

Commit

Permalink
Increased size
Browse files Browse the repository at this point in the history
  • Loading branch information
javadev committed May 3, 2024
1 parent d5a0c06 commit fd06ca0
Show file tree
Hide file tree
Showing 4 changed files with 542 additions and 304 deletions.
9 changes: 9 additions & 0 deletions src/main/java/com/github/calc/About.form
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,18 @@
<SubComponents>
<Component class="javax.swing.JLabel" name="jLabel1">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Tahoma" size="16" style="0"/>
</Property>
<Property name="horizontalAlignment" type="int" value="0"/>
<Property name="text" type="java.lang.String" value="The java/swing sample calculator"/>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="jButton1">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Tahoma" size="16" style="0"/>
</Property>
<Property name="text" type="java.lang.String" value="OK"/>
</Properties>
<Events>
Expand All @@ -66,6 +72,9 @@
</Component>
<Component class="javax.swing.JLabel" name="jLabel2">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Tahoma" size="16" style="0"/>
</Property>
<Property name="horizontalAlignment" type="int" value="0"/>
<Property name="text" type="java.lang.String" value="&lt;html&gt;&lt;font color=&quot;#0000CF&quot;&gt;&lt;u&gt;https://github.com/javadev/calculator&lt;/u&gt;&lt;/font&gt;&lt;/html&gt;"/>
<Property name="cursor" type="java.awt.Cursor" editor="org.netbeans.modules.form.editors2.CursorEditor">
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/github/calc/About.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,19 @@ private void initComponents() {
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setTitle("Calculator");

jLabel1.setFont(new java.awt.Font("Tahoma", 0, 16)); // NOI18N
jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel1.setText("The java/swing sample calculator");

jButton1.setFont(new java.awt.Font("Tahoma", 0, 16)); // NOI18N
jButton1.setText("OK");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});

jLabel2.setFont(new java.awt.Font("Tahoma", 0, 16)); // NOI18N
jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel2.setText("<html><font color=\"#0000CF\"><u>https://github.com/javadev/calculator</u></font></html>");
jLabel2.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
Expand Down
Loading

0 comments on commit fd06ca0

Please sign in to comment.