It display the "Tip Of The Day" dialog on Java Swing application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Hiroshi Miura e1012ffae9
Merge pull request 'drop feat: save/load Preference' (#1) from topic/remove-java-preference-save into main
1 week ago
.idea Add intellij project file 1 week ago
config Adjust spotbugs warnings 1 week ago
demo/src/main drop feat: save/load Preference 1 week ago
docs docs: add how to use section 1 week ago
gradle/wrapper First import of the project 1 week ago
issue_template Initial commit 1 week ago
src drop feat: save/load Preference 1 week ago
.gitignore Initial commit 1 week ago
LICENSE Update copyright headers 1 week ago
README.md docs: improve markdown format 1 week ago
azure-pipelines.yml Initial commit 1 week ago
build.gradle.kts fix: publish configuration 1 week ago
gradlew First import of the project 1 week ago
gradlew.bat First import of the project 1 week ago
settings.gradle.kts Add demo sub-project 1 week ago

README.md

"Tip of the Day" extension for Java/Swing GUI framework

Provides the "Tip of The Day" pane and dialog.

Description

Tips are retrieved from the TipOfTheDayModel class. In the most common usage, a tip (as returned by TipOfTheDayModel.Tip#getTip()) is just a String. However, the return type of this method is actually Object. Its interpretation depends on its type:

  • Component
    • The Component is displayed in the dialog.
  • Icon
    • The Icon is wrapped in a JLabel and displayed in the dialog.
  • Others
    • The object is converted to a String by calling its toString method.
    • The result is wrapped in a JEditorPane or JTextArea and displayed.

Origin

Fork of SwingX project.

License

LGPL-2.1-or-later

  • Copyright (c) 2005-2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.
  • Copyright (c) 2023 Hiroshi Miura