Releases: DJ-Raven/swing-modal-dialog
Releases · DJ-Raven/swing-modal-dialog
v2.3.0
New features and improvements
- Modal dialog and Toast
- Add new option
heavyWeight
by defaultfalse
if set to true, the modal and toast will show by createJWindow
- Add new layout option
relativeToOwner
by defaultfalse
if set to true, the location modal and toast will show
relative to the owner component - Add new option
overflowAlignmentAuto
work when component overflow the container- if
ture
the component adjust to center of container - if
false
the location value<0.5f
adjust to the left, location value>0.5f
adjust to the right, location
value0.5f
adjust center- modal:
true
by default - toast:
false
by 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
backgroundPadding
to padding the background. by defaultinsets(0,0,0,0)
- Add new layout option
movable
by defaultfalse
if 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
1
and 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
heavyWeight
andrelativeToOwner
option by @DJ-Raven in #24 - Modal and Toast: add
relativeToOwnerType
option by @DJ-Raven in #26 - Modal: add
movable
option andoverflowAlignmentAuto
by @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
animationOnClose
by defaulttrue
use to enable or disabled animation while closing
- Toast
- Add custom location (PR #22)
- Add new style option
paintTextColor
by 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.OPENED
work when modal has opened - Add new layout option
animateScale
to scale the modal when open and close
- Add new callback action
- Extras
- LightDarkButton: add list support l&f
light
anddark
to auto install themes when switch - Add new
SlidePane
component (PR #19)
- LightDarkButton: add list support l&f
Changed
- Modal dialog
- Update drop shadow border use
insets
instead ofshadowSize
andshadowTopSize
(PR #16) - Default animation duration decreased from
350
to200
- 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,7
to10,10
Demo
- Use
JTextPane
instead ofJTextArea
to 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
borderWidth
andborderColor
(PR #14) - Add drop shadow border
- Slider layout changed with animation when
push
orpop
- Add new border option
- Drawer
- Support menu two mode
full
andcompact
- 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
BorderOption
class - Move
round
option in classOption
toBorderOption
- Move
menuOption
instance to class SimpleDrawerBuilder and init in constructor - Modal background now paint as the component background and not allow
null
background
- Add new option
- Drawer
- Removed menu
headerSeparator
in default - Use
LightDarkButtonFooter
in default - Changed menu
header
layout to horizontal view
- Removed menu
Fixed bugs
- Modal dialog
- Fixed component not install when push modal
- Fixed layout
- Toast
- Fixed
ToastPanel
bordernull
when changed themes or UI updated
- Fixed
Demo
- Add
about
information - Updated select drawer menu when undo and redo form
- Fixed component not install when push modal
- Fixed component orientation
RTL
not 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
v1.0.0
- Initial release
Full Changelog: https://github.com/DJ-Raven/swing-modal-dialog/commits/v1.0.0