Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Vertical JProgressBar

 
dushantha Rathnayake
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am using jtattoo api for get smart look for my GUI's. In current situation I want to use vertical jprogressbar. I do it like this.



but the problem is my vertical jprogress bar starts it's value increase from top of the progress area. I want to start it bottom.

Please help me.

Thank you.
rrrr.jpg
[Thumbnail for rrrr.jpg]
GUI Image
 
Campbell Ritchie
Sheriff
Pie
Posts: 48985
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don’t know. Can you set a progress bar with its minimum value greater than its maximum? Can you use setValue to set it to i - n rather than n?
 
Darryl Burke
Bartender
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dushantha Rathnayake wrote:the problem is my vertical jprogress bar starts it's value increase from top of the progress area.

That's not the default behavior in the default Metal LaF. To get better help sooner, post a SSCCE (Short, Self Contained, Compilable and Executable) example that demonstrates the problem.

Also, please use correct capitalization for core Java classes so that we know you're talking about JProgressBar, not some badly named custom class called jprogress bar.
 
dushantha Rathnayake
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thank you. This is a default look and feel code.




this is jtattoo enable code.



And this is the api link

http://www.jtattoo.net/downloads/JTattoo.jar

Please help me to do this.

Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic