File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
src/main/java/raven/modal/demo/forms Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 2929- Update form layout
3030- Quick search update layout and add new favorite option (PR #17 )
3131- Add new frame footer and create new ` MemoryBar `
32+ - Update form DateTimePicker
3233
3334## [ 2.0.0] - 2024-10-20
3435
Original file line number Diff line number Diff line change 1717 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1818 </properties >
1919
20+ <repositories >
21+ <repository >
22+ <id >sonatype-oss-snapshots</id >
23+ <url >https://s01.oss.sonatype.org/content/repositories/snapshots/</url >
24+ <snapshots >
25+ <enabled >true</enabled >
26+ </snapshots >
27+ </repository >
28+ </repositories >
29+
2030 <dependencies >
2131 <dependency >
2232 <groupId >${parent.groupId} </groupId >
2737 <dependency >
2838 <groupId >io.github.dj-raven</groupId >
2939 <artifactId >swing-datetime-picker</artifactId >
30- <version >1.4.0 </version >
40+ <version >1.4.1-SNAPSHOT </version >
3141 </dependency >
3242
3343 <dependency >
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ private Component createDateOption() {
6161 JCheckBox chCloseAfterSelected = new JCheckBox ("Close after selected" );
6262 JCheckBox chEditorValidation = new JCheckBox ("Editor validation" , true );
6363 JCheckBox chValidationOnNull = new JCheckBox ("Validation on null" );
64+ JCheckBox chAnimationEnabled = new JCheckBox ("Animation Enabled" , true );
6465
6566 chDateBetween .addActionListener (e -> {
6667 datePicker .setDateSelectionMode (chDateBetween .isSelected () ? DatePicker .DateSelectionMode .BETWEEN_DATE_SELECTED
@@ -73,12 +74,14 @@ private Component createDateOption() {
7374 chValidationOnNull .setEnabled (chEditorValidation .isSelected ());
7475 });
7576 chValidationOnNull .addActionListener (e -> datePicker .setValidationOnNull (chValidationOnNull .isSelected ()));
77+ chAnimationEnabled .addActionListener (e -> datePicker .setAnimationEnabled (chAnimationEnabled .isSelected ()));
7678
7779 panel .add (chDateBetween );
7880 panel .add (chUsePanelOption );
7981 panel .add (chCloseAfterSelected );
8082 panel .add (chEditorValidation );
8183 panel .add (chValidationOnNull );
84+ panel .add (chAnimationEnabled );
8285
8386 return panel ;
8487 }
You can’t perform that action at this time.
0 commit comments