python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to get current monitor scale
I have tested my program on laptop, with standard ressolution, with view scale 125%.
I have following code to get this scale factor:
HWND activeWindow = ::GetActiveWindow();
HMONITOR monitor = Monito...

Michal Hadraba
Votes: 0
Answers: 1
Can I supply image icons in Java in a higher resolution to avoid blurred icons after scaling?
I am designing a GUI with Java Swing and AWT (Java 8) and am struggling with the icons I use.
I load a large PNG image and scale it to 18x18px and then use it in a button or label. It works well in al...
Philip Leifeld
Votes: 0
Answers: 2