Skip to content
This repository has been archived by the owner on Mar 29, 2019. It is now read-only.

Commit

Permalink
no @OverRide annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
toedter_k committed Sep 7, 2011
1 parent 5ae3d1d commit 0abfa2c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions JCalendar/src/com/toedter/calendar/JMonthChooser.java
Expand Up @@ -108,7 +108,6 @@ public JMonthChooser(boolean hasSpinner) {

private final JTextField textField = new JTextField();

@Override
public Dimension getPreferredSize() {
Dimension size = super.getPreferredSize();
return new Dimension(size.width,
Expand Down Expand Up @@ -156,7 +155,6 @@ public void initNames() {
* @param e
* the change event.
*/
@Override
public void stateChanged(ChangeEvent e) {
SpinnerNumberModel model = (SpinnerNumberModel) ((JSpinner) e
.getSource()).getModel();
Expand Down Expand Up @@ -201,7 +199,6 @@ public void stateChanged(ChangeEvent e) {
* @param e
* the item event
*/
@Override
public void itemStateChanged(ItemEvent e) {
if (e.getStateChange() == ItemEvent.SELECTED) {
int index = comboBox.getSelectedIndex();
Expand Down Expand Up @@ -297,7 +294,6 @@ public void setYearChooser(JYearChooser yearChooser) {
*
* @see #setLocale
*/
@Override
public Locale getLocale() {
return locale;
}
Expand All @@ -310,7 +306,6 @@ public Locale getLocale() {
*
* @see #getLocale
*/
@Override
public void setLocale(Locale l) {
if (!initialized) {
super.setLocale(l);
Expand All @@ -326,7 +321,6 @@ public void setLocale(Locale l) {
* @param enabled
* the new enabled value
*/
@Override
public void setEnabled(boolean enabled) {
super.setEnabled(enabled);
comboBox.setEnabled(enabled);
Expand Down Expand Up @@ -373,7 +367,6 @@ public boolean hasSpinner() {
* @param font
* the desired <code>Font</code> for this component
*/
@Override
public void setFont(Font font) {
if (comboBox != null) {
comboBox.setFont(font);
Expand All @@ -386,7 +379,6 @@ public void setFont(Font font) {
*
* @see javax.swing.JPanel#updateUI()
*/
@Override
public void updateUI() {
final JSpinner testSpinner = new JSpinner();
if (spinner != null) {
Expand All @@ -398,7 +390,6 @@ public void updateUI() {
}
}

@Override
public void paintComponent(Graphics g) {
if ("Nimbus".equals(UIManager.getLookAndFeel().getID())) {
getParent().repaint(); // fixes repaint bug in Nimbus L&F
Expand Down

0 comments on commit 0abfa2c

Please sign in to comment.