Skip to content

Commit

Permalink
Issue 4 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorcostache committed Apr 19, 2013
1 parent 4b395c6 commit 1624be3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions JavaCalendar/src/main/java/de/costache/calendar/JCalendar.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,6 @@ public void actionPerformed(final ActionEvent e) {
final DisplayStrategy strategy = contentPane.getStrategy();
strategy.moveIntervalLeft();
headerPane.getIntervalLabel().setText(contentPane.getStrategy().getDisplayInterval());
final IntervalChangedEvent event = new IntervalChangedEvent(JCalendar.this, strategy.getType(), strategy
.getIntervalStart(), strategy.getIntervalEnd());

for (final IntervalChangedListener listener : intervalChangedListener) {
listener.intervalChanged(event);
}

}
});
Expand All @@ -137,12 +131,6 @@ public void actionPerformed(final ActionEvent e) {
final DisplayStrategy strategy = contentPane.getStrategy();
strategy.moveIntervalRight();
headerPane.getIntervalLabel().setText(contentPane.getStrategy().getDisplayInterval());
final IntervalChangedEvent event = new IntervalChangedEvent(JCalendar.this, strategy.getType(), strategy
.getIntervalStart(), strategy.getIntervalEnd());

for (final IntervalChangedListener listener : intervalChangedListener) {
listener.intervalChanged(event);
}
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ public void popupMenuCanceled(PopupMenuEvent arg0) {

public static void main(final String[] args) throws MalformedObjectNameException, NullPointerException,
InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException {
Locale.setDefault(Locale.CHINESE);
Locale.setDefault(Locale.ENGLISH);
final JCalendarFrameDemo frameTest = new JCalendarFrameDemo();
frameTest.setVisible(true);
}
Expand Down

0 comments on commit 1624be3

Please sign in to comment.