How do I run Java apps upscaled on a high-DPI display?

I’m trying to run a Java app (JAR file) on a high-DPI display on Windows 10. The app uses Swing and thus isn’t DPI-aware. Normally when I run an application that isn’t DPI-aware, Windows will scale…

Similar

Scripting Java with a JBang

JBang provides a way of running Java code as a script, similar to JShell. However, unlike JShell, JBang works great on Java 8 and can be used to automatically download dependent libraries as well. In fact, JBang can even run without Java being installed -... (more…)

Read more »

Java.util.EnumMap Class

Java.util package provides a EnumMap class which is a specialized Map implementation for use with enum type keys. All of the keys in an enum map must come from a single enum type that is specified, explicitly or implicitly, when the map is created. Enum m... (more…)

Read more »

A New Future for Java

There’s always been a considerable level of criticism against Java from a big sector of our industry; this criticism has been mostly focused on Java’s verbosity and the amount of boilerplate code it generates in many cases without need. Although I’ve alwa... (more…)

Read more »

Java JEP338: to express vector computations

Provide an initial iteration of an incubator module, jdk.incubator.vector, to express vector computations that reliably compile at runtime to optimal vector hardware instructions on supported CPU architectures and thus achieve superior performance to equi... (more…)

Read more »