
here is screenshot. and how can I do it by using swing?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no out-of-the-box solution for a system bar like that, but it’s not hard do make something like that.
It’s just a panel (with right aligned Flowlayout) with a label (“Blazze (run)”), a JProgressBar showing the current progress, and a cancel button.
Add BorderLayout to your main content panel and add the systembar with orientation SOUTH.
If you don’t understand the Swing layout concept, please be sure to read this.
If you don’t understand progress bars, read this.
All you have to do afterwards is control the texts and visibility and so on.
Edit:
For the popup I would recommend using an undecorated JDialog or JWindow, with a TimerTask to make it visible/disappear after a given amount of time. But that depends on what you want to achieve. The default tooltip is for text (and simple HTML) only.