Here's the problem, on Windows, surprisingly, everything works well; but on a Mac there is a problem with the sliders.
Ulf Dittmer wrote:Not even using the Metal L&F will result in a pixel-by-pixel identical GUI, since the Mac uses different default fonts and font sizes. At least part of the problem is that the code sets a fixed size for the window. You're much better off not doing that, and instead calling pack() after all the GUI creation is done. Then you can let Swing figure out what the best size is on any given OS.
Mike Lipay wrote:Is there a way to turn Aqua off for this application?
Ernest Friedman-Hill wrote:
Mike Lipay wrote:Is there a way to turn Aqua off for this application?
Did you see my post above? That's exactly what it does.
dog's breakfast
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
My favorite is a chocolate cupcake with white frosting and tiny ad sprinkles.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|