473,803 Members | 2,937 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

progress bar from a separate thread in netbeans

25 New Member
Hi All.....

I am using netbeans 6.1 to create a web application(vis ual web jsf pages). I have a heavy task I need to run, so I run the task in a separate thread which is started from a button_action. Once the button is clicked, it sets visible a woodstock component progress bar(Indetermina te) to show the heavy task is running. The problem I am having is try to get the progress bar to "disappear" once the heavy task has completed and the separate thread is no longer running. I would really rather not have the progress bar appear in a separate jsp page, but rather just disappear from the original visual web jsf page. I have tried setting the separate thread class as a bean in the jsp code of the original visual web jsf page, but have gotten nowhere with that.

Does anyone have any suggestions???? ??

Thanks in advance for any help or suggestions....

Silgd1
Nov 25 '08 #1
1 4640
Dököll
2,364 Recognized Expert Top Contributor
Hey there partner!

I found you a bit of reading, look a bit in mid protion of the text, I think something added can be helpful:

Session Transcripts from October 22, 2007 on Ask the Experts - Sun Developer Network (SDN)
Nov 26 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1632
by: Howard | last post by:
I wrote a program that downloads rar files off my ftp server using TCP client. I would like to display a progress bar that advances while downloading the files. I tried that, but the program freezes while it's downloading and the progress bar is not responding as well. I've read articles on MSDN and google, but wasn't successful at doing it. Am I missing something? could someone guide me through this? I appreciate your help, Howard
4
11804
by: Scott Lundstrom | last post by:
I have a large amount of data I'm dropping into a dataset and would like to find a way to at the very least show the user that the program is working at retrieving the data and not locked up. I have been unable to find a way to do this with a progress bar so I thought that I would try to disply a message with an animated gif, but I cannot get the gif to animate while the dataset is being filled which is not doing me any good. Any...
7
2539
by: Steve Kallal | last post by:
I have seen this subject tossed around in this forum before. But in my case I need a simple solution. I do NOT need to show progress in terms on percentage complete. But rather I need to show a visual indicator to the user that a process is running. There are two scenarios where I need to show a busy indicator: Scenario #: The first is when posting to the web server and waiting for a response.
8
4954
by: Dino M. Buljubasic | last post by:
I am trying to create a pop up progress bar (on a form) that would show progress from downloading files from an FTP server. any help will be appreciated
3
3795
by: Vinay | last post by:
Hello I am trying to update a Progress bar on a form. I am able to update it via using a simple clock timer, but as soon as I perform a long operation G1 (generation of a report) in a separate form, it stops updating it, but keeps on incrementing the Progress bar values in the background and displays the updated Pbar after finishing the operation G1. My requirement is that it should update during the execution of operation G1. On...
2
1919
by: Viet | last post by:
I am trying to code a program that inputs a number (the max value) for a progress bar which will execute as a separate thread. I know how to create a progress bar as a separate thread but I am having difficulty trying to create the user defined loop for the progress bar. Any help is appreciated! Thanks Jonathan
2
1278
by: Dino Buljubasic | last post by:
Hi, I have a separate form that displays a progress bar when user tries to open a file (an Image, a PDF document or so stored in a database) from my application. When user clicks on a button to view the file, the form pops up and displays progress bar and calculated percentage loaded so far How can I give the user oportunity to cancell the whole process ?
9
3274
by: esakal | last post by:
Hello, I'm programming an application based on CAB infrastructure in the client side (c# .net 2005) Since my application must be sequencally, i wrote all the code in the UI thread. my problem occurs when i try to show a progress bar. The screen freezes. I know i'm not the first one to ask about it. but i'm looking
1
8343
by: Silgd1 | last post by:
Hi All..... I am using netbeans 6.1 to create a web application(visual web jsf pages). I have a heavy task I need to run, so I run the task in a separate thread which is started from a button_action. Once the button is clicked, it sets visible a woodstock component progress bar(Indeterminate) to show the heavy task is running. The problem I am having is try to get the progress bar to "disappear" once the heavy task has completed and the...
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9566
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10555
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10300
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7607
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2974
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.