A
Andrei Kouznetsov
The most important part of JGui is FloatingWindow - replacement for
JToolBar.
Features of FloatingWindow:
Flexible - add tool bar to any (before defined) Container.
Can be used not only with tool bars.
Real time dragging.
Can follow owner frame.
Can be restricted to stay on screen.
Internal tool bars are also supported.
PropertyChange events fired (dock/drag/undock/internal)
Change layout/orientation of tool bar after undock.
FloatingWindowManager creates and manages menus for menubar and popup
menu.
Another important part of JGui is ToolBarLayout.
Features of ToolBarLayout:
Components are stacked in rows and wrapped to next row if needed.
Supports horizontal and vertical orientation.
Row order can be inverted
Accepts Point as constraints, this gives user the possibility to drag
and drop components to right place at runtime.
Fill order for multirow vertical oriented components can be changed.
JGui contains also set of useful utilities and handlers:
Event managers: ActionManager, PropertyChangeManager, TableModelManager.
Utility to embed resources (e.g. images) in java class - no more
troubles with getResource/getResourceAsStream.
Trees:
DMTreeNode addes ability to create tree structures from TreePath
HTreeNode delegates most work to appropriate Handler (dynamic
trees).
Handler for node is determined depending on type of node's
userObject by HandlerFactory
Already implemented Handlers: File, URL, HTTP and Zip/Jar.
TLToolTipManager - ToolTipManager for JTree and JList.
BackgroundPainter - beautiful backgrounds for Components.
Moving/resizing of Components:
DragHandler and ResizeHandler.
MagnetManager - make components (and other things) "magnetic".
Snap to grid while dragging and resizing.
ThreadManager - helps to distribute tasks to a number of threads
JGui is free for non-commercial use.
JToolBar.
Features of FloatingWindow:
Flexible - add tool bar to any (before defined) Container.
Can be used not only with tool bars.
Real time dragging.
Can follow owner frame.
Can be restricted to stay on screen.
Internal tool bars are also supported.
PropertyChange events fired (dock/drag/undock/internal)
Change layout/orientation of tool bar after undock.
FloatingWindowManager creates and manages menus for menubar and popup
menu.
Another important part of JGui is ToolBarLayout.
Features of ToolBarLayout:
Components are stacked in rows and wrapped to next row if needed.
Supports horizontal and vertical orientation.
Row order can be inverted
Accepts Point as constraints, this gives user the possibility to drag
and drop components to right place at runtime.
Fill order for multirow vertical oriented components can be changed.
JGui contains also set of useful utilities and handlers:
Event managers: ActionManager, PropertyChangeManager, TableModelManager.
Utility to embed resources (e.g. images) in java class - no more
troubles with getResource/getResourceAsStream.
Trees:
DMTreeNode addes ability to create tree structures from TreePath
HTreeNode delegates most work to appropriate Handler (dynamic
trees).
Handler for node is determined depending on type of node's
userObject by HandlerFactory
Already implemented Handlers: File, URL, HTTP and Zip/Jar.
TLToolTipManager - ToolTipManager for JTree and JList.
BackgroundPainter - beautiful backgrounds for Components.
Moving/resizing of Components:
DragHandler and ResizeHandler.
MagnetManager - make components (and other things) "magnetic".
Snap to grid while dragging and resizing.
ThreadManager - helps to distribute tasks to a number of threads
JGui is free for non-commercial use.