Skip to content

Commit 2b3360f

Browse files
authored
Update README.md
1 parent 5656ef0 commit 2b3360f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ This project provides a datetime picker component that can be easily integrated
1010
<img src="https://github.com/DJ-Raven/swing-datetime-picker/blob/main/screenshot/datepicker-light.png" alt="datepicker light" width="300"/>
1111
## Installation
1212
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`
1414
- Add this code to `pom.xml`
1515
``` xml
1616
<dependency>
1717
<groupId>raven.datetime</groupId>
1818
<artifactId>swing-datetime-picker</artifactId>
19-
<version>1.1.1</version>
19+
<version>1.2.0</version>
2020
<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>
2222
</dependency>
2323
```
2424
- 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
5959
| is24HourView() | `boolean` | return `ture` is 24h selection view |
6060
| showPopup() | `void` | if time have editor, timepicker will show up with popup menu |
6161
| closePopup() | `void` | close editor popup |
62+
| setColor(Color color) | `void` | change base color |
63+
| setEditorIcon(Icon icon) | `void` | change icon to editor |
6264

6365

6466
## Usage DatePicker
@@ -89,6 +91,9 @@ This project library do not available in maven central. so you can install with
8991
| addDateSelectionListener(DateSelectionListener event) | `void` | add event date selection |
9092
| removeDateSelectionListener(DateSelectionListener event) | `void` | remove event date selection |
9193
| 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+
9297

9398
## Library Resources
9499
- [FlatLaf](https://github.com/JFormDesigner/FlatLaf) - FlatLaf library for the modern UI design theme

0 commit comments

Comments
 (0)