473,387 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

shortcuts are not working on jtextcomponent

3
Hi

I have connected some forms through short-cut keys.
When i initially enters in the root form, and if the focus in on JtextComponent, the short-cut ctrl-shift-o does not works.
More interesting thing is that if i use some other alphabet than o like (r, s), it works.
And if i have used some other short-cut before like ctrl-shift-r before pressing ctrl-shift-o, the ctrl-shift-o also works.
Is this problem with the API, or code implementation need to be changed

the code implementaion for forms is done in properties file is as follows

FrmIM_InvReview.tabInvReview.0.shortcut = S
FrmIM_InvReview.tabInvReview.1.shortcut = P
FrmIM_InvReview.tabInvReview.2.shortcut = 1
FrmIM_InvReview.tabInvReview.3.shortcut = 2
FrmIM_InvReview.tabInvReview.4.shortcut = R
FrmIM_InvReview.tabInvReview.5.shortcut = O
FrmIM_InvReview.tabInvReview.6.shortcut = e
FrmIM_InvReview.tabInvReview.7.shortcut = a
FrmIM_InvReview.tabInvReview.8.shortcut = I
FrmIM_InvReview.tabInvReview.9.shortcut = f
FrmIM_InvReview.tabInvReview.10.shortcut = H
FrmIM_InvReview.tabInvReview.11.shortcut = u
FrmIM_InvReview.tabInvReview.12.shortcut = D
FrmIM_InvReview.tabInvReview.13.shortcut = C
FrmIM_InvReview.tabInvReview.14.shortcut = N
FrmIM_InvReview.tabInvReview.15.shortcut = T
FrmIM_InvReview.tabInvReview.0 = Selection Criteria
FrmIM_InvReview.tabInvReview.1 = Physical Inventory
FrmIM_InvReview.tabInvReview.2 = Inventory Qty #1
FrmIM_InvReview.tabInvReview.3 = Inventory Qty #2
FrmIM_InvReview.tabInvReview.4 = Resale Prices
FrmIM_InvReview.tabInvReview.5 = Other Prices
FrmIM_InvReview.tabInvReview.6 = Special Sales
FrmIM_InvReview.tabInvReview.7 = Part Info #1
FrmIM_InvReview.tabInvReview.8 = Part Info #2
FrmIM_InvReview.tabInvReview.9 = Part Info #3
FrmIM_InvReview.tabInvReview.10 = Sales History
FrmIM_InvReview.tabInvReview.11 = Return Cores
FrmIM_InvReview.tabInvReview.12 = Returned Defectives
FrmIM_InvReview.tabInvReview.13 = Costs
FrmIM_InvReview.tabInvReview.14 = Notes
FrmIM_InvReview.tabInvReview.15 = Tax Info

for all other short cuts application is behaving fine like r, 1 etc.

is this problem is with jtextcomponent.....
please suggest me some way to come above it.

With Regards
Harbeer Kadian
Nov 15 '07 #1
0 961

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Daniel Forster | last post by:
I have a JTextComponent - lets say a JTextPane - and want to display some text and fractions - for example 2/3. How can I do this? The only way for me was to insert a JComponent which represents...
0
by: SPE - Stani's Python Editor | last post by:
Thanks to Jose Galvez, there is a now a working python installer for python2.4 SPE 0.7.5.b now features a remote, encrypted and embedded python debugger of Nir Aides. Stani Spe is a free...
3
by: headware | last post by:
I have an issue that I've been encountering in an ASP application I'm working on. Most of the application is written in ASP, but there is one page written in ASP.NET. The ASP.NET page needs to have...
0
by: GeorgeF | last post by:
How can I conditionally deploy shortcuts to my application? I have created a custom installer dialog box to give my users the option of creating desktop/start menu shortcuts, but the shortcuts do...
5
by: PAzevedo | last post by:
With ToolStripMenuItem objects i created a 'Tools' menu and from that menu droped an Item to which i assigned a ShortcutKey of 'Keys.Control | Keys.E', and the shortcut doesn't work. This...
331
by: Xah Lee | last post by:
http://xahlee.org/emacs/modernization.html ] The Modernization of Emacs ---------------------------------------- THE PROBLEM Emacs is a great editor. It is perhaps the most powerful and...
0
by: kandi | last post by:
Hi I have connected some forms through short-cut keys. When i initially enters in the root form, and if the focus in on JtextComponent, the short-cut ctrl-shift-o does not works. More...
1
by: scrammit | last post by:
I've created an app using the webbrowser control in .net. The app works fine. Here is what I an having trouble with. I set my app as the default web browser, but internet shortcuts don't...
8
by: BD | last post by:
How can I duplicate the behavior of the operating system shortcut keys in my application? For example, my windows form has 5 controls (textboxes), the operating system will pickup which control...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.