Setting Jbuttons to function as keyboard buttons

Hi
I would like to know how I can set a jbutton to function as a keyboard button. In my application I have a keyboard with alpha numeric keys with
"Shift" "Caps" "Enter" and all that. I want them to function as keyboard buttons, like when I press the jbutton labled "A" it should print "A" on my the text area of my program. if I press Shift and then "A", it should print "a" in my text area. same with all the rest of the buttons. It should be like a on-Screen Keyboard. can anybody help me with this. I will be greatfull
Thanks
Nalin

The buttons are named Q2 and Q4 and are placed in a different cell then the content (both BOLD in the code)
How do I assign these two buttons to make the text scrollable in the cell?
You can't do this with HTML alone.  Scrollbars are a browser function.
The best you can do is wrap content in a division with CSS height and overflow properties.
CSS:
#scrolling {
height: 360px;
overflow: scroll;
HTML:
<td> <div="scrolling">your scrolling content goes inside here....</div></td>
For custom scrollbars/buttons, look at jQuery (scripted) plug-ins.
http://www.net-kit.com/jquery-custom-scrollbar-plugins/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media  Specialists 
http://alt-web.com/
http://twitter.com/altweb

Similar Messages

  • I have a 60G classic with a non-functioning center select button. Can I set a specific playlist and change settings by hooking up to my PC and then maintain those settings and that playlist once I go remote?

    I have a 60G classic with a non-functioning center select button. Can I set a specific playlist and change settings by hooking up to my PC and then maintain those settings and that playlist once I go remote?

    I'm having a little trouble understanding the part about your password having to be reset. Why is that happening??
    Let's start with Firefox's settings:
    (1) You can configure the password manager feature on this tab:
    orange Firefox button (or Tools menu) > Options > Security
    There is a checkbox to enable/disable the feature.
    There also is a "Saved Passwords" button to review and remove any passwords you do not want Firefox to keep.
    That tab also has a feature to set a Master Password so that no one can use your saved passwords without knowing the Master Password. You may need to exit Firefox in order for Firefox to ask for that again.
    Related articles:
    * [[Password manager - Remember, delete and change saved passwords in Firefox]]
    * [[Use a Master Password to protect stored logins and passwords]]
    (2) Site-specific permissions
    If you want to use the password manager for other sites but NOT a particular site, you can configure that in the Permissions Manager.
    In a new tab, type or paste '''about:permissions''' in the address bar and press Enter.
    After the page loads, use the search box in the upper left corner to narrow down the list to the site you want to configure. Highlight the site on the left side, and on the right side, choose Block under Store Passwords.
    (3) Form autocomplete suggestions
    Separate from passwords, Firefox remembers entries you've made into forms (in most cases) and lists the matching ones below the form field in a drop-down.
    To clear a suggestion, press the down arrow key to highlight it and press the Delete key.
    To turn off this feature, see this article: [[Control whether Firefox automatically fills in forms with your information]].
    To review and selectively edit or delete form history entries, you need an add-on. For example, you could try this one: https://addons.mozilla.org/firefox/addon/form-history-control/

  • My keyboard buttons aren't functioning

    my keyboard buttons aren't functioning

    In case Firefox is using a messed up cached version of one or more YouTube files obtained with the previous setting, could you try:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * (menu bar) Tools > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?

  • FUNCTION 'REUSE_ALV_GRID_DISPLAY': KEYBOARD ENTER

    Hi ALV Experts,
    in a user dialog, I call FUNCTION 'REUSE_ALV_GRID_DISPLAY' as a POPUP screen to show relevant data.
    The User can leave the grid by closing the window (ALT-F4 or mouse-click on top-right-corner) or click the ENTER green hook in the menu bar below the grid.
    Now they asked me why it does not react to hitting the ENTER key on the keyboard.
    Actually, I know that SAP has problems with fully integrating some kind of standard, but I don't know if it is possible to make this ALV-popup sensible to detect the ENTER key.
    Thank you to all readers,
    also for all answers not related to the question
    Regards,
    Clemens

    Thank you all,
    it does not help. I do not use an own status and will not implement it.
    OK, I implemented a call-back-functionality.
    So, if the user doubleclicks on the information, the call-backk user_command is called and I set the parameter structure field selfield-exit = 'X'.
    This way the grid is closed as well.
    The thing is that the enter button of the status is set to application function &ONT. This function is not set as default. Hitting ENTER will not trigger anything at all.
    Regards,
    Clemens
    P.S. How to award points to myself? <grin>

  • How to find function code for buttons on toolbar in oops alv

    Hi experts,
    I want to remove some buttons from toolbar in oops alv, i know the procedure like get function code and pass the value in a table and pass that table to IT_TOOLBAR_EXCLUDING of
    method set_table_for_first_display but I WANT TO KNOW HOW TO FIND FUNCTION CODE FOR BUTTONS ON TOOLBAR IN OOPS ALV

    Hi Prakash,
    -->First you have to set the pf status in your alv program by,
    {FORM pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'FIRST'.
    ENDFORM.                    "PF_STATUS}
    -->Pass this Subroutine name in the Function module, Reuse_alv_grid_display's parameters i.e,
          i_callback_pf_status_set          = 'PF_STATUS'}
    *-->Then doble click on that pf status,
    From the menu bar, select Extras->Adjust Template->List Viewer,
    This will give you the existing statndard gui status of the program*
    ->Then catch that function codes in the User command Parameter of the Function module Reuse.. i.e,
          i_callback_user_command           = 'COMM'
    And make a subroutine of the name 'COMM'i.e,
    FORM comm USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
      DATA: okcode TYPE sy-ucomm.
      okcode = ucomm.
      CASE okcode.
        WHEN 'REF'.
        CALL FUNCTION 'POPUP_TO_INFORM'
          EXPORTING
            titel         = 'MANSI'
            txt1          = 'CREATED BY'
            txt2          = SY-UNAME
          TXT3          = ' '
          TXT4          = ' '
    endcase.
    Hope it helps you
    Regrds
    Mansi

  • What is the purpose of Destination Function on Submit Button?(Doesn't work)

    Hi Gurus,
    There is a property "Destination Function" on Submit buttons.
    What is the purpose of this field.
    I tried setting some values here expecting following behavior in order:
    1. Process Form Request will get executed.
    2. User will be navigated to the OAF page related to the Destination Function.
    Destination Function property probably point to setInvokeFunction method of the OASubmitButtonBean.
    Please advise on this.
    Thanks and Regards,
    Prince

    Question 2. What is the purpose of View Instance on Submit Button? Is it there for BoundValues? Any examples how can we use this?
    Question 3. Related to Question 2, What is the purpose of View Instance and View Attribute on Button?

  • Disable Default function of "Back" button for Android.

    Hi there!
    I have tried SO MANY methods to PREVENT the default function of Back button in Android but no success
    This is one of the codes I have used with no success:
    stage.addEventListener(KeyboardEvent.KEY_UP, optionsKey, false, 0, true);
    function optionsKey(ke:KeyboardEvent):void
          if (ke.keyCode == Keyboard.BACK)
                ke.preventDefault();
                ke.stopImmediatePropagation();
              //Do my own code below...
    I am using Flash Cs6 , Air 3.2 for Android , Testing it on LG Google nexus 4.
    When I use the flash simulator, it works fine! Means the Back Button, let the App go back to previous step (as I expect it to do)
    But after I publish the apk (Aspect ratio: Auto , Auto orientation , Render mode: GPU), as soon as I press BACK, it minimize my app!
    (means when i press the Back button on my phone, the App minimize down (not close!). when I re-activate it/click on it, I see the app has actually gone one step BACK (as I programmed and expected), but I just CANT STOP the default action of MINIMIZING/De-activating my app after pressing Back button.
    Anyone have any "Fla" file that I can see it in ACTION please?!
    Because I have used many-many codes and no success yet
    thanks and looking forward for your any kind of hlep...
    Message was edited by: Pouradam

    I got my own answer thanks to myself!!
    in above code .KEY_UP should be changed to .KEY_DOWN.
    simple!

  • When I was setting up the language Setting, I pressed the play/pause button three times and now the voice that talks you through everything speaks extremely fast. How do I get her to speak slower?

    When I was setting up the language Setting, I pressed the play/pause button three times and now the voice that talks you through everything speaks extremely fast. How do I get her to speak slower?

    Hi Magsrobby,
    Welcome to the forum and thanks for posting. I'm really sorry to hear you've had so many problems. I can look into this for you if you wish. Drop me an email with the details. You'll find the "contact us" form in the about me section of my profile. Once I have the details we'll take it from there.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • Where to set the Transfer Function in Photoshop CS5?

    Where do I set the Transfer Function in Adobe Photoshop CS5?
    My college newspaper uses Transfer Function to control dot gain in  B&W photos, saving them as EPS files.
    In CS4 it was a button in the print dialog box, in the output section. It brought up a curves-like dialog to set a transfer curve. That  button is gone now, and the help files offer no help.
    The help files say "Save your file in the Photoshop EPS format, and select the Include  Halftone Screen and Include Transfer Function options in the EPS Options  dialog box." but doesn't say where to create the curve.
    Here's CS5. Compare to CS4 below, and the larger shot below that.
    Here's CS4
    Here's the transfer curve dialog box in CS4 that I can't find in CS5

    Hello!
    It might have been removed for the same reasons screen was removed: http://forums.adobe.com/message/3438135#3438135
    I'd try to use the same workaround: set a document transfer curves as you want, save it as a template, then open it in CS5.

  • Adding functionality to existing buttons, not overriding

    Hi,
    I have a toolbar that I created that has some new buttons as well as some of the already existing buttons in acrobat. I know we can use AVSetExecuteProc() to set the functionality of the buttons. For the already existing buttons, is there some way to add to the existing functionality and not completely override it?

    Hi,
    I'm trying to "head patch" the button's execution proc. How could I achieve
    this?

  • Turning off audio while shuttling through clips using keyboard buttons

    Is there a way to turn off the audio while shuttling through clips when using either the J, K, and L buttons or the left and right arrow keys?  I have audio skimming turned off but this only turns off the audio while skimming with the mouse, and not using the keyboard buttons above when you want to make a more precise edit.
    Many thanks for your help!!

    Hi Russ,
    Thank you for replying.  You're correct that keyboard shorcut toggles the audio skimming on & off, but if it's off I'm still hearing audio while I shuttle through clips using the keyboard buttons J & L or using the Left & Right arrow keys.  I would think that would turn off the audio for those functions too and not just skimming with the mouse.
    Do you know of a solution?
    Thanks,
    Reid

  • IPad keyboard will not dismiss with hide keyboard button

    I have a UITextField on my screen. The keyboard will not disappear when I press the hide keyboard button in the lower right corner. Pressing the "Done" button works just fine and the keyboard will disappear.
    I have connected the textbox's delegate to Files Owner. Verified by looking at the Text Box's Connection Inspector.
    Under Outlets for the textbox "delegate-Files Owner"
    My H file contains  @interface SettingsView : UIViewController <UITextFieldDelegate, UITableViewDelegate, UITableViewDataSource>{
    In my M file I have the following code.
    -(BOOL) textFieldShouldReturn:(UITextField*) textField {
        [textField resignFirstResponder];
        return YES;
    When I press the keyboard hide button(lower right corner), the keyboard buttons will sometimes become unresponsive for about 1 second, but the keyboard will not disappear. I would appreciate any guidance with solving this problem. I find it troubling that this key is not working. My efforts to find a solution have come up nil and there appears to be little to no documentation anywhere regarding this lower right corner button.
    Thanks in advance.

    Thanks for the quick reply. Unfortunately nothing worked. Below is the extra code added in my M file
    - (BOOL)textFieldShouldEndEditing:(UITextField *)textField
        [textField resignFirstResponder];
        return YES;
    I placed a breakpoint in both the textFiledShouldEndEditing and textFieldShouldReturn. In both cases neither function was called when I pressed the hide keyboard button. They were only called when I pressed the Done button. After a little more research I have found people with the exact same problem, yet no solutions available.
    What gets called when the user presses the hide keyboard button? Is this hide keybaord button new?
    My only assumption is that somehow the code behind the keyboard has a bug in it that I'm experiencing. I have a few older iPad projects that I decided to try out and run. Each have a UITextEdit field and every one encounter the same problem with the hide keyboard button.

  • Error on @ character keyboard button

    I am using my ideapad s10e laptop for the first time however the @ character keyboard button only types ' characters  or " characters when the shift key is also used. How do I change this or is there a fault?
    I have had to cut & paste the @ character onto this posting and when registering on the forum from the hotmail logon id example.
    Solved!
    Go to Solution.

    Now fixed. The keyboard setting was hidden away under Text Services and Input languages on Control Panel...Date, Time, Language, and Regional Options...Regional and Language...Languages..  
    I am pretty sure the English [United States] keyboard setting was the recommended one during set-up.  

  • Developing a screen with buttons like keyboard buttons

    I want to develope a screen with a keyboard buttons (same as keyboard modal) in swings.Plz help me on this topic.
    Thanks in advance.

    Is there any predefined code to develope a screen with buttons same as keyboard buttons functionality model in swings technology.

  • Problem setting a hidden item value when button clicked with dynamic action or pl/sql process

    Apex 4.1
    Oracle 11g
    I have a page that consists of a main region and several sub regions.  I have a pl/sql process in After Header SET_DISPLAY(:P400_DISPLAY :='MAIN';)
    Three subregions have a contional display where P400_DISPLAY = STORE.  This works in hiding the sub regions.
    Now I want to change the P400_DISPLAY value to STORE to show the subregions when I hit a button.
    I tried creating a dynamic action for on click of the add button but get the following error:
    The selected button uses a 'Button Template' that does not contain the #BUTTON_ID# substitution string
    I went to the templates and found:
    Substitution Strings
    Substitution strings are used within sub templates to reference component values. This report details substitution string usage for this template.
    Substitution String
    Referenced
    From
    Description
    #LINK#
    Yes
    Template
    To be used in an "href" attribute
    #JAVASCRIPT#
    No
    To be used in an "onclick" attribute
    #LABEL#
    Yes
    Template
    Button Label
    #BUTTON_ATTRIBUTES#
    No
    Button Attributes
    #BUTTON_ID#
    No
    Generated button ID will be either the button's Static ID if defined, or if not will be an internally generated ID in the format 'B' || [Internal Button ID]
    I then tried creating a page process, pl/sql, :P400_DISPLAY :='STORE'; when the appropriate button is pressed.  The button action is submit page. However, it does not change the P400_DISPLAY value and the subregions stay hidden.
    Suggestions please on how to fix the template or change the P400_DISPLAY value?

    The root issue is that, although you change the value of your page item, it isn't visible to other areas of the page until it is in the session. So, any other action based on the value of your page item; the visibility of a control, a report based on the item's value, etc. will all be unaffected by changing the value of the page item until it has been changed in the session. Even after this the items are stored in the session, you must thereafter do something to cause the value to be reevaluated. To see the effect of this, observe that your page loads and evaluates the value of your page item, it sees that is "MAIN" and hides the regions. However, it doesn't reevaluate them after this.
    So; your choices to get this value set in the session are to either Submit the page, or use JavaScript to set the value in the session. If you use the latter of these, you'll have to do some further work to cause the visibility tests to be re-run, So, let's stick with with the submit method.
    What you've done above sounds correct for this but, there are a lot of decisions you could have made that might have caused things not to happen in the correct sequence.
    Firstly, let's confirm that what I describe above is your problem. From the development environment, load the page, click the button to change the value and submit. Now, click the link labelled Session. Is it still set to MAIN? If so; this is your issue.
    Let's start with the your After Header computation. Did you set it to *only* run if the current value of your page item is NULL??? If not, that's your problem.
    Load Page -> Item set to 'Main' by Computation -> Click Button -> Item set to STORE -> Submit -> Load Page -> Item set to 'Main' by Computation
    See the problem?
    Assuming this isn't the issue, you created a Branch to the same page, right? What is your process point for the Branch? Is it *After* Validation, Computation etc? Because if not, you aren't changing the value before the submit happens.
    I bet it is the first issue but, take a look at these.
    Cheers,
    -Joe

Maybe you are looking for

  • Commercial no

    in import po i have done miro for custom duty after then when i m doing capturing excise invoice i am not getting the pop tab for commercial invoice no, what will be configuration missing. regard nabil

  • Restriction of promotion attribute values

    Does anybody know how to restict the values of attributes for promotions. For example we want to enter a rabatt (save) for promotions and need the value for further calculations. How can I avoid the user enters 25 %, 25 or 0,25. Thanks in advance. Th

  • 1800 Series Router and QoS

    Hi, Ive run throught he QoS wizard on SDM which seems adequate, but I have another questsion. I would like to classify the PCs on my network according to the MAC addresses for their network cards. For each class I want to allocate existing bandwidth

  • Current Macbook pro 13" i5 question

    Hello, I am new to Mac, I've used Windows my whole life, so sorry if I say anything stupid. I will be a student in a few months and I want to buy a Macbook for my study. So I need a portable one. I wanted to ask if the 13" with i5 is good enough for

  • Elemente werden in der Vorschau verschoben angezeigt ( Adobe Muse)

    Hi , die Elemente bei Adobe Muse  (Bilder und Texte) werden in der Vorschau anders angezeigt als im Bearbeitungsmodus. Sie werden verschoben angezeigt. Seltsamerweise werden sie ( nach längerem hin und her probieren) gleichmäßig angezeigt, wenn man e