Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31606
| From | j4n bur53 <janburse@fastmail.fm> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | FileChooser on 2K Displays |
| Date | 2015-04-22 11:36 +0200 |
| Organization | albasani.net |
| Message-ID | <mh7q3p$aif$1@news.albasani.net> (permalink) |
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.
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web