Commit 864ebdbf authored by Xiaoying Pu's avatar Xiaoying Pu

changed font size

parent e36f83d9
......@@ -21,8 +21,12 @@
<group>
<file>file:/Users/pxy/dm_task/src/util/ActionType.java</file>
<file>file:/Users/pxy/dm_task/src/tracker/Decision.java</file>
</group>
</open-files>
</project-private>
......@@ -23,14 +23,16 @@
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="43" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="lblDigit" min="-2" max="-2" attributes="0"/>
<Component id="lblDigit" min="-2" pref="145" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Component id="lblMouseTrackerPrompt" min="-2" pref="437" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="39" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="43" max="-2" attributes="0"/>
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="lblRecallPrompt" min="-2" max="-2" attributes="0"/>
<Group type="102" attributes="0">
......@@ -39,24 +41,21 @@
<Component id="lblPressEnter" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
</Group>
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="150" max="-2" attributes="0"/>
<Component id="lblMouseTrackerPrompt" min="-2" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
</Group>
</Group>
<EmptySpace pref="80" 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="lblDigit" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="102" max="32767" attributes="0"/>
<Component id="lblMouseTrackerPrompt" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="65" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="lblDigit" alignment="1" min="-2" pref="170" max="-2" attributes="0"/>
<Component id="lblMouseTrackerPrompt" alignment="1" min="-2" pref="138" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="20" max="-2" attributes="0"/>
<Component id="lblRecallPrompt" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
......@@ -71,6 +70,9 @@
<SubComponents>
<Component class="javax.swing.JLabel" name="lblDigit">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Lucida Grande" size="64" style="0"/>
</Property>
<Property name="text" type="java.lang.String" value="42"/>
</Properties>
</Component>
......@@ -81,16 +83,25 @@
</Component>
<Component class="javax.swing.JLabel" name="lblPressEnter">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Lucida Grande" size="24" style="0"/>
</Property>
<Property name="text" type="java.lang.String" value="Press Enter"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblRecallPrompt">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Lucida Grande" size="48" style="0"/>
</Property>
<Property name="text" type="java.lang.String" value="What you recall:"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="lblMouseTrackerPrompt">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Lucida Grande" size="32" style="0"/>
</Property>
<Property name="text" type="java.lang.String" value="Please see the other screen"/>
</Properties>
</Component>
......
......@@ -38,6 +38,7 @@ public class DMView extends javax.swing.JFrame {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
lblDigit.setFont(new java.awt.Font("Lucida Grande", 0, 64)); // NOI18N
lblDigit.setText("42");
textFieldInput.addActionListener(new java.awt.event.ActionListener() {
......@@ -46,10 +47,13 @@ public class DMView extends javax.swing.JFrame {
}
});
lblPressEnter.setFont(new java.awt.Font("Lucida Grande", 0, 24)); // NOI18N
lblPressEnter.setText("Press Enter");
lblRecallPrompt.setFont(new java.awt.Font("Lucida Grande", 0, 48)); // NOI18N
lblRecallPrompt.setText("What you recall:");
lblMouseTrackerPrompt.setFont(new java.awt.Font("Lucida Grande", 0, 32)); // NOI18N
lblMouseTrackerPrompt.setText("Please see the other screen");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
......@@ -57,31 +61,30 @@ public class DMView extends javax.swing.JFrame {
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(43, 43, 43)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(lblDigit))
.addComponent(lblDigit, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(lblMouseTrackerPrompt, javax.swing.GroupLayout.PREFERRED_SIZE, 437, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(39, 39, 39))
.addGroup(layout.createSequentialGroup()
.addGap(43, 43, 43)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(lblRecallPrompt)
.addGroup(layout.createSequentialGroup()
.addComponent(textFieldInput, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(44, 44, 44)
.addComponent(lblPressEnter))))
.addGroup(layout.createSequentialGroup()
.addGap(150, 150, 150)
.addComponent(lblMouseTrackerPrompt)))
.addContainerGap(80, Short.MAX_VALUE))
.addComponent(lblPressEnter)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(lblDigit)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 102, Short.MAX_VALUE)
.addComponent(lblMouseTrackerPrompt)
.addGap(65, 65, 65)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(lblDigit, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 170, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(lblMouseTrackerPrompt, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 138, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(20, 20, 20)
.addComponent(lblRecallPrompt)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment