diff options
author | Simon Rettberg | 2016-01-29 11:03:52 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-01-29 11:03:52 +0100 |
commit | 7d81da615f089f06ba81c2cc2b67bc3ff4def957 (patch) | |
tree | 2d8cad390cbe7937b51a6f1b4693f8a5e6ed0d25 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java | |
parent | [client] Minor tweaks to image details window (diff) | |
download | tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.tar.gz tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.tar.xz tutor-module-7d81da615f089f06ba81c2cc2b67bc3ff4def957.zip |
[client] Sanitize coding style/conventions in GUI classes
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java index e87400f8..8d751a31 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java @@ -65,15 +65,15 @@ public abstract class LectureDetailsWindowLayout extends JDialog { protected final JButton btnPermissions; protected final JButton btnLocations; - protected QLabel lblError; + protected final QLabel lblError; protected final JButton btnSaveChanges; protected final JButton btnClose; protected final JButton btnDownloadImage; - protected JDatePickerImpl startDate; - protected JDatePickerImpl endDate; - protected JSpinner startTime; - protected JSpinner endTime; + protected final JDatePickerImpl dtpStartDate; + protected final JDatePickerImpl dtpEndDate; + protected final JSpinner spnStartTime; + protected final JSpinner spnEndTime; protected Color dateTimeTextColor; @@ -180,11 +180,11 @@ public abstract class LectureDetailsWindowLayout extends JDialog { // start time of the lecture JPanel startTimePanel = new JPanel(); startTimePanel.setLayout(new BoxLayout(startTimePanel, BoxLayout.LINE_AXIS)); - startDate = new QDatePickerImpl(new JDatePanelImpl(new UtilDateModel(new Date()), pickerStrings), + dtpStartDate = new QDatePickerImpl(new JDatePanelImpl(new UtilDateModel(new Date()), pickerStrings), new DateLabelFormatter()); - startTime = makeTimeSpinner(23, 59); - startTimePanel.add(startDate); - startTimePanel.add(startTime); + spnStartTime = makeTimeSpinner(23, 59); + startTimePanel.add(dtpStartDate); + startTimePanel.add(spnStartTime); startTimePanel.setMinimumSize(startTimePanel.getPreferredSize()); startTimePanel.setMaximumSize(startTimePanel.getPreferredSize()); lblStartTime = new QLabel(); @@ -195,11 +195,11 @@ public abstract class LectureDetailsWindowLayout extends JDialog { // end time of the lecture JPanel endTimePanel = new JPanel(); endTimePanel.setLayout(new BoxLayout(endTimePanel, BoxLayout.LINE_AXIS)); - endDate = new QDatePickerImpl(new JDatePanelImpl(new UtilDateModel(new Date()), pickerStrings), + dtpEndDate = new QDatePickerImpl(new JDatePanelImpl(new UtilDateModel(new Date()), pickerStrings), new DateLabelFormatter()); - endTime = makeTimeSpinner(00, 59); - endTimePanel.add(endDate); - endTimePanel.add(endTime); + spnEndTime = makeTimeSpinner(00, 59); + endTimePanel.add(dtpEndDate); + endTimePanel.add(spnEndTime); endTimePanel.setMinimumSize(endTimePanel.getPreferredSize()); endTimePanel.setMaximumSize(endTimePanel.getPreferredSize()); |