Minal Shah

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

Recent posts by Minal Shah

Try this add MouseListener to the list.
MouseListener mouseListener = new MouseAdapter() {
public void mouseClicked(MouseEvent mouseEvent) {
if (mouseEvent.getClickCount() == 2 ) {
statement;
}
};
list.addMouseListener(mouseListener);
21 years ago
Hi,
I am using JTable with DefaultTableModel in my application. I want to fix the first column's width in the table. 2nd onwards columns can be resizable.
Can anyone suggest a way to get that.
Thanks,
Minal
Edited to remove urgent from subject
[ April 19, 2004: Message edited by: Gregg Bolinger ]
[ April 20, 2004: Message edited by: Minal Shah ]
21 years ago
Hi,
Ya there is getClickCount() method in MouseEvent. You can determine no of clicks through this method
if(mouseEvent.getClickCount() == 2)
statements

Minal Shah
21 years ago
Hi,
I am using Java Swings. I want to open log file's content by pressing key board short cuts.
I know JFileChooser but for that i can get a dialog to choose file but i want to open file's content by just pressing F9 or any short cut key anywhere in the aplication.
Can anyone suggest a way to get that.
Thanks,
Minal
21 years ago
Hi,
I am working "Change Password" module using Swing and Oracle 8i. I want to call Change Password Dialog of Oracle in my application when user's password has been expired.
Can anyone suggest a way to get that dialog.
Minal
21 years ago