This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ds:software:java11 [2019/05/16 10:10] rhaseitl [How to port a Java 8 GUI application to Java 11] |
ds:software:java11 [2019/05/21 10:14] (current) rhaseitl [weird look an asl when started via Windows/XWin] |
||
---|---|---|---|
Line 154: | Line 154: | ||
</ | </ | ||
+ | ===== Launching from within NetBeans ===== | ||
+ | To start a project directly from within NetBeans, you must edit the parameters in the project properties: | ||
+ | Actions - Run project - Set Properties (adapt to your project settings): | ||
+ | < | ||
+ | metafactory.service.name.resolvers=de.gsi.bel.ap.japc.ext.devacc.GSIServiceNameResolver | ||
+ | de.gsi.aco.sv.japc.useDefaultResolverFirst=false -classpath %classpath de.gsi.lo.bi.trafos.TrafoMainApp | ||
+ | exec.executable=java | ||
+ | </ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== weird look an asl when started via Windows/ | ||
+ | The dti Joda program showd this weird behaviour: | ||
+ | * when started via ssh -X, the GUI looked as intended | ||
+ | * when started via XWin32/ | ||
+ | |||
+ | As a quick solution, the window has been made resizable in the code. Then it looks as intended on all platforms. | ||
+ | |||
+ | not looking good: | ||
+ | {{: | ||
+ | |||
+ | looking good: | ||
+ | {{: |