Rob Elliott

Greenhorn
+ Follow
since Apr 24, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rob Elliott

I'm new to WAP.

Mobile users will be typing .3GP file URL which will launch realplayer based on video/3gpp mime type configured in web.xml on WAP (Tomcat) server. The 3GP file will be uploaded to the phone and played.

I need to provide a public URL to local (private) file system location mapping where .3GP files will reside on web server.

My question is do I need to provide and deploy a webapp (WAR file) to provide this functionality on server or can this be accomplished strictly through Tomcat configuration?

Thanks...
17 years ago
Hello,

I have a dialog with 3 JTables on it. Two of them display data which is determined by what is selected in the first table. Also, the two tables contain custom cell renderers. When I display the dialog I select the first row in all 3 tables via setRowSelectionInterval(0,0). The problem is that visually, only the first table (no custom renderer) displays a selected row. The rows in the other two tables are not selected although progamtically they are. Also, if I selected a row via the mouse in these tables only the cell that I click on becomes highligted...

Why are the rows in these tables not highlighted?
19 years ago
Hi Nathan!

Did you discover what your problem was on this one?

I'm receiving the same exception, stack trace however in my case I'm reordering table columns. After I receive it, I'm able to continue reordering columns without any problems. It only happens on my first re-order attempt??

Thanks,
Rob.
19 years ago
Hello,
When my JComboBox contains enough items to extend the drop-down list past JDialog boundary I cannot make a selection in the ComboBox and the ItemStateChanged event is not fired.
I realize that I can call JComboBox.setMaximumRowCount(#) to get around this however this is not desireable. Any ideas???
20 years ago
Hello,
When my JComboBox contains enough items to extend the drop-down list past JDialog boundary I cannot make a selection in the ComboBox and the ItemStateChanged event is not fired.
I realize that I can call JComboBox.setMaximumRowCount(#) to get around this however this is not desireable. Any ideas???
20 years ago
The problem was that stopcellediting was not being called until the 2nd combobox was clicked, probably invoked by lostfocus. The solution was to implement ItemLister interface in my custum editor class (derived from DefaultCellEditor), and the ItemListener to the private Combobox member and in teh ItemStateChanged handler call stopCellEditing.
20 years ago
My JTable contains two columns, the 2nd column contains an extended JCombobox. The problem appears when the table contains multiple rows. When the table is displayed and I click on one of the Comboboxs it drops down as it should and I make a selection. I then click on another Combobox and the combobox is highlighted but the selection list does not drop down. I must click on it a 2nd time to make it drop down. Not sure how to resolve this one???
20 years ago
Hi All,
I'm using a JTabbedPane and want to do some field validation at the moment the user selects another Tab. Potentially, depending on their reply to a messagebox, keep them on the same tab to correct bad data.
I'm implementing the ChangeListener interface and handling stateChanged events however getSelectedIndex() returns the newly selected tab.
Is there easy way to
1) Determine which was the previously selected Tab and
2) Prevent the user from going to the newly selected Tab in the case of data validation failure? A stateChanged event cannot be consumed.
Thanks in advance,
Rob.
21 years ago
Hi All, I'm fairly new to the Java World.
I have a dialog with buttons(which have mnemonics) and with a JList. When I attempt to invoke buttons via the mnemonics via the alt key the JList selection is changing as well.
I could probably handle key input in my JList class and detect if the Alt key is pressed however the my entire application is littered with dialogs with the same scenerio.
I would like to resolve this problem in one spot if possible. Could this be done using the UIManager?
Thanks in advance,
Rob.
21 years ago