Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31606 > unrolled thread
| Started by | j4n bur53 <janburse@fastmail.fm> |
|---|---|
| First post | 2015-04-22 11:36 +0200 |
| Last post | 2015-04-22 11:38 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.lang.java.programmer
FileChooser on 2K Displays j4n bur53 <janburse@fastmail.fm> - 2015-04-22 11:36 +0200
Re: FileChooser on 2K Displays j4n bur53 <janburse@fastmail.fm> - 2015-04-22 11:38 +0200
| From | j4n bur53 <janburse@fastmail.fm> |
|---|---|
| Date | 2015-04-22 11:36 +0200 |
| Subject | FileChooser on 2K Displays |
| Message-ID | <mh7q3p$aif$1@news.albasani.net> |
Dear All,
Any idea how to make the Java Swing file chooser
look better on 2K displays where the windows
font scaling is > 125%?
I am using ordinary code such as:
JFileChooser fc = new JFileChooser();
if (settings.currentdir != null)
fc.setCurrentDirectory(new File(settings.currentdir));
int returnVal = fc.showOpenDialog((Window) holder);
if (returnVal == JFileChooser.APPROVE_OPTION) {
But the file chooser is only displaying tiny
icons, relatively small buttons. I am using
JDK 8. What is going wrong? (*)
Bye
(*) I manage to scale the icons and other stuff
for my own application by my code, so Swing can
definitely handle 2K displays.
Also the menu bar text and scroll bars are
automatically scaled, so I don't need any special
code there.
[toc] | [next] | [standalone]
| From | j4n bur53 <janburse@fastmail.fm> |
|---|---|
| Date | 2015-04-22 11:38 +0200 |
| Message-ID | <mh7q5q$aif$2@news.albasani.net> |
| In reply to | #31606 |
j4n bur53 schrieb: > > But the file chooser is only displaying tiny > icons, relatively small buttons. I am using > JDK 8. What is going wrong? (*) Also IntelliJ looks fugly. Didn't manage to scale the icons throughout the GUI of the IDE.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web