tim johnson

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

Recent posts by tim johnson

Hi,
Is there a way to set mnemonic to the title of a titled border?
Thanks,
22 years ago
Hi Lavanya,
Sorry for not being clear.
By non-sequential rows, I meant the ability of the user to select rows in any order. For example the user may want to select the second, third and fifth row in a table of five rows OR he may want to select the first, third and fifth row OR the first, fourth and fifth row, and so on.
This can be achieved by using the <CTRL> key and the mouse. The user holds the <CTRL> key and makes whatever selection he wants using the mouse. I want to provide the same feature using the keyboard keys only, without the use of the mouse.
If he wants to select sequential rows, this can be done using the keys only: select the first row to be selected using the down arrow key. Then hold the <SHIFT> key and keep using the down arrow key until you reach the last row that needs to be selected.
How can the selection of non-sequential rows be done using the keys only.
Thanks,
22 years ago
Hi Lavanya,
Thanks for the reply. I was able to get what I want by adding keyListeners to the JTable exactly like you have explained.
I have one more requirement.
I want to be able to select non-sequential rows in the table. This can be achieved using <CTRL> key and the mouse. How can this be achieved using only the keyboard?
Thanks,
22 years ago
I have a simple JTable. The table is populated dynamically using data from the database that is retrieved based on the search criteria entered by the user via a text field.
On pressing tab key from the search button above the table, I want the first row of the table to be selected. Similarly after the last row is selected and tab key is pressed, I want the next button to be the focus. How can this be done?
Right now, when I press tab key from the search button, it seems to go to the table header.
Also, when I press tab key from the last row, it goes again to the first row of the table instead of the next component.
Please help,
Thanks,
22 years ago
Hi Al,
Can this be done using a single html page instead of two so that a separate print version need not be maintained?
Please help.
Thanks.
Hi Al,
It works perfectly. Thanks a million.
Thanks a lot for the reply Al.
I am looking for a solution exactly like you have mentioned. Can you please provide me with the code.
Appreciate it.
I have an html page that has links to certain images. One views the html page with only the links, but when he prints, the printed output must have all the images printed instead of the links.
Is there a way to do this?
Thanks.
Hi all,
I have a drop-down list box in a form that does a "GET" call to a servlet. Just after the submit button is clicked, there is a brief amount of time before getting a response. At this brief waiting time, the selected value in the drop-down list box disappears and shows an empty area. Is there any way to prevent this happening? Has anyone experienced this? Thanks for any advice.
23 years ago
Hi all,
ResourceBundle resources = ResourceBundle.getBundle("usingjsp.TestResources", locale);
Do I have to use this line of code in every JSP or is there a way to persist the resources among all JSPs so that the getBundle is done only once initially.
Thanks.
23 years ago
Hi all,
I use a lot of javascript in JSPs and have been mainly testing in IE. Everything works fine in IE but not in Netscape.
Can someone suggest where I can find some simple guidelines to make my code run in any browser.
Thanks.
Hi all,
I use a lot of javascript in JSPs and have been mainly testing in IE. Everything works fine in IE but not in Netscape.
Can someone suggest where I can find some simple guidelines to make my code run in any browser.
Thanks.
23 years ago
Thanks Scott for the reply.
I installed java web start but get "download error" when I try to run the demo applications, with the following exception:
JNLPException[category: Download Error : Exception: java.net.UnknownHostException: java.sun.com : LaunchDesc: null ]
Can you please help to find what could be the problem?
Also I would like to know whether I can pass arguments to the application when launched using Java Web Start.
Thanks again.
23 years ago
Hi,
I would like to know how to launch a java application from an HTML.
Thanks.
23 years ago