-1

I want to create check out progress bar which to be run step-by-step like below image. how can i make this in swing. please give me some idea.

enter image description here

thanks in advance

user591790
  • 545
  • 2
  • 15
  • 33

1 Answers1

1
  1. this is about customized JTabbedPane (not easy and good job)

    • override JTabbedPanes methods paint() and with paintBorder()

    • use two prepared Icons(ImageIcons) into JLabel for every tabs, one for selected, 2nd for unselected

  2. use two prepared Icons(ImageIcons) into JButtons for JPanels layed by CardLayout, one for selected, 2nd for unselected, notice - contents shoudn't be nice for resiziable contents, have to layout by GridBagLayout by using anchors

  3. use JLayeredPane with Icons(ImageIcons) into JButton for JPanels layed by CardLayout, notice - there are max 6 members for JLayeredPane

Community
  • 1
  • 1
mKorbel
  • 109,525
  • 20
  • 134
  • 319