Skip to content

Commit

Permalink
empty
Browse files Browse the repository at this point in the history
  • Loading branch information
rjolly committed Jun 14, 2018
1 parent 74443ec commit 915a0a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion calendar/src/linoleum/calendar/Calendar.form
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
<Component class="com.toedter.calendar.JCalendar" name="jCalendar1">
<Properties>
<Property name="decorationBordersVisible" type="boolean" value="true"/>
<Property name="todayButtonVisible" type="boolean" value="true"/>
</Properties>
</Component>
</SubComponents>
Expand Down
8 changes: 6 additions & 2 deletions calendar/src/linoleum/calendar/Calendar.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package linoleum.calendar;

import java.util.Date;
import javax.swing.ImageIcon;
import linoleum.application.Frame;

Expand All @@ -11,6 +12,11 @@ public Calendar() {
setIcon(new ImageIcon(getClass().getResource("JCalendarColor24.png")));
}

@Override
public void open() {
jCalendar1.setDate(new Date());
}

@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
Expand All @@ -23,7 +29,6 @@ private void initComponents() {
setFrameIcon(new javax.swing.ImageIcon(getClass().getResource("/com/toedter/calendar/images/JCalendarColor16.gif"))); // NOI18N

jCalendar1.setDecorationBordersVisible(true);
jCalendar1.setTodayButtonVisible(true);

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
Expand All @@ -39,7 +44,6 @@ private void initComponents() {
pack();
}// </editor-fold>//GEN-END:initComponents


// Variables declaration - do not modify//GEN-BEGIN:variables
private com.toedter.calendar.JCalendar jCalendar1;
// End of variables declaration//GEN-END:variables
Expand Down

0 comments on commit 915a0a8

Please sign in to comment.