Comments (4)
OK, after a bit of digging it seems that setting the UI default OptionPane.isYesLast
to true does enough for my current use case. I'll leave it up to you to close this issue or not, as button order on dialogs is really a fairly complicated subject and a simple yes/no option doesn't cut it.
To give you a taste for the complexity, here is the Windows button order string from MIG Layout, where each character has a different meaning: L_E+U+YNBXOCAH_R
crazy huh!
My suggestion would be to look at the MIG Layout implementation, but rather than using layout constraints you could look in either the action values or the component client properties for tags and then order the buttons based on that.
Or just mostly ignore the issue like most other L&Fs ;-)
from weblaf.
I will think of it, but not sure yet.
I might add system-dependant buttons order into WebLaF with some of next updates.
Anyway, i will notify you about the changes made if there will be any.
from weblaf.
OK, cool. I may have some time to have a go at implementing it myself later this week.
from weblaf.
I have added proper "OptionPane.isYesLast" value depending on user's platform. This might be enough to solve the issue or might be not. That is your call :)
from weblaf.
Related Issues (20)
- How to extend customization TreeSignleStepDebugPainterin in xml HOT 3
- How to implement this style, popup like popupmenu HOT 3
- Increase the usage of compound assignment operators
- formatter HOT 1
- Add ability to define table & tree cell hover style
- AltProcessor ---->>> winAncestor Will never be released HOT 3
- WebPopupWindow Display problem on MAC,How can I make my UI look like Windows on the MAC HOT 2
- how to make table hover color ? HOT 1
- custom toolTip HOT 6
- Add an easy way to change style of Swing tooltip separately on specific components
- The same font is blurred by shape? HOT 5
- WebPathField Performance HOT 8
- WebPopup in MAC I set rounded corners to have a white background color. How can I set transparent rounded corners HOT 4
- how do this in Webcombox HOT 2
- In your frame SVG images are blurry, what should I do to keep them blurry HOT 3
- when i use WebCheckBoxTree HOT 4
- JTree expand and collapse icons are hardcoded in WebTreeUI
- JFileChooser performance when using WebLaf HOT 1
- WebLookAndFeel.install(); → SLF4J Failed to load class "org.slf4j.impl.StaticLoggerBinder" HOT 1
- WebSwitch Baseline Alignment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weblaf.