IE5 and progressbar
I use Internet Explorer 5 and weblogic 5.1
When i call JSP page , the jsp is load complete but the progress-bar of IE5
is loading the page and it isn´t true, jsp page
is load.
May be can somebody explain that.
Thanks.
Excerpt from from code book "Java Thread Programming" which you can adjust to your situation:
public class Notify {
private Object proceedLock;
private boolean okToProceed;
public Notify() {
proceedLock = new Object();
okToProceed = false;
public void waitToProceed() throws InterruptedException {
synchronized(proceedLock) {
while(okToProceed == false) {
proceedLock.wait();
public void proceed() { //call when the first thread finished its work
synchronized(proceedLock) {
okToProceed = true;
proceedLock.notifyAll();
Also note, that I wrote you better solution for first time :updating of JProgressBar (as all swing comp.) should be done in event dispatching thread. When you use SwingUtilities.invoke() and invokeLater(), thread (i.e. event dispatching thread) is placed into queue thus waiting for previous task to be finished.
Please read about it in
http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html
It is very important concept about multithreading and swing gui.
Similar Messages
-
Jre 1.4.1 with IE5 and Mozilla MAC OS X
Hi,
I just installed the JRE 1.4.1 on Mac OS X.
It's working fine with the apple's browser SAFARI.
But my other browsers,IE5 an Mozilla, still launch the applets in the JRE 1.3.1.
Is there a way to force IE5 and Mozilla to use the 1.4.1 jre ?
Thank you
LaurentHi
on Apple website, you find your answer :
Q: What J2SE version do Java applets run under inside a browser?
A: Apple's Safari browser runs all Java applets under J2SE 1.4.1 if 1.4.1 is installed. Other browsers are currently developed to specifically use our 1.3.1 implementation, and will need to be updated. If you would like to see your favorite browser use 1.4.1, please contact the vendor and ask them to adopt the newer version. -
Drag drop and ProgressBar cancel button
Hi,
I have a class that extends CDragDropTargetFlavorHelper, during ProcessDragDropCommand I want to show a ProgressBar (the code that does this is actually in another, model only, plugin - might be significant), however, though the progress bar shows the cancel button doesn't. Unless I delay the processing until after the drop is complete by scheduling the command - if I either process the command or schedule and process scheduled commands the cancel button doesn't show.
Scheduling the command gives a bit of a delay to the user (even with highest priority) and also no ability to feedback 'drop failed'. So I'd like to:
- preferably get the cancel button to show without scheduling the command
- know immediately when a drop has been completed and process scheduled commands.
Thanks in advance
IanThanks Ned,
I have since been continuing to research this and it would seem that implementing the HitTest could be the way to go. If anyone has any experience or advice to support this I would be grateful.
Regards
Chris -
Problem with fixing pagerdeluxe and progressbar while using jsf-ibm.jar
hi,
I am having a jsf data table with <hx:pagerdeluxe> to navigate, and i am using (jsf-ibm-unknown-vers.jar) jar, this works fine. I need to insert a progress bar in my jsf and used <hx:progressBar> but this was not available in the old jar, So i upgraded my jar to jsf-ibm.jar when i ran this progress bar works fine but he pager deluxe shrinks and unable to navigate.. I am using jboss server .... Can any one help me out about regarding this. So that both works fine
Thanks.
Rakesh MThis is not related to Sun JSF. You might have more luck if you ask component library specific questions at the website/forum/mailinglist of the component manfacturer.
-
Forms 6i, IE5 and jinitiator
At Oracle Open World they seemed to imply you didn't need to download Jinitiator if you were doing Forms 6i over the web on IE5.
Yet when I did it required me to download Jinitiator?
Any comments and clues?Check Technet's Article on how to setup you HTML file for this use.
null -
Hi!
I need to log the bytes which are sent by URLloader, to show
them in a progressbar, or simply to check the time it will take.
I know that is possible to get the bytes received by
URLloader, but I don't mind it; I need to log the sent bytes,
because I'm sending long forms by URLloader, and I don't know how
to check progress status while SENDING.
Is it possible? Could it be possible in a future? I really
need this feature.
ThanksI have tried it, but It only prompts a message when form is
sent, so I have to wait... 2 minutes before it's shown if I send a
long form (is a file in a multipart form).
In addition, It shows the "server answer totalbytes", not the
SENT bytes. -
how to bind the message or status in
progressbar and statusbar while running
or calling stored procedure .
can any one may help,
thanks
pullareddy janapana
nullExcerpt from from code book "Java Thread Programming" which you can adjust to your situation:
public class Notify {
private Object proceedLock;
private boolean okToProceed;
public Notify() {
proceedLock = new Object();
okToProceed = false;
public void waitToProceed() throws InterruptedException {
synchronized(proceedLock) {
while(okToProceed == false) {
proceedLock.wait();
public void proceed() { //call when the first thread finished its work
synchronized(proceedLock) {
okToProceed = true;
proceedLock.notifyAll();
Also note, that I wrote you better solution for first time :updating of JProgressBar (as all swing comp.) should be done in event dispatching thread. When you use SwingUtilities.invoke() and invokeLater(), thread (i.e. event dispatching thread) is placed into queue thus waiting for previous task to be finished.
Please read about it in
http://java.sun.com/docs/books/tutorial/uiswing/overview/threads.html
It is very important concept about multithreading and swing gui. -
IE5 and Netscape with WLS 5.1
Hi,
I sent this out a couple of weeks ago. I have tried the solution but with no success could some one please help...
We are using Weblogic 5.1 Service Pack 8 on Solaris 2.6, with Apache server acting as a bridge. Apache actually does not serve any content and just forwards ALL requests to WLS. We have a problem at the moment that if you use internet explorer with WLS then it is extremely slow serving up pages. Weblogic listens on port 7001. If we use Netscape to connect then it runs with no slow downs at all, about three second to serve a page but if we use IE it takes nearly a minute. This delay occurs when the request goes through apache. If we directly access WLS on port 7001 then there is no such delay.
Any ideas on what could cause that delay? Is it an Apache bridge problem or a WLS one?
Cheers,
Barnaby
[att1.html]You can have it but not for fail-safe configuration.
It is not possible to have clusters with different
WLS versions especially between 5.1 & 8.1
Kumar
Alexander von Alkier wrote:
hi all,
we are planning to upgrade our application running on WLS 5.1 to WLS 8.1. We
have configuraed a WLS 5.1 cluster with 4 servers joining this cluster. What
I'm now thinking of is: is it possible to run a WLS cluster that has 2
Servers running on WLS 5.1 and another 2 servers running on WLS 8.1?
Reason of thinking so, is that want to have the most failsafe configration
as possible during our upgrade.
I searched the BEA docs, but didn't find anything.
any help would be fine.
thanks
Alexander -
hello all,
I am trying to display a window with an indeterminate progress bar while I am searching through files looking for a particular file. The problem is that when I display the window, the outline of it appears, but never fully displays.......what I attempted to do, was make the window implement runnable. Inside of the run method, I set a JProgressbar to indeterminate and set the window to visible. Right before the code that searches for the file, I created a new thread and gave it an instance of my window class, then called the start method of the thread.
ex
class window extends JFrame implements runnable{
JProgressbar bar = new......
public void run(){
bar.setIndeterminate(true);
this.setVisible(true);
inside of the main class(which itself is a JFrame)
Thread temp;
window mywindow = new window()
temp = new Thread(mywindow);
temp.start();
//searching code here
mywindow.dispose();
anybody have any suggestions why the window doesn't display???
ThanksHave you tried it without making the Progress window a thread? Just try opening the window and them starting the search. If that fails, try making the search a separate thread. I would avoid making the window a thread. The swing classes have their own threads running in the background. One thing I found that helps keep windows from freezing is when you have to fire a long process resulting from an actionPerformed event you can do this without writing a lot of code:
//normal
actionPerformed(ActionEvent e)
doSomething();
//allows window to refresh
actionPerformed(ActionEvent e)
new Thread() {
public void run() {
doSomething();
}.start();
} -
ButtonBar and ProgressBar all in one
Anybody have any idea how this ButtonBar + ProgressBar type
of component was created?
(See the InsuriCorp example, second one down)
http://www.adobe.com/devnet/flex/articles/fig_pt6_05.html
It's really great looking but I'm really not sure how they
went about it.
What's the best way to approach this? Mabye a Flash skin, or
a custom effect, or is there a really easy way that I'm just not
seeing?Unfortunately, no.
-
Dear visitor:
thanks for caring my problems:)
well,i don' t know how to show a FileChooser in the specific mode i want:the save mode and open mode,and when i select a file in a file chooser,how could i add
an action listener on the "save" button or the "open" button to save or open a file when i click the button.
the following question is how to link the progress bar to a thread.for example,
i am connecting a database or loading an image,how to use the progress bar to show
exactly how much work has been done,for example,how many percents of the picture has been loaded
thanks for your help!
zhile:)hi zhile!
well, you don't need to put an actionlistener on the save or open button of your filechooser...
you just use sample code:
JFileChooser fileChooser = new JFileChooser();
int returnVal = fileChooser.showOpenDialog(null);
if (returnVal == JFileChooser.APPROVE_OPTION) {
//in case you select a file
File file = fileChooser.getSelectedFile();
else
//selection a file was cancelled
or didn't i understand you correctly?
regards,
majandrah -
I know it is probably not the right place for this request, but I try ;-)
I'm testing SWT/JFace and I would like to render a progress bar in a cell of a table using TableViewer class (and not only the Table class).
Any idea?
ThxYou're right in that you're wrong to post here. Check out www.eclipse.org and look for the fora there.
-Mike Schwager -
JSP , IE5 and netscape...
Hi
The attached jsp (very simple) can work fine in Netscape ,but in IE, it then
popup a dialog to ask me to download the jsp file.
The file is a simple HTML file but plus a line ,"<%@page contentType="text/html;charset=Big5"%>",
on the top of the file, because I need to show Chinexe on my page. After deleting the line, then it
works fine in IE, too.
Can someone give me some clue about that ?
THANKS
andrewv :O
It can seems not to attqached the file, so I post it directly...
<%@page contentType="text/html;charset=Big5"%>
<html>
<head>
<title>eProcure</title>
<meta http-equiv="Content-Type" content="text/html; charset=Big5">
<style type="text/css">
<!--
.text13 { font-size: 13px; text-decoration: none}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="91">
<tr>
<td rowspan="2" valign="top" width="23%">
<table width="230" border="0" cellpadding="0" cellspacing="0" height="66">
<tr>
<td><img src="images/logo.gif" width="230" height="66"></td>
</tr>
</table>
</td>
<td width="77%" height="12" align="right" valign="top">
<table width="284" border="0" height="36" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/top03.gif" width="284" height="36"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="77%" height="2" align="right">
<table width="285" border="0" height="30" cellpadding="0" cellspacing="0">
<tr>
<td width="9"><img src="images/top04.gif"></td>
<td width="30" class="text13" valign="bottom"> µn¤J</td>
<td width="9"><img src="images/top04.gif"></td>
<td width="32" class="text13" valign="bottom">¶R¤è</td>
<td width="9"><img src="images/top04.gif"></td>
<td width="33" class="text13" valign="bottom">¥ø·~</td>
<td width="10"><img src="images/top04.gif"></td>
<td width="44" class="text13" valign="bottom">¨Ï¥ÎªÌ</td>
<td width="9"><img src="images/top04.gif"></td>
<td width="105" class="text13" valign="bottom">2000 / 11 / 02</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="23%" valign="top" height="2">
<table width="230" border="0" height="25" cellpadding="0" cellspacing="0">
<tr bgcolor="#000066">
<td><img src="images/top01.gif" width="230" height="25"></td>
</tr>
</table>
</td>
<td height="2" width="77%" align="right" bgcolor="#000066"><img src="images/top02.gif" width="222" height="25"></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<form name="login" method="post" action="/em/LoginHandler">
<p> ±b¸¹ <input type=text name=account size=15>
<p> ±K½X <input type=password name=account size=15>
<p> <input type=submit value="½T©w"> <input type=reset value="¨ú®ø">
</form>
<p> </p>
<p> </p>
<p> </p>
<br>
<br>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="right" bgcolor="#000066">
<td><img src="images/down01.gif" width="260" height="25"><img src="images/down02.gif" width="192" height="25" border="0"><img src="images/down03.gif" width="150" height="25"></td>
</tr>
</table>
<p> </p>
</body>
</html>
"andrew" <[email protected]> wrote:
>
>"Andrew" <[email protected]> wrote:
>>
>>Hi
>> The attached jsp (very simple) can work fine in Netscape ,but in IE, it then
>>popup a dialog to ask me to download the jsp file.
>> The file is a simple HTML file but plus a line ,"<%@page contentType="text/html;charset=Big5"%>",
>>on the top of the file, because I need to show Chinexe on my page. After deleting the line, then it
>>works fine in IE, too.
>>
>> Can someone give me some clue about that ?
>> THANKS
>>
>> andrewv :O
>>
>
-
Help with component progressBar and Loader
The progress bar doesn't work if the .swf movie that's being loaded is being loaded into another movie. If the loader is on the main stage it works fine both in testing and on the internet.
For example, I created a parent movie and a child movie with a loader and progressBar. The child movie works perfectly by itself. If I load the child movie into the parent movie the progressBar doesn't work.
I'm a designer not a programmer. Is there a fix for this?When using the Loader component, the progress-bar needs to be in the parent movie to work.
-
Pages not appearing AT ALL on IE5.5 and BADLY on IE6
Hi to all, i know it must be related to IE hacks or the likes, but that page
http://www.cazacommunications.com/nature/historique/historique.html
isnt showing at all or badly on ill-fated IE 5.5 and 6.
I know its not W3C validating because i used this script jd:slideshow but it appears fine on Firefox and IE7 and IE8, based on tests i did on Screenshot Browsers.
Thanks.Oddly enough, in Browser Lab at Adobe, IE6 shows up just fine. Can't check IE5.5 there, but that user-base is shrinking rapidly. As of June of 2008, W3Schools reported only 0.5% of user-base was still on IE5, and they discontinued keeping stats on it in July 2008. So I wouldn't worry about IE5.5, if I were you!
https://browserlab.adobe.com/index.html# will get you to Browser Lab.
Beth
Maybe you are looking for
-
Oracle 9i database configuration assisstant not running
Hi All, My database is Oracle 9i.The configuration assisstant not running in this .can any body help? Reena
-
Profit center not found in controlling area
Hello all, While trying to change the wbs element of a PO in ME22N, I am getting the error message "Profit center XXXX not found in controlling area". Do any one hava an idea how to fix this problem? Thanks in advance for your help, Soumaya
-
"Can you list me some features of the java language"(Interview question )
Hi, This was a question I got yesterday in an interview, exactly as the interviewer said it. I listed off it's cross platform feature... what else would you have added? Question 2. He also looked for #2the differences between java and C++"
-
Error Message - Acrobat not working
I've been struggliing with a persisten problem with Acrobat Standaard for some time now. It opens existing PDF's and will allow some editing. But if I try to create a PDF from say a word document or Web page it freezes and I have to close it using T
-
Hi All, I have copied the program SAPMV75A to Zprogram with all the includes but I am getting error message when I am executing the Ztcode I have created like this You cannot display lists for this partner function Message