Click here to Skip to main content
15,887,596 members
Home / Discussions / Java
   

Java

 
GeneralRe: JList is returning null value Pin
Shubhashish_Mandal14-May-13 3:24
professionalShubhashish_Mandal14-May-13 3:24 
GeneralRe: JList is returning null value Pin
Sachin k Rajput 14-May-13 18:09
Sachin k Rajput 14-May-13 18:09 
GeneralRe: JList is returning null value Pin
TorstenH.15-May-13 20:26
TorstenH.15-May-13 20:26 
QuestionPerform -> key press Event on GUI programmatically Pin
Sachin k Rajput 12-May-13 20:10
Sachin k Rajput 12-May-13 20:10 
AnswerRe: Perform -> key press Event on GUI programmatically Pin
Richard MacCutchan12-May-13 21:20
mveRichard MacCutchan12-May-13 21:20 
GeneralRe: Perform -> key press Event on GUI programmatically Pin
TorstenH.12-May-13 22:40
TorstenH.12-May-13 22:40 
GeneralRe: Perform -> key press Event on GUI programmatically Pin
Richard MacCutchan12-May-13 23:07
mveRichard MacCutchan12-May-13 23:07 
GeneralRe: Perform -> key press Event on GUI programmatically Pin
Sachin k Rajput 13-May-13 0:50
Sachin k Rajput 13-May-13 0:50 
Thanks for your suggestions..
My problem is I want to change the item in a Jlist Programmatically.
That's why I wanted to use this but Robot(AWT key Press Event)not working.

My code is:
Java
 listener = new ListSelectionListener() {
 @Override
            public void valueChanged(ListSelectionEvent e) {
Object o = imageList.getSelectedValue();
if (o instanceof BufferedImage) {
                    imageView.setIcon(new ImageIcon((BufferedImage)o));

                }
            
}
}
 imageList.addListSelectionListener(listener);

Well the code is working fine but I want to change the next image using a button or something else
How can I do this?
Please help me in this?
GeneralRe: Perform -> key press Event on GUI programmatically Pin
Richard MacCutchan13-May-13 1:07
mveRichard MacCutchan13-May-13 1:07 
GeneralRe: Perform -> key press Event on GUI programmatically Pin
Shubhashish_Mandal13-May-13 1:37
professionalShubhashish_Mandal13-May-13 1:37 
GeneralRe: Perform -> key press Event on GUI programmatically Pin
TorstenH.13-May-13 1:52
TorstenH.13-May-13 1:52 
GeneralRe: Perform -> key press Event on GUI programmatically Pin
Sachin k Rajput 13-May-13 2:09
Sachin k Rajput 13-May-13 2:09 
GeneralRe: Perform -> key press Event on GUI programmatically Pin
Richard MacCutchan13-May-13 2:41
mveRichard MacCutchan13-May-13 2:41 
AnswerRe: Perform -> key press Event on GUI programmatically Pin
MarlBermudoNights3-Jul-13 22:52
professionalMarlBermudoNights3-Jul-13 22:52 
Questionj2me Pin
Member 100379738-May-13 9:50
Member 100379738-May-13 9:50 
AnswerRe: j2me Pin
Richard MacCutchan8-May-13 20:46
mveRichard MacCutchan8-May-13 20:46 
Questionj2me Pin
Member 100379738-May-13 9:46
Member 100379738-May-13 9:46 
AnswerRe: j2me Pin
Prasad Khandekar21-May-13 4:38
professionalPrasad Khandekar21-May-13 4:38 
QuestionFake Wifi connection Pin
helloah8-May-13 7:04
helloah8-May-13 7:04 
AnswerRe: Fake Wifi connection Pin
jschell8-May-13 8:22
jschell8-May-13 8:22 
GeneralRe: Fake Wifi connection Pin
helloah8-May-13 8:29
helloah8-May-13 8:29 
Questionnetbeans error main class Pin
Yashwanth. C.b5-May-13 7:29
Yashwanth. C.b5-May-13 7:29 
AnswerRe: netbeans error main class Pin
Shubhashish_Mandal5-May-13 20:39
professionalShubhashish_Mandal5-May-13 20:39 
AnswerRe: netbeans error main class Pin
Richard MacCutchan5-May-13 22:18
mveRichard MacCutchan5-May-13 22:18 
AnswerRe: netbeans error main class Pin
somnathdgaikwad8-May-13 20:40
professionalsomnathdgaikwad8-May-13 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.