Just a bunch of exercises and examples to learn how to use Java Swing library and having example codes for future reference.
-
akinohello
Hello world with JLabel
-
akinolooks
Looks and Feels
-
akinoimages
How to use images in the widgets
-
akinoframelocationandsize
-
akinobuttons
-
akinobuttonswithimages
-
akinobuttonclick
Correct way of calling blocking actions.
-
akinotoggle
-
akinocheckbox
Checkboxes and Model linking
-
akinoradiobutton
How to force a single selection with groups of radio buttons.
-
akinocontentpane
Usage of the Jpanel to configure the Layout and replace the Conten Pane later.
-
akinoflowlayout
Testing the Flow Layout.
-
akinoborderlayout
Testing the Border Layout
-
akinogridlayout
Testing the Grid Layout
-
akinocomposinglayouts
Example of a complex composition using Border and Grid Layouts. Also, introducing Comboboxes.
-
akinobordersoncomponents
Showcase of types of borders and how they work with layouts
-
akinoscrollpane
Example on how to use the JScrollPane widget
-
akinosplitpane
Example of splitpanes
-
akinotabpane
Tabs, tabs, tabs.
-
akinomenu
Sample using JMenu and JMenuItem. Examples for configuring keyboard shortcuts to actions and nested menus.
-
akinomenuaction
Usage of AbstractAction to easily create buttons, menu items and actions, without creating listeners.
-
akinomenuradio
Nice example of JCheckBox Menu Item and JRadioButton Menu Item, showing grouping and action reusability
-
akinomenupopup
PopUp menus are easy.
-
akinoslider (Range component)
Example on sliders and ways of labeling them.
-
akinospinner (Range component)
JSpinner class. Nice for entering values.
-
akinoslidespinreact
Configuring actions on value changes in Sliders and Spinners
-
akinolist
JList class. Like the popups, but with multiple selection
-
akinolistcolumns
How to control multi-column JList
-
akinolistevents
How to detect selections changes and click in JList