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

后端 未结 10 1992
独厮守ぢ
独厮守ぢ 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:51

    Is not only possible but quite easy, you don't have to go all the way to create a custom Look and Feel.

    This is what I've made in 20 minutes:

    There is a lot of information on the web on how to customize the components without having to create a whole new L&F.

    Understanding the Swing Architecture helps a lot.

    Just in case you haven't read it the Swing Tutorial is here.

    Finally you'll need the doc: Java doc

    0 讨论(0)
  • 2021-02-05 18:52

    You can and even you can change it dynamically - see Look-n-Feel feature of swing

    0 讨论(0)
  • 2021-02-05 18:58

    Well thats very much possible, although alot of Java Swing developers might not agree with the UI in the image. perhaps rightly so.

    Although to make it very possible try looking at JWindow, JTable, ImageIcon, Dimension, JProgressBar. You will also need ample of understanding for Java Layouts, and Events such as MouseEvents, ActionEvents.

    Hope that helps.

    0 讨论(0)
  • 2021-02-05 19:00

    Oh dear, no-no-no! If you want your users' eyes to bleed, then go for it. Otherwise, follow whatever UI guidelines are appropriate for your platform.

    To answer your question: this is certainly doable in any modern windowing system.

    Here's what generally happens when programmers design UIs:


    (source: jensroesner.de)

    (source: bulkrenameutility.co.uk)

    0 讨论(0)
提交回复
热议问题