hello,
I need help for my code, I created an interface that contains a button and a JProgressBar with the netbeans interface, but I do not know how to change the color of the JProgressBar, I tried the method setBackground (Color.color), click right on the JProgressBar proprties Does not change the color Can Any One please help me and thanks.
kalcio
0
Newbie Poster
Recommended Answers
Jump to Postwell, for variables in an interface, you can only declare Constants, so I don't think you should declare a JProgressbar there. could you show us your code, so we can see a bit more of what you are doing?
Jump to PostsetForeground(someColor); works for me.
Jump to Post1) again not easy jog, nor for beginer
2) I'm lazy that wrote that for myself, there are must exist examples for Nimbus Painter,
3) how can I resolve this problem please help me,I'am a biginner in java == use Nimbus as without any modifications,
4) I'am …
Jump to Post@JamesCherrill
1) let's imagine that there are three Models
2) let's imagine that there are three SwingWorkers (Executor.execu...)
3) SwingWorker required strictly naming of each thread, otherwise you can get …
All 14 Replies
stultuske
1,116
Posting Maven
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
kalcio
0
Newbie Poster
mKorbel
274
Veteran Poster
kalcio
0
Newbie Poster
mKorbel
274
Veteran Poster
kalcio
0
Newbie Poster
mKorbel
274
Veteran Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
DavidKroukamp
105
Master Poster
Team Colleague
Featured Poster
mKorbel
274
Veteran Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
kalcio
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.