v fox

Greenhorn
+ Follow
since Jan 09, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by v fox

To Michael Finney or anyone else who can answer these questions:
In this thread, you said:
"It is possible to use a combination of Javascript and Java. Want details?"
Yes, please! I have an applet in the browser (IE only) that when an item is selected from a JComboBox, I would like to call the javascript function of window.showModalDialog(url, window);
to create a modal browser on top of the current browser. I don't want the user to return to the initial browser until they have finished with the modal browser. How do I have the applet signal javascript to call the modal dialog function when the item is selected from the JComboBox?
Also, I need to pass some data to this new page, such as file id, service name, etc. Is there anyway I can do this besides putting this data in the query string?
Thanks in advance for your help!!
24 years ago
how would I go about preventing the applet from being instantiated in a browser more than once simultaneously per client pc? you say that it can be done - can you give me some sample code please?
or, if the browser with the applet opens a child browser to execute a jsp, is it possible to tell when the child browser has been closed? is it possible to tell if the child browser is still open?
Thanks for your help!
Hello --
Is it possible to prevent more than one instance of the browser running? We bring up IE from powerbuilder to bring an applet to life. We don't want multiple instances of the browser running on a client PC. Is there a way to prevent the user from opening multiple instances of the browser?
Thanks for your insight.
Hello --
Is it possible to prevent more than one instance of the browser running? We bring up IE from powerbuilder to bring an applet to life. We don't want multiple instances of the browser running on a client PC. Is there a way to prevent the user from opening multiple instances of the browser?
Thanks for your insight.
24 years ago
Ray,
I am very interested in your recommendation. Your suggestion wil work to remove the toolbar, menubar, and addressbar from the current browser without any interaction from the user? If so, please address the following questions. I don't understand what you mean by 'having a jar file that will create an object for security'. What should I put in the jar?
You also mention that you need a tool to create the certificate. What is this tool? Where can I get it? What do I do with it?
Will this work with both Netscape and IE?
Thank you for your help!
Is it possible to keep the instance of the applet alive somehow so that it does not have to be recreated? The applet is very slow in coming to life, which is acceptable if it only happens the first time the user brings up the applet. However, this application is used in a call center where the length of the phone call with the customer needs to be kept to the extreme minimum. Loading the applet again each time is not acceptable. Is there some way that I can have the applet call the jsp, and when the user is finished with the jsp to return to the same instance of the applet? Is there a way to cache the applet with the search values saved so that the browser could return to this applet without redoing all that work?
24 years ago
Hello --
I have an applet living in a browser. When the user selects an item out of a specific combo box, the browser should then redirect to the jsp specified in the selected item. When the user has finished entering all info in the jsp, the browser needs to return to the initial page that has the applet. Now that the applet is again visible, it needs to display all the data that was originally entered in the form (textfield values, radio button and combo box selections, etc). How do I do this? From my understanding, applets do not maintain state between browser pages. Also, I thought of using a java bean to retain the applet values, but I can't seem to get the bean to stay alive when it gets to the selected jsp page, much less to pass the bean back to the applet. The business owner is adament that the applet should not start a new browser for the jsp, but that the browser should redirect the user from the applet to the jsp and then back to the applet. Does anyone know how I can accomplish this task?
Many thanks in advance.
24 years ago
Hello --
I have an applet living in a browser. When the user selects an item out of a specific combo box, the browser should then redirect to the jsp specified in the selected item. When the user has finished entering all info in the jsp, the browser needs to return to the initial page that has the applet. Now that the applet is again visible, it needs to display all the data that was originally entered in the form (textfield values, radio button and combo box selections, etc). How do I do this? From my understanding, applets do not maintain state between browser pages. Also, I thought of using a java bean to retain the applet values, but I can't seem to get the bean to stay alive when it gets to the selected jsp page, much less to pass the bean back to the applet. The business owner is adament that the applet should not start a new browser for the jsp, but that the browser should redirect the user from the applet to the jsp and then back to the applet. Does anyone know how I can accomplish this task?
Many thanks in advance.
24 years ago
I am aware of ActionListener; however I thought that event was only fired if the user hits enter. In which case, the user probably will not be hitting enter after changing a value, but rather tabbing on to the next field that he needs to change. I need to know when the text has finished being changed, such as on lost focus. If the user is tabbing through my form and changes a value that is programmatically set, I need to be made aware of this. However, if the user is just tabbing through field x to get to field y and in the process of doing so, he does not change the contents of field x, do not notify me. What is the best method for doing this?
24 years ago
Let me make sure I understand: you are saying that I can add an InputMethodListener to my textfield and then implement inputMethodTextChanged(). I can check the source of the event, which will notify me which textfield had changed value. In doing so, this listener will notify me only when the text value has changed, not when the textfield has only received focus or the caret position has changed. Does it fire once for each change? For example, if the original value is dog, and the user wants to change it to cat, does it fire 4 times if the 1)user deletes the original value, 2)types 'c', 3)then 'a', 4)then 't'? I just need to know when the user is finished changing the value. Is this possible?
Thank you for your response!
24 years ago
Hello -
I am looking for a TextListener for JTextField. I know that TextListener was available for the AWT TextField component, however, I cannot find the same listener in Swing. How can I have an event triggered whenever the text value changes? This is a requirement for my application. Many thanks in advance for your help.
24 years ago