Cannot enter symbols other than numbers into cell

I'm using a JTable with custom TableModel. All editable cells accept numbers (0..9), but does not accept any other symbols (letters, special symbols such as "," or "." etc).
I'm sure the solution to let my JTable accept other symbols ist very simple, but I just cant find which component or class controlls this!
There ist no data type validation in my TableModel:
    public void setValueAt(Object value, int row, int col) {
            data[row][col] = value;
            fireTableCellUpdated(row, col);
        }

No I didn't!
I'm using this code to do a "doClick()" on a JTable cell when component with the table is shown to enter editing mode.
But when I double click on a cell, there must be other (standard???) editor being evoked to edit the cell, right?
            if(AddedArticlesTable.getRowCount() != 0){
                SwingUtilities.invokeLater( new Runnable() {
                     public void run() {
                         AddedArticlesTable.editCellAt(
                                 AddedArticlesTable.getRowCount() - 1, 0);
                         // replace row and col with desire row and col
                         JTextField editor = (JTextField)(
                         (DefaultCellEditor)AddedArticlesTable.getCellEditor(
                            AddedArticlesTable.getRowCount() - 1, 0)
                            ).getComponent();
                         // replace row and col with desire row and col
                         editor.selectAll();
                         editor.requestFocusInWindow();
            }

Similar Messages

  • A library on my hard drive became corrupted, so I over-wrote it from an external hard drive.  When I access the library now on my hard drive, many of the images are vertical, and cannot be rotated other than one at a time.  Ideas to correct this?

    A library on my hard drive became corrupted, so I over-wrote it from an external hard drive.  When I now access the library on my hard drive, many of the images are vertical, and cannot be rotated other than one at a time.  Ideas to correct this?

    You had already done "Repair" and "Rebuild"?  These usually takes scores of minutes or hours.
    Does the Library on your external drive work from the external drive?  Navigate to it in Finder and double-click the name.
    If it does, delete the problem Library, empty the System Trash, reboot, Verify your system disk using Disk Utility (and might as well repair permissions while you're at it), reboot, test the external drive Library once more to confirm it works properly, then close it and copy the Library to your system drive.  When the copying is done, double-click the Library (now on the system drive) and see what you get.

  • I bought my macpro in NY but now I live in France. I want to order an album via IPHOTO and it cannot be delivered other than in US??? please I need help

    I bought my macpro in NY but now I live in France. I want to order an album via IPHOTO and it cannot be delivered other than in US??? please I need help

    I assume you mean 'Order an album via iTunes', not iPhoto.
    If you live in France, I believe your account with Apple will need to show a French residential address and be supported by a credit card issued by a bank in France.
    That means you will need to open a new account if these details are not part of your current account.
    Incidentally, some albums in iTunes USA are not available in all countries due to licensing agreements etc.

  • HT5457 Cannot get ringtones other than default ringtones since downloading ios 6

    Cannot get ringtones other than default ringtones since downloading ios6

    I should also mention that I tried the posted trick of changing the year to 2013 and attempting to update or download apps. Yeah... that doesn't work.

  • Restrict entering UOM other than selecting from the master list of UOM

    Dear all,
    Can someone enlighten me on the following query:
    To restrict the user entering UOM other than the UOM maintain in CUNI in PR and PO creation.
    Can this done by change in IMG or need to code a exist to check UOM entered is not maintained in CUNI?
    Regards,
    Peck Har

    Hi,
    Yes it happend only for UOM code 000 and 001, which these two UOM is not maintained in CUNI. But our user entered 000 in PR transaction.
    Regards,
    Peck Har

  • How to import user profiles from external sources(other than AD) into SharePoint

    Hi,
    I want to import user profiles from external sources other than AD.
    Badri

    You have to use BCS for importing the profiles,
    Check the following link with explanations
    http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
    Please Mark it as answer if this reply helps you in resolving the issue,It will help other users facing similar problem

  • Cannot compile anything other than default.as

    Hello group, have downloaded trial Flex Builder, installed
    2.0.143 on xp pro. Have debugger 9.0.28 successfully installed.
    Have been able to write mxlm and run file. Though now I need to
    compile/run large as3 file. Create project and compile and run is
    ok as default.as. When I create a package and do import that works
    but the compiler in the package folder does not show compile
    errors.
    Even if I try to produce error or take default.as with
    compile errors and put them in created folder compiler does not see
    the errors as it did when it was in root as default.as.
    Also cannot get a trace to show up? Did a search on c:\ for
    mm.cfg cannot find? Did uninstall and re-install samething?
    Also line numbers on files drop out at times even though they
    are invoke in preferences and I only have one perspective?
    Can any one help?

    as specified in the error message, you can download it - together with the newest version of the Zotero MacWord Integration - on the Zotero webpage:
    http://www.zotero.org/support/word_processor_plugin_installation_for_zotero_2.1#microsoft_word

  • Cannot map roles other than Project Administrator and SOA Designer

    I've installed PS4 HC FP Stage 3 on Windows, and I have seeded the demo community users. When I use Business Process Workspace to map roles to these users, the only roles available to me in the Select Role list are Project Administrator and SOA Designer. I was expecting to be able to map far more roles, thus:
    * mtwain needs the Project Creator, Designer, Deployer, Project Documentor, and SOA Designer roles.
    * jcooper needs the Designer role.
    Any idea what's wrong?

    I would like to know also. I have made many DVDs, but the number order does seem to be random. For presentation purposes I want to play a specific clip by hitting it's corresponding number on the DVD player remote when the DVD is at a complete stop (so if I put the movie clip in the 2 spot and hit the number 2 on the remote, then the 2 movie clip will play). I can get this to work from the menu by dropping them in iDVD in the order I want and waiting for each to encode before dropping the next, but at a complete stop I cannot ensure number 2 on the remote will play number 2 on the DVD. To me it looks like iDVD gives those numbers in the order in which the audio is encoded when burning, with the shorter clips first and longer ones last.
    Can anyone help me?

  • Cannot close iphoto other than force quit

    help- i cannot close iphoto- I am trying to clean up and eliminate old photos as I am running out of space- i have tried moving out my preference library as suggest in a prior post - still no luck- any suggestions?
    gail

    Your Library is corrupted.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Cannot text to other than other iPhones

    I have read the other posts and tried most solutions but I still cannot text to or receive  text messages from non-iPhone users. Just purchased iPhone 5S. Open to other ideas.

    Settings/Messages. Turn on Send as SMS. If it was on contact your carrier; you may not have SMS provisioned on your account.

  • Cannot receive mails other than icloud acct since upgrading to OS X Yosemite

    I upgraded my computer to OSX Yosemite yesterday, since then I have not been able to receive mails rather than my icloud account.
    I am using the same mail set up which was working before.
    I also check the Mail connection doctor and all the other mail boxes work fine.
    I could sent mails but I do not see any incoming mails.
    Please help.

    Hello HK mac user,
    Thank you for using Apple Support Communities.
    You can follow the steps in this article to troubleshoot your email accounts. You mention using Mail Connection Doctor, but not how it rated the account in question. This article will give you steps to perform depending on what Mail Connection Doctor says.
    OS X Mail: Troubleshooting sending and receiving email messages - Apple Support
    Regards,
    Jeff D. 

  • Turning on bluetooth other than going into settings

    Can I turn Bluetooth on and off without going into settings all the time?

    http://www.iphoneincanada.ca/how-to/add-sbsettings-like-toggles-to-your-homescre en-on-ios-without-jailbreak/

  • Purchased album...cannot access it other than through purchase history..

    Help. I purchased a new album...just received my nano for b'day...new to this. Purchased but it does not show up in my itunes list to sync. How do I get this onto the playlist to sync? I can only view it in purchase history.

    Did you purchase and download the album through the computer to which you're connecting your iPod? Or did you buy and download the album on a different computer?

  • Spaces labels other than numbers for the spaces

    Seems to me that if would be nice to have custom labels for the various workspaces instead of just a number. a number prefix is fine as that helps the keyboard shortcut to jump to the space. but a name and even a color for the menu on the menu bar would help.

    Post Author: V361
    CA Forum: Formula
    Record number from CR will count all the records.  You could use a running total, and reset on change of group.

  • Entering symbols in GTK programs

    I use the spanish ISO keyboard layout, and I've noticed I cannot enter symbols that require the option key (such as \|@#¢∞{}[]€£) into GTK programs.
    If I set the swapAltMeta preference to true, I can get them with the command key, while the option key works for menu and button shortcuts, but I can't type things like £, because that uses the shift key, and command-shift-4 will make a screenshot.
    How can I get the option key to work like it does on Mac OS, for entering special characters?

    Could you respond here:
    http://bbs.archlinux.org/viewtopic.php? … 52#p515452
    with your configuration?

Maybe you are looking for

  • Videos/movies will not sync

    So I have about 6 or 7 videos in my Itunes, I know one for usre is :Itunes" compatible as I downloaded it in that format, however they will not sync to my 120gb Ipod. I've re-set my ipod, I've removed the vids and put them back in. but they will not

  • Acrobat causes Nvidia driver to stop and recover

    I accidentally started this in the Photoshop forum in an nvidia thread - I was told to move it, so here I am.  Apologies. I am running an EVGA nVidia GeForce 7200GS 512 MB VGA/DVI/TV-out PCI-Express Video Card (model# 512-P2-N430-LR). Windows 7 (32bi

  • Cant select and delete text messages

    Since the latest ios7 update i can no longer select and delete text messages.  I have to delete the entire conversation.  Anyone else having this problem? Is there a fix?

  • SAP SD CIN Query- 6

    Hi Is there any standard working scenario (approach) for any particular list of movement types which are required (configured) only for updating RG1 register(J1I5) and other set of movement types which are for updating RG23 A & C? or any common movem

  • I think i broke my i pod

    whenever i plug in my nano it does not even bring up i tunes and i cant get the dang thing to do jack squat i really need help it just reset it self please help a noob. oh and it never up dates with songs it just says do not disconnect all the time