Skip to content

Commit 9cb6798

Browse files
committed
Update license and readme
1 parent cf0f0b2 commit 9cb6798

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2020 Dansoftware
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# JavaFXTaskbarProgressBar
1+
# ![JavaFXTaskbarProgressbar](images/logo.png)
22
## This library allows you to add native taskbar-progressbar functionality to your JavaFX stages.
33
The library uses another library called [bridj](https://github.com/nativelibs4java/BridJ) that
44
can give access to native operations in java. With the Bridj library you can easily add taskbar progressbars
@@ -77,7 +77,7 @@ To stop the progress:
7777
```java
7878
TaskbarProgressbar.stopProgress(primaryStage);
7979
```
80-
#### Through instantiation
80+
#### Through instantiation *(the preferred way)*
8181
Firstly (after you imported the necessary class) create a `TaskbarProgressbar` instance:
8282
```java
8383
TaskbarProgressbar progressbar = TaskbarProgressbar.createInstance(primaryStage);
@@ -104,8 +104,6 @@ To stop the progress:
104104
```java
105105
progressbar.stopProgress();
106106
```
107-
#### Full example
108-
109107

110108
## More screenshots
111109
Some more screenshots about what can you do with this library
@@ -115,3 +113,7 @@ Code: `progressbar.showCustomProgress(70, 100, TaskbarProgressbar.Type.PAUSED);`
115113
* An error progress example:<br>
116114
Code: `progressbar.showCustomProgress(40, 100, TaskbarProgressbar.Type.ERROR);`<br>
117115
![Paused progress](images/error-progress.jpg)
116+
117+
## Support
118+
If you like this library please give me a star! It's very important for me
119+
because it keeps me motivated to work on this library. Thank you!

images/Logo.png

23.4 KB
Loading

src/test/java/Demo.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,5 @@ public void start(Stage primaryStage) {
7171

7272
stage.setScene(new Scene(vBox));
7373
stage.show();
74-
75-
if (TaskbarProgressbar.isSupported())
7674
}
7775
}

0 commit comments

Comments
 (0)