window builder exported jar: why does it look different from in eclipse

116 Views Asked by At

in eclipse i did set the window size / colors and testing the look in linux ubuntu eclipse. after i exported it to a runnable jar, the colors are completely wrong: background color yellow became black. the sizes of the fields are much bigger than defined. Anybody can tell me why that happens and what needs to be changed?

1

There are 1 best solutions below

0
On

ok my workaround: develop and test with eclipse build path settings using GTK in eclipse.ini: enter image description here

export build path for ubuntu GTK3 (it will look like GTK 2 in eclipse): enter image description here

If there is a better way, please let me know.