@@ -10,15 +10,15 @@ This project provides a datetime picker component that can be easily integrated
10
10
<img src =" https://github.com/DJ-Raven/swing-datetime-picker/blob/main/screenshot/datepicker-light.png " alt =" datepicker light " width =" 300 " />
11
11
## Installation
12
12
This project library do not available in maven central. so you can install with the jar library
13
- - Copy jar library file to the root project. exp : ` library/swing-datetime-picker-1.1.1 .jar `
13
+ - Copy jar library file to the root project. exp : ` library/swing-datetime-picker-1.2.0 .jar `
14
14
- Add this code to ` pom.xml `
15
15
``` xml
16
16
<dependency >
17
17
<groupId >raven.datetime</groupId >
18
18
<artifactId >swing-datetime-picker</artifactId >
19
- <version >1.1.1 </version >
19
+ <version >1.2.0 </version >
20
20
<scope >system</scope >
21
- <systemPath >${basedir}/library/swing-datetime-picker-1.1.1 .jar</systemPath >
21
+ <systemPath >${basedir}/library/swing-datetime-picker-1.2.0 .jar</systemPath >
22
22
</dependency >
23
23
```
24
24
- Other library are use with this library
@@ -59,6 +59,8 @@ This project library do not available in maven central. so you can install with
59
59
| is24HourView() | ` boolean ` | return ` ture ` is 24h selection view |
60
60
| showPopup() | ` void ` | if time have editor, timepicker will show up with popup menu |
61
61
| closePopup() | ` void ` | close editor popup |
62
+ | setColor(Color color) | ` void ` | change base color |
63
+ | setEditorIcon(Icon icon) | ` void ` | change icon to editor |
62
64
63
65
64
66
## Usage DatePicker
@@ -89,6 +91,9 @@ This project library do not available in maven central. so you can install with
89
91
| addDateSelectionListener(DateSelectionListener event) | ` void ` | add event date selection |
90
92
| removeDateSelectionListener(DateSelectionListener event) | ` void ` | remove event date selection |
91
93
| removeAllDateSelectionListener() | ` void ` | remove all event date selection |
94
+ | selectCurrentMonth() | ` void ` | select from first day to current day in current month |
95
+ | setEditorIcon(Icon icon) | ` void ` | change icon to editor |
96
+
92
97
93
98
## Library Resources
94
99
- [ FlatLaf] ( https://github.com/JFormDesigner/FlatLaf ) - FlatLaf library for the modern UI design theme
0 commit comments