getodk / validate

ODK Validate is a Java application for confirming that a form is valid and compliant with the ODK XForms specification. Contribute and make the world a better place! ✨🔍✨
https://docs.getodk.org/validate/
Other
9 stars 26 forks source link

Make UI look more like a modern Java app #48

Closed yanokwa closed 6 years ago

yanokwa commented 6 years ago

ODK Briefcase looks like this:

briefcase

Note the grey buttons and clean lines.

ODK Validate looks like this:

validate

Note the blue buttons and gradients.

It would be good if the UI of Validate was updated so it looked more like a modern Java app.

vigneshtdev commented 6 years ago

Hi, I would like to fix this issue. Would you like the changes to be made to the styling of swing components or would you like a rebuilding the whole thing with javafx?

yanokwa commented 6 years ago

Hi! I think given that this is a small app, it might be good to experiment and try to make it JavaFx.

batkinson commented 6 years ago

Hey,

I think the reason for the difference is that Validate doesn't use the native look and feel and instead uses the Swing default one. You should not have to do anything other than remove the bits of code explicitly setting the native look and feel. It has nothing to do with JavaFx. I seem to remember recent issues dealing with the native look and feel, so just beware that this was done intentionally by someone. You might want to dig into why before making the change, but trying it should be easy.

Regards,

Brent

On Mar 10, 2018 6:04 AM, "Yaw Anokwa" notifications@github.com wrote:

Hi! I think given that this is a small app, it might be good to experiment and try to make it JavaFx.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/opendatakit/validate/issues/48#issuecomment-372003372, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdPFfn4Wnr2BxRCgIxLv-phHtEXU2CBks5tc17WgaJpZM4Ro3As .