Releases: DJ-Raven/swing-modal-dialog
Releases · DJ-Raven/swing-modal-dialog
v2.5.2
New features and improvements
- Toast
- Other
- MacOS: heavyWeight windows now support rond border using flatlaf native library (PR #40)
Changed
- Toast
- Reduce close button margin size from
5,5,5,5to3,3,3,3
- Reduce close button margin size from
- FlatLaf: update to
v3.6.1
Fixed bugs
- Toast
- Fixed wrong reverse order when use heavyWeight
- Fixed layout heavyWeight toast when location was set to bottom (PR #41)
Demo
- Add custom accent color and add new color picker form (PR #43)
- DateTimePicker: library update to
v2.1.3
What's Changed
- Toast: add
interpolatoroption by @DJ-Raven in #38 - HeavyWeight: macOS round border by @DJ-Raven in #40
- Toast HeavyWeight: fixed layout when location was set to bottom by @DJ-Raven in #41
- Demo: add custom accent color and add new color picker form by @DJ-Raven in #43
Full Changelog: v2.5.1...v2.5.2
v2.5.1
Fixed bugs
- Modal dialog:
- Fixed modal lightWeight
relativeToOwnerchild modal was not closing after parent was closed
- Fixed modal lightWeight
- Fixed blurry image when high DPI system scaling (issues #36) (PR #37):
- AvatarIcon
- DropShadowBorder
- Modal dialog
- ToastBorder
Demo
- JFreeChart: update to
v1.5.6 - DateTimePicker: library update to
v2.1.2 - IntelliJ Themes: removed
Gruvbox Dark MediumandGruvbox Dark Softthemes, because it unsupported since
flatlaf-intellij-themes v3.6
What's Changed
Full Changelog: v2.5.0...v2.5.1
v2.5.0
New features and improvements
- Modal dialog
- SimpleModalBorder: callback
SimpleModalBorder.OPENEDnow work whenpushModalandpopModal
- SimpleModalBorder: callback
- Drawer
- MenuStyle: add method
styleCompactMenuItem(JMenuItem menu, int[] index, boolean isMainItem)to custom style
compact menu item - Add new
DrawerNoneLineStyle. use this for no-paint drawer line style but paint arrow style - Add method
Drawer.getMenuIndexClass(Class<?> itemClass)return array index of menu
- MenuStyle: add method
- Other
- Windows 11: heavyWeight windows now support rond border with drop shadow using flatlaf native library (PR #33)
- Extras
- AvatarIcon: add method to change icon:
void setIcon(String filename);void setIcon(URL location);void setIcon(Icon icon);
- AvatarIcon: add method to change icon:
Changed
- Drawer
- SimpleDrawerBuilder:
- All
protectedfields changed toprivate. then use get method instead.
example:getFooter(),getHeader() - Add method to custom the drawer component. should override these method:
Option createOption()AbstractMenuElement createHeader()JSeparator createHeaderSeparator()AbstractMenuElement createFooter()
- All
- SimpleDrawerBuilder:
- FlatLaf: update to
v3.6
Demo
- Login form update UI (PR #32)
- Login validation menu:
- user:
staffand pass:123if we want to test validation menu for role staff - any user, any password for full role
- user:
What's Changed
- Demo: login form update UI by @DJ-Raven in #32
- HeavyWeight: windows-11 round border by @DJ-Raven in #33
Full Changelog: v2.4.0...v2.5.0
v2.4.0
New features and improvements
- Toast
- Add new
ToastBorderStyleborderTypedefaultBorderType.NONErounddefault10shadowSizedefaultinsets(0,0,10,10)shadowColordefaultnull(usePopup.dropShadowColoras the value)shadowOpactitydefault-1(usePopup.dropShadowOpacityas the value)lineSizedefault3(use whenborderTypeasTRAILING_LINE,LEADING_LINE,TOP_LINEandBOTTOM_LINE)borderWidthdefault1(use whenborderTypeasOUTLINE)paddingdefaultinsets(0,0,0,0)
- Add new layout option
gapby default5
- Add new
- Modal dialog
- SimpleModalBorder: modalBorderOption add padding
SMALLMEDIUMLARGEEXTRA_LARGE(default)
- SimpleModalBorder: modalBorderOption add padding
Changed
- Modal
- SimpleModalBorder: add
CLOSE_OPTION
- SimpleModalBorder: add
- Toast
- option
borderTypemove fromToastStyletoToastBorderStyle - option
lineSizemove fromToastStyletoToastBorderStyle
- option
- Drawer
- Changed package
raven.modal.drawer.datatoraven.modal.drawer.item
- Changed package
- Other
- Changed
raven.modal.drawer.menu.MenuAnimation.java
toraven.modal.utils.CustomAnimation.javafor reusable class - Changed option
borderWidthandroundfrom typefloattointeger - Modal and Toast: removed
ModalWindowas the transparent background - Modal and Toast heavyWeight:
- Not support animation
- Round border and drop shadow support only
windows 10
- Changed
Fixed bugs
- Modal
- Fixed heavyWeight broken rendering font
- Toast
- Fixed heavyWeight broken rendering font
- Fixed broken rendering font during animation
- Drawer
- Fixed animation menu items
Demo
- Dashboard form
TimeSeriesChartadd newChartStackedXYBarRenderer
What's Changed
Full Changelog: v2.3.0...v2.4.0
v2.3.0
New features and improvements
- Modal dialog and Toast
- Add new option
heavyWeightby defaultfalseif set to true, the modal and toast will show by createJWindow - Add new layout option
relativeToOwnerby defaultfalseif set to true, the location modal and toast will show
relative to the owner component - Add new option
overflowAlignmentAutowork when component overflow the container- if
turethe component adjust to center of container - if
falsethe location value<0.5fadjust to the left, location value>0.5fadjust to the right, location
value0.5fadjust center- modal:
trueby default - toast:
falseby default
- modal:
- if
- Add new option
- Modal dialog
- Add new layout option
relativeToOwnerType(requiresrelativeToOwner=true) with 3 types:RELATIVE_CONTAINED: modal and background are confined to the owner's bounds and track the owner's
visibility (default)RELATIVE_GLOBAL: background spans the entire window and does not track the owner's visibilityRELATIVE_BOUNDLESS: background covers the owner, but the modal can extend outside the owner. Tracks owner's
visibility. (requiresheavyWeight=true)
- Add new layout option
backgroundPaddingto padding the background. by defaultinsets(0,0,0,0) - Add new layout option
movableby defaultfalseif set to true, the modal can move by mouse drag
- Add new layout option
- Toast
- Add new layout option
relativeToOwnerType(requiresrelativeToOwner=true) with 3 types:RELATIVE_CONTAINED: toast is confined to the owner's bounds and tracks the owner's visibility. (default)RELATIVE_GLOBAL: toast spans the entire window and does not track the owner's visibilityRELATIVE_BOUNDLESS: toast can extend outside the owner's bounds and tracks the owner's visibility
- Add new layout option
Fixed bugs
- Modal dialog
- Fixed
borderWidth- fixed border not paint when value
1and round border is active - fixed border not paint when value
0.5f
- fixed border not paint when value
- Fixed
What's Changed
- Demo: create dashboard form with jfree chart by @DJ-Raven in #23
- Modal and Toast: add
heavyWeightandrelativeToOwneroption by @DJ-Raven in #24 - Modal and Toast: add
relativeToOwnerTypeoption by @DJ-Raven in #26 - Modal: add
movableoption andoverflowAlignmentAutoby @DJ-Raven in #27
Full Changelog: v2.2.0...v2.3.0
v2.2.0
New features and improvements
- Modal dialog
- Add custom location (PR #22)
- Add new option
animationOnCloseby defaulttrueuse to enable or disabled animation while closing
- Toast
- Add custom location (PR #22)
- Add new style option
paintTextColorby defaultfalse. When set to true, the message text will be painted using
the color corresponding to the toast type
Changed
- FlatLaf: update to
v3.5.4
Fixed bugs
- Toast
- Fixed paint border toast background when animation fade in fade out
Demo
- DateTimePicker: library update to
v2.0.0 - Login: password field add
PasswordRevealIcon - Form Table: remove table header separator
What's Changed
Full Changelog: v2.1.0...v2.2.0
v2.1.0
New features and improvements
- Modal dialog
- Add new callback action
SimpleModalBorder.OPENEDwork when modal has opened - Add new layout option
animateScaleto scale the modal when open and close
- Add new callback action
- Extras
- LightDarkButton: add list support l&f
lightanddarkto auto install themes when switch - Add new
SlidePanecomponent (PR #19)
- LightDarkButton: add list support l&f
Changed
- Modal dialog
- Update drop shadow border use
insetsinstead ofshadowSizeandshadowTopSize(PR #16) - Default animation duration decreased from
350to200
- Update drop shadow border use
- Drawer
- Embed drawer menu now apply border option
- Add new method
Drawer.getDrawerOption()and use it instead ofDrawer.getDrawerBuilder().getOption() - Default animation duration set to
300 - Menu item horizontal margin change from
7,7to10,10
Demo
- Use
JTextPaneinstead ofJTextAreato avoid error layout when component is RTL (issues with layout) - Drawer now use shadow border
- Update form layout
- Quick search update layout and add new favorite option (PR #17)
- Add new frame footer and create new
MemoryBar - Update form DateTimePicker
What's Changed
- Update shadow border by @DJ-Raven in #16
- Demo: quick search add favorite option by @DJ-Raven in #17
- Extras: add new SlidePane by @DJ-Raven in #19
Full Changelog: v2.0...v2.1.0
v2.0
New features and improvements
- Modal dialog
- Add new border option
borderWidthandborderColor(PR #14) - Add drop shadow border
- Slider layout changed with animation when
pushorpop
- Add new border option
- Drawer
- Support menu two mode
fullandcompact - Add new drawer footer
LightDark Button
- Support menu two mode
- Extras
- Add new
LightDarkButton
- Add new
Changed
- Modal dialog
- Add new option
sliderDuration - Add new
BorderOptionclass - Move
roundoption in classOptiontoBorderOption - Move
menuOptioninstance to class SimpleDrawerBuilder and init in constructor - Modal background now paint as the component background and not allow
nullbackground
- Add new option
- Drawer
- Removed menu
headerSeparatorin default - Use
LightDarkButtonFooterin default - Changed menu
headerlayout to horizontal view
- Removed menu
Fixed bugs
- Modal dialog
- Fixed component not install when push modal
- Fixed layout
- Toast
- Fixed
ToastPanelbordernullwhen changed themes or UI updated
- Fixed
Demo
- Add
aboutinformation - Updated select drawer menu when undo and redo form
- Fixed component not install when push modal
- Fixed component orientation
RTLnot update when show form
What's Changed
- Modal Dialog: update add border option and fixed push modal by @DJ-Raven in #14
- Update drawer and modal by @DJ-Raven in #15
Full Changelog: v1.2.0...v2.0
v1.2.0
New features and improvements
- Drawer
Demo
- Fixed form search inconsistent search case-insensitive (issues #9) (PR #10)
- Updated change selected drawer menu item when open form by
quick-form-search - Datetime picker library update to v1.4.0
What's Changed
- Drawer: add line style and menu selected color by @DJ-Raven in #7
- Update actions versions in release.yml & Update Java to 22 from 11. by @sipsuru in #8
- Demo: Make search functionality case-insensitive by @sipsuru in #10
- Drawer: support for invoke menu event using class by @DJ-Raven in #13
New Contributors
Full Changelog: v1.1.0...v1.2.0
v1.1.0
New features and improvements
- Modal dialog
- SimpleModalBorder
- add constructor to custom action type
- add modal action (PR #1)
- SimpleModalBorder
- Toast
- ToastStyle
- add new option
showCloseButton - add new
customIcon
- add new option
- add method to update the message in toast promise callback (PR #2)
- ToastStyle
- Extras
- AvatarIcon: now support border option (PR #5)
Changed
- Modal dialog
- Modal
- change method
init()toinstallComponent()and it called when modal show
- change method
- Modal
- Drawer
- Method
closeDrawer()now close with animation
- Method
Fixed bugs
- Modal dialog
- SimpleModalBorder: fixed some code to customizable
- Extras
- AvatarIcon: fixed image not painted center and size not affect when round value is 0
Demo
- Add custom modal message (PR #3)
- Add responsive layout (PR #4)
- Add form avatar icon (PR #5)
- Add quick form search (PR #6)
What's Changed
- SimpleModalBorder: add modal action by @DJ-Raven in #1
- Update message in ToastPromise.PromiseCallback by @rodrigocananea in #2
- Demo: add custom modal message by @DJ-Raven in #3
- Demo: add responsive layout by @DJ-Raven in #4
- Demo: add form avatar icon and added avatar border support by @DJ-Raven in #5
- Demo: add quick form search by @DJ-Raven in #6
New Contributors
- @DJ-Raven made their first contribution in #1
- @rodrigocananea made their first contribution in #2
Full Changelog: v1.0.0...v1.1.0