generated from miurahr/gradle-project-skeleton
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.
|
1 week ago | |
---|---|---|
.idea | 1 week ago | |
config | 1 week ago | |
demo/src/main | 1 week ago | |
docs | 1 week ago | |
gradle/wrapper | 1 week ago | |
issue_template | 1 week ago | |
src | 1 week ago | |
.gitignore | 1 week ago | |
LICENSE | 1 week ago | |
README.md | 1 week ago | |
azure-pipelines.yml | 1 week ago | |
build.gradle.kts | 1 week ago | |
gradlew | 1 week ago | |
gradlew.bat | 1 week ago | |
settings.gradle.kts | 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.
- The
- Icon
- The Icon is wrapped in a JLabel and displayed in the dialog.
- Others
- The object is converted to a
String
by calling itstoString
method. - The result is wrapped in a
JEditorPane
orJTextArea
and displayed.
- The object is converted to a
Origin
Fork of SwingX project.
License
LGPL-2.1-or-later
Copyright
- 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