Is it possible to build custom GUI like this in Java?

后端 未结 10 2040
独厮守ぢ
独厮守ぢ 2021-02-05 18:30

I made this in Photoshop and I plan to use it for my file sharing application:

I was wondering if it was possible to create GUI for my application that is gonna

10条回答
  •  失恋的感觉
    2021-02-05 18:43

    It's possible. But for most Java developers, it would require suppressing the gag reflex at such an ugly interface.

    Here's a Java interface I wrote using no tools other than vi. I didn't design it, I just took the artists design, held my nose, and implemented it.

    As for specifics, I'd suggest doing as much of the look and feel through the pluggable look and feel in Swing. Also, use LayoutManagers rather than making things constant sizes in constant locations, so that things can grow and shrink to different screen resolutions and also so that if you translate things you don't end up having to resize all your text labels and then shuffling everything else around.

提交回复
热议问题