Results 1 to 16 of 16
Thread: Help in KeyEvent
- 05-16-2010, 03:40 PM #1
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
Help in KeyEvent
I have tried searching on google about my problem, yet I can find the right logic (understand) for me the code my key combination ([Left]Control + [Left]Shift + A)
I have a thread in this forum on this thread but I am still confused about it.
So, if there is a possible. Upon the codes given to be by google, how could I implement this key combination to work.
The logic is like this. Orginally, A JFrame, inside a JWindow, which contains a group layout of other components (the components are not focused, only the JWindow). Upon pressing the key combination ([Left]Control + [Left]Shift + A), an action is performed.
I will try to create a SSCCE for this thread, though I already have one but using javax.swing.KeyStroke (provided by camickr, the code is located in the other thread).Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-16-2010, 04:59 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Please don't post the same question in several times in different sub-forums. If you feel that you've not post your questions in a wrong sections please send a PM to one of our moderators and ask to move. They we'll do it for you. :)
- 05-17-2010, 04:14 AM #3
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
This thread is in the right section.
But is there anyone to help me answer this thread.
I will be delighted if you could guide me.Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-17-2010, 04:33 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Can you show me what you've done so far? Or post here the link to other thread you've post.
- 05-17-2010, 07:06 AM #5
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
Here is the link you request of.
Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-17-2010, 07:24 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 05-21-2010, 02:48 PM #7
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
Ahm. Eranga, have you found anything so far?
Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-21-2010, 03:32 PM #8
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,427
- Blog Entries
- 7
- Rep Power
- 17
It was not a clever thing to abandon your previous thread: Camickr was answering your question; that guy is a miracle when it comes to Swing, he knows a lot about it and you should really read his replies and blog securely because the answer is there: study those key bindings and actions because that is the way to go (I can't give you any details because I have to look them up myself for those JFrames and JDialogs).
kind regards,
Jos
- 05-22-2010, 12:18 PM #9
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
So the other thread isn't look at by our OP.
- 05-22-2010, 03:15 PM #10
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
I don't know. What do you means by OP?
Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-22-2010, 04:10 PM #11
Senior Member
- Join Date
- May 2010
- Posts
- 436
- Rep Power
- 4
OP stands for either Original Post or Original Poster, depending on the context (here it means original poster).
- 05-23-2010, 02:09 PM #12
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 05-26-2010, 02:21 AM #13
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
Oh I see now. But if I am to use the post of the other thread.
Could I solve this thread?
The problem on that thread. The two lines of the program has error.Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-26-2010, 03:48 AM #14
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 05-26-2010, 06:55 AM #15
Senior Member
- Join Date
- Mar 2010
- Location
- Manila, Philippines
- Posts
- 257
- Rep Power
- 4
Every project, package, class, method, variable, syntax, algorithm, etc.
are registered in my memory bank. Thanks to this thread.
- 05-26-2010, 08:12 AM #16
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
That's why other are helping out here in the forum.
Similar Threads
-
JOptionPane KeyEvent
By mine0926 in forum NetBeansReplies: 5Last Post: 05-05-2010, 02:03 AM -
How can i use keyevent even tho the program isnt selected?
By Addez in forum New To JavaReplies: 11Last Post: 12-25-2009, 10:30 PM -
Brainbox needed -- KeyEvent VK_* constants stable??!
By Spiller in forum AWT / SwingReplies: 0Last Post: 08-17-2009, 03:59 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks