Jspinner key detection

I have a JSpinner implemented in a JTable. The spinner is implemented as a table cell renderer, with a matching custom editor.
JTable implementation.....
table_Shots.getColumnModel ( ).getColumn ( i ).setCellRenderer ( new ToHoleColumnRender() );
table_Shots.getColumnModel ( ).getColumn ( i ).setCellEditor(new ToHoleColumnEditor( ));
renderer class definition....
class ToHoleColumnRender extends JSpinner implements TableCellRenderer
editor class defintion....
class ToHoleColumnEditor extends AbstractCellEditor implements TableCellEditor
The spinner implements a custom model which dynamically displays distance as either "nyds", "nft" or "nft nin".
The user would like to have the spinner change the display from 'nft nin' to just 'nft' by pressing the shift key. Therefore, there is a need to detect the shift key by the spinner.
Following the advice in this forum in other posts, I tried a keyListener on the textfield from the editor, code:
JSpinner.DefaultEditor editor = (JSpinner.DefaultEditor) getEditor();
JComponent textField = editor.getTextField();
textField.addKeyListener(new MyKeyListener());
but to no avail, i.e. keystrokes were not detected when pressing the key and then the spinner control. I also tried putting the KeyListener on the spinner with the same results. Can anyone advise on how to get keystrokes to the spinner in the jtable?
Thanks
Lou

Thanks for the response.
I can't seem to find something in the manual pitch correction effect that will tell me what key the sound loop is in.  Is there a step by step process you could give me?  Or is there some other program that can detect the key of a loop and if there is could you tell me how to do it?
Thanks,
Mike

Similar Messages

  • IsKeyDown - Multiple key detection ?

    does anyone know of how to read two keys or check two keys are down/pressed?
    I am trying to do a game where the object can mover diagonally so i need the game to react differently if 2 cursor keys are down?
    Any ideas about the isKeyDown() function?
    The keypressed/ keyreleased function i think will only detect one at a time.
    cheers all

    Try this quick Swing App I knocked up using Sun One. It shows multiple key detection, doesn't mind simultaneous key presses.
    I wrote the code for clarity more than anything else.
    Run it, see what it does and how it reacts to the cursor keys being pressed.
    * KeyEvents.java
    * Created on 05 December 2002, 16:21
    package andy.apps.KeyEvents;
    import java.awt.event.*;
    import java.awt.*;
    import javax.swing.*;
    public class KeyEvents extends javax.swing.JFrame {
        /** Creates new form KeyEvents */
        public KeyEvents() {
            initComponents();
            upPanel.registerKeyboardAction(new UpOnListener(), KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0, false), JComponent.WHEN_IN_FOCUSED_WINDOW);
            upPanel.registerKeyboardAction(new UpOffListener(), KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0, true), JComponent.WHEN_IN_FOCUSED_WINDOW);
            downPanel.registerKeyboardAction(new DownOnListener(), KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0, false), JComponent.WHEN_IN_FOCUSED_WINDOW);
            downPanel.registerKeyboardAction(new DownOffListener(), KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0, true), JComponent.WHEN_IN_FOCUSED_WINDOW);
            leftPanel.registerKeyboardAction(new LeftOnListener(), KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0, false), JComponent.WHEN_IN_FOCUSED_WINDOW);
            leftPanel.registerKeyboardAction(new LeftOffListener(), KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0, true), JComponent.WHEN_IN_FOCUSED_WINDOW);
            rightPanel.registerKeyboardAction(new RightOnListener(), KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0, false), JComponent.WHEN_IN_FOCUSED_WINDOW);
            rightPanel.registerKeyboardAction(new RightOffListener(), KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0, true), JComponent.WHEN_IN_FOCUSED_WINDOW);
        class UpOnListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                KeyEvents.this.upPanel.setBackground(Color.black);
        class UpOffListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                KeyEvents.this.upPanel.setBackground(Color.white);
        class DownOnListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                KeyEvents.this.downPanel.setBackground(Color.black);
        class DownOffListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                KeyEvents.this.downPanel.setBackground(Color.white);
        class LeftOnListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                KeyEvents.this.leftPanel.setBackground(Color.black);
        class LeftOffListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                KeyEvents.this.leftPanel.setBackground(Color.white);
        class RightOnListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                KeyEvents.this.rightPanel.setBackground(Color.black);
        class RightOffListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
                KeyEvents.this.rightPanel.setBackground(Color.white);
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        private void initComponents() {
            upPanel = new javax.swing.JPanel();
            leftPanel = new javax.swing.JPanel();
            downPanel = new javax.swing.JPanel();
            rightPanel = new javax.swing.JPanel();
            getContentPane().setLayout(new java.awt.GridLayout(2, 2));
            addWindowListener(new java.awt.event.WindowAdapter() {
                public void windowClosing(java.awt.event.WindowEvent evt) {
                    exitForm(evt);
            upPanel.setBorder(new javax.swing.border.TitledBorder("Up"));
            upPanel.setBackground(new java.awt.Color(255, 255, 255));
            getContentPane().add(upPanel);
            leftPanel.setBorder(new javax.swing.border.TitledBorder("Left"));
            leftPanel.setBackground(new java.awt.Color(255, 255, 255));
            getContentPane().add(leftPanel);
            downPanel.setBorder(new javax.swing.border.TitledBorder("Down"));
            downPanel.setBackground(new java.awt.Color(255, 255, 255));
            getContentPane().add(downPanel);
            rightPanel.setBorder(new javax.swing.border.TitledBorder("Right"));
            rightPanel.setToolTipText("null");
            rightPanel.setBackground(new java.awt.Color(255, 255, 255));
            getContentPane().add(rightPanel);
            pack();
        /** Exit the Application */
        private void exitForm(java.awt.event.WindowEvent evt) {
            System.exit(0);
         * @param args the command line arguments
        public static void main(String args[]) {
            new KeyEvents().show();
        // Variables declaration - do not modify
        private javax.swing.JPanel upPanel;
        private javax.swing.JPanel leftPanel;
        private javax.swing.JPanel rightPanel;
        private javax.swing.JPanel downPanel;
        // End of variables declaration
    }

  • Hot key detection in a near cache?

    I found this example to detect hot keys in a distributed cache server:
    http://wiki.tangosol.com/pages/viewpage.action?pageId=16686
    How would I accomplish the same thing but for a near cache?
    thanks
    sam

    Hi,
    NamedCache coherenceCache = CacheUtils.getNamedCache( CacheUtils.getCacheRegionPrefix() + region.getRegionName() );
    if (coherenceCache instanceof NearCache)
    NearCache nearCache = (NearCache)coherenceCache;
    CachingMap cachingMap = (CachingMap)nearCache;
    Map backingMap = cachingMap.getBackMap();
    OR
    Map backingMap = nearCache.getBackMap();
    getFrontMap() and getBackMap() are methods from CachingMap.
    Thanks & Regards,
    Murali.
    ============

  • JWS different key detection

    this question came across my mind now, i didn't look up the answer quite well i'm afraid.
    considering the fact that 2 different keys were used to sign the jars of one application, does JWS checks/warns/detects this or does it pass uncaught ?
    This could be a normal behavior ( ie. it's acceptable to have the case ) but i have not come across such a situation so far and i have not had the time to test as i do not have 2 keys handy right now but i will as soon as i have time though.

    _steve wrote:
    i need a bit of clarification coz my question was not so clear i'm afraid,sorry.
    considering the fact that 2 different keys were used to sign the jars of one application, does JWS checks/warns/detects this or does it pass uncaught ?so let me reform.With this i did not mean like sign your jars 2 times in a row with 2 different keys, i meant sign some of the jars with one key and the rest with the other one.
    I'm also referring to "key" and "certificate" as one same entity, that's irrelevant to the main issue i guess, but just for clarification...
    I'm trying to understand the security risks i might face.Yes, that's like I understand you: having some of the jars signed by cert A and some signed by cert B. This is not allowed by web start. However, you can make use of "extensions" to include jars and resources which are signed by a different cert, e.g. third party jar files.

  • Fex Pitch Key Detection

    Hi,
    Example:
    I have a clean vocal and drag that vocal into Melodyne, it can then tell me what key it thinks that vocal has been sung in, can Flex Time do this?
    Many Thanks
    Simon.

    Thanks for the response.
    I can't seem to find something in the manual pitch correction effect that will tell me what key the sound loop is in.  Is there a step by step process you could give me?  Or is there some other program that can detect the key of a loop and if there is could you tell me how to do it?
    Thanks,
    Mike

  • Key Detection

    Hi,
    I'm trying to figure out what the key of a piano loop is.  A while back, I was able to do this with Audition 3 but can't remember how I did it.  I'm using Audition CS6 now, so any help on finding out what the key of a piano loop (or violin/choir/guitar/bassline/etc loops too)
    Thanks,
    Mike

    Thanks for the response.
    I can't seem to find something in the manual pitch correction effect that will tell me what key the sound loop is in.  Is there a step by step process you could give me?  Or is there some other program that can detect the key of a loop and if there is could you tell me how to do it?
    Thanks,
    Mike

  • After BIOS update failure and rollback, audio hot keys detect press but do not function

    All other hot keys appear to function properly, only the mute/audio-/audio+ hot keys do not work.
    I can press the key and the vertical volume indicator displays but it does not move.
    At this time, I suspect this has to do with the failed BIOS update yesterday. All keys functioned properly before the failed BIOS update.
    All HP drivers and software are updated to latest.
    Another symptom I don't know may be related is that my bluetooth headphones have refused to connect once now without a full reboot. Bluetooth would connect and speaker audio audio would be muted, and sometimes "Manage Audio Devices" indicated connected to headphones but no headphone audo.  Will warrant further watching.
    The BIOS update was the most recent as of this writing and attenmpted to update only yesterday. I watched as the new BIOS progressed all the way to the point the BIOS attemnpted to flash and failed, then rolled back. I assume a backup was flashed because all my non-default BIOS settings had to be reset (non-UEFI boot, enable virtualization). 
    TIA,
    Tony
    BTW - I find it odd I can't just press a button to export/print my system configuration from the HP Support Assistant, I have to click every individual entry separately, but here goes...
    The current running BIOS is F.63
    The full results follows
    HP ENVY TS 17 Notebook PC
    5CG3331YPX
    E9G82UA#ABA
    Windows 8 64-bit 
    Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
    12GB
    4GB  Micron Technology 1600MHz
    8GB  Hynix 1600MHz
    Intel(R) HD Graphics 4600
    1920 x 1080
    60
    1965 KBC Version 93.51
    F.63
    IDT High Definition Audio CODEC
    Bluetooth Hands-free Audio

    Seems after another day,
    The problem resolved itself.
    No reboot, no significant changes to the machine I can think of since my original post.
    Just a spontaneous  self-fix.
    Thx,
    Tony

  • Console key detection

    Is there a way to listen if a certain key, such as the up arrow key, has been pressed in a console window?

    http://sourceforge.net/projects/javacurses/

  • 2 part question - loading and key detection...

    Hi,
    I have an issue with a function. I have been developing my first AS3 application and everything was running smoothly until I added a second frame. I had this code on frame 1, which was working perfectly:
    function keyDetection() {
    stage.addEventListener(KeyboardEvent.KEY_DOWN, showRevisionWindow);
    function showRevisionWindow(keyEvent:KeyboardEvent) {
    var modifier:String="";
      var keyPressed:String="";
      keyPressed=keyEvent.keyCode.toString();  
    if(keyEvent.ctrlKey && keyEvent.keyCode == 192){
      if (revisionAuthorWindow.visible == false){
         revisionAuthorWindow.visible = true;
       revisionAuthorWindow.x = 256;
       revisionAuthorWindow.y = 192;
        }else{
         revisionAuthorWindow.x = -300;
           revisionAuthorWindow.y = -300;
           revisionAuthorWindow.visible = false;
    keyDetection();
    I moved the code to frame 2, added a loader function to frame 1, and now when I enter frame 2, I recieve this message:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at SIMmersion_frontEnd_prototype_menu02_loadingTest_fla::MainTimeline/keyDetection()
    at SIMmersion_frontEnd_prototype_menu02_loadingTest_fla::MainTimeline/SIMmersion_frontEnd_pr ototype_menu02_loadingTest_fla::frame2()
    However, if I move this code back to frame 1, or comment out my loader function on frame 1 and go directly to frame 2, I will not receive the error.
    Here is the loader code I am currently using on frame 1, while the code above is currently on frame 2:
    stop();
    var loader : Loader = new Loader(); 
        var request : URLRequest = new URLRequest("myFile.swf"); 
        loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, updateProgress);
        loader.load(request);
    function updateProgress(event : ProgressEvent) : void
        var pI  = event.bytesLoaded/event.bytesTotal*100;
    trace ("pI = " + pI + "%");
    preLoader.pLoader.width = pI*5 ;
    var pI_int:int  = event.bytesLoaded/event.bytesTotal*100;
    preLoader.pIInt.text = "Loaded: " + pI_int + "%";
    if (pI_int==100){
      preLoader.visible = false;
      gotoAndStop(2);
    }else{
      preLoader.visible = true;
      gotoAndStop(1);
    If anyone could shed some light on why this happening, I would be very appreciative.
    Also, how do you use a URLRequest to reference 'itself'. Instead of using "myFile.swf", I want to reference the Flash file itself without having to indicate a name of the Flash file to load. is that possible?
        var request : URLRequest = new URLRequest("myFile.swf");
    something along the lines of:
        var request : URLRequest = new URLRequest(this);
    Thanks in advance; I know this is a long-winded question.
    Cheers,
    ~Chip

    No replies. Eric

  • Office 2013 license pack does not allow me to activate key within configuration wizard

    Hello,
     I have a KMS host running Office 2010 activations for our client computers which is running fine. I installed the Office 2013 license pack on the same host. However, in the configuration wizard it doesn't allow me to activate the product key. Is there
    a way around this?
    My client laptop isn't activating against the KMS host, and I have Office 2013 installed on my laptop. This is what I get when I run
    cscript ospp.vbs /act on my client laptop
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    C:\Windows\system32>cd c:\
    c:\>cd program files
    c:\Program Files>cd microsoft office
    c:\Program Files\Microsoft Office>cd office 15
    The system cannot find the path specified.
    c:\Program Files\Microsoft Office>cd office15
    c:\Program Files\Microsoft Office\Office15>ospp.vbs /act
    c:\Program Files\Microsoft Office\Office15>cscript ospp.vbs /act
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    ---Processing--------------------------
    Installed product key detected - attempting to activate the following product:
    SKU ID: b13afb38-cd79-4ae5-9f7f-eed058d750ca
    LICENSE NAME: Office 15, OfficeStandardVL_KMS_Client edition
    LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
    Last 5 characters of installed product key: 92CD4
    ERROR CODE: 0xC004F038
    ERROR DESCRIPTION: The Software Licensing Service reported that the product coul
    d not be activated. The count reported by your Key Management Service (KMS) is i
    nsufficient. Please contact your system administrator.
    ---Exiting-----------------------------
    c:\Program Files\Microsoft Office\Office15>

    Hi,
    Please check if your KMS host key for Office 2013 is valid and you can try to activate the KMS host by telephone.
    To get the key for the Microsoft Office 2013 KMS, sign in to Microsoft Volume Licensing Service Center.
    On this page, don’t choose the Key Management Service Host Key. Choose the Office version you are licensed for instead, and look for the KMS key for that version.
    http://technet.microsoft.com/en-us/library/dn385356.aspx
    To activate an Office KMS host by telephone
    http://technet.microsoft.com/en-us/library/dn385356.aspx#BMK_ToactivateanOfficeKMSbytelephone
    KMS activation of Office 2013
    http://technet.microsoft.com/en-us/library/ee624357.aspx
    If issue persists, it is recommended to post the question in Office forums for further troubleshooting.
    http://social.technet.microsoft.com/Forums/office/en-US/home?category=officeitpro&filter=alltypes&sort=lastpostdesc
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • Is it possible for Apple to add "key" to the view options selection?

    Is it possible for Apple to add "key" to the view options selection?

    DJ1970,  Unfortunately no.  iTunes does not have the key in the database.
    People who want to know the key of a song can use (unless they already have perfect pitch!) key detection software such as Mixmeister. 
    Once you know the key, iTunes does not even have a field to store it, although you could stick it into Comments or some other unused text field such as Grouping.  These fields are indeed viewable in iTunes.

  • Missing Primary Keys after migartion of a MSAccess 2003 DB to oracle 9.i

    I migrate a MS Access 2003 DB to Oracle 9.i with the Oracle Migration Workbench 10.1.0.4.0. on a Windows 2k PC. All the Primary Keys of my tables are missed after migration and no Foreign Key is created.
    In the MS Access Source Model Window of OMWB are the Primary Keys detected but in migration script or in oracle db after migration there is no Primary Key applied.
    Dos anyone kows the reason for this behavior.
    Thanks for help in advance.
    Message was edited by:
    user468547
    Message was edited by:
    user468547

    Here the summary of the Model.
    Not mentioned parts are sero in the Oracle Model
    MS Access Source Model
    Table Violation Rules (0)
    Relations ( 48)
    Indexes (96)
    Primary Keys (38)
    Queries (0)
    Tables (38)
    Oracle Model
    Database (1)
    Check Constraints (0)
    Foreign Keys (48)
    Indexes (96)
    Primary Keys /Unique ... (0)
    Tables (38)
    Types (2)
    In the migration scripts the commands for creation of Foreign Keys are avaliable and delievers the error message ORA-02270. e.g.
    REM
    REM Message : Failed to create foreign key: dbwines.TBL_SERVICEPROFILESTBL_UETYPES; ORA-02270: no valid Primr- o. eindeutiger Key for this column
    Here the content of the error.log
    ** Workbench Repository : Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Repository Connection URL: jdbc:oracle:thin:@pcathlon17002:1521:ORCL
    ** The following plugins are installed:
    ** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : MSAccess
    oracle.mtg.migration.MigrationSQLException: Failed to get information about Oracle Model Object.
    Erschpfte Ergebnismenge:Failed to get information about Oracle Model Object.
    Erschpfte Ergebnismenge
         at oracle.mtg.oracleModel.server.OracleModelImpl.getObjectInformation(OracleModelImpl.java:476)
         at oracle.mtg.oracleModel.ui.OracleModelTypes.getAllChildren(OracleModelTypes.java:95)
         at oracle.mtg.plugin.ui.WorkbenchAllTreeNode.getChildren(WorkbenchAllTreeNode.java:133)
         at oracle.mtg.migrationUI.TreeDataSource.getItemCount(TreeDataSource.java:128)
         at oracle.ewt.dTree.DTreeDeferredParent.getItemCount(Unknown Source)
         at oracle.ewt.dTree.DTreeBaseItem.isExpandable(Unknown Source)
         at oracle.ewt.dTree.DTreeButtonDecoration.getHasButton(Unknown Source)
         at oracle.ewt.dTree.DTreeButtonDecoration.paintDecoration(Unknown Source)
         at oracle.ewt.dTree.DTreeStackingDecoration.paintDecoration(Unknown Source)
         at oracle.ewt.dTree.DTree.paintCanvasInterior(Unknown Source)
         at oracle.ewt.EwtComponent.paintInterior(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter._paintInterior(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.EwtComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.EwtComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.EwtComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.EwtComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.EwtComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
         at oracle.ewt.lwAWT.SharedPainter.paint(Unknown Source)
         at oracle.ewt.lwAWT.BufferedApplet.paint(Unknown Source)
         at oracle.ewt.lwAWT.BufferedApplet.update(Unknown Source)
         at sun.awt.RepaintArea.paint(Unknown Source)
         at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    ** Shutdown : Mon Apr 10 18:36:10 CEST 2006
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: C:\oracle\ora92\omwb
    ** user language: de
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows 2000
    ** o.s. version: 5.0
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Mon Apr 10 18:36:14 CEST 2006
    ** Workbench Repository : Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Repository Connection URL: jdbc:oracle:thin:@pcathlon17002:1521:ORCL
    ** The following plugins are installed:
    ** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : MSAccess
    EXCEPTION : query()java.sql.SQLException: Stream wurde schon geschlossen
    select MESSAGE_TYPE, LOG_ID, TO_CHAR(LOG_DATE, 'dd-MM-yyyy hh24:mi:ss') LOG_DATE, PROJECT_ID, PHASE, SUBPHASE, LOG_MESSAGE, OBJECT_TYPE, OBJECT_ID, CONTEXT_DATA from MTG_LOG_TABLE WHERE PROJECT_ID = 1 and (MESSAGE_TYPE != 9999) ORDER BY LOG_ID ASC
    java.lang.NullPointerException
         at oracle.mtg.migration.LogDisplayUtility.convertToDisplayStrings(LogDisplayUtility.java:185)
         at oracle.mtg.migrationServer.LoggingImpl.getLogs(LoggingImpl.java:482)
         at oracle.mtg.migrationUI.LoggingPane.setupLogTable(LoggingPane.java:291)
         at oracle.mtg.migrationUI.LoggingPane.setupLogTable(LoggingPane.java:280)
         at oracle.mtg.migrationUI.ProgressDialog.commandStarting(ProgressDialog.java:117)
         at oracle.mtg.migrationUI.MigrationUI.commandStarting(MigrationUI.java:2427)
         at oracle.mtg.migrationUI.MigrationWizard.doMigrate(MigrationWizard.java:401)
         at oracle.mtg.migrationUI.MigrationWizard.runDialog(MigrationWizard.java:293)
         at oracle.mtg.migrationUI.ActionMenuHandler._migrate(ActionMenuHandler.java:340)
         at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:291)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:85)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** Workbench Repository : Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Repository Connection URL: jdbc:oracle:thin:@pcathlon17002:1521:ORCL
    ** The following plugins are installed:
    ** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : MSAccess
    Thaks for help in advance
    Regards Steffen

  • Key.isDown / getAscii() problems

    I'm having some trouble detecting keypresses.
    Woking with the arrow keys works fine, but using getAscii() is having problems.
    I tried using:
    if (getAscii(100)) {//do stuff;};
    but the issue is that once you press a key, getAscii() keeps returning the value of the last key pessed even after you stop pessing it.
    I tied using a keyDown listener, instead of onEnteFame and couldn't get it to work at all.
    I tried searching these foums, but some of the solutions had all the code deleted... odd.
    How do I add the ability to add key detection for the other keyboard keys to this code?
    xspeed = 0;
    yspeed = 0;
    this.onEnterFrame = function() {
         if (Key.isDown(Key.LEFT)) {
             xspeed += -3;
         if (Key.isDown(Key.RIGHT)) {
             xspeed += 3;
         if (Key.isDown(Key.UP)) {
             yspeed += -3;
         if (Key.isDown(Key.DOWN)) {
             yspeed += 3;
         xspeed *= .8;
         yspeed *= .8;
         if (Math.abs(xspeed) < 1) {xspeed = 0;};
         if (Math.abs(yspeed) < 1) {yspeed = 0;};
         if (xspeed <> 0 or yspeed <> 0) {
             _root.Map._x += xspeed;
             _root.Map._y += yspeed;
    (The code has a few exta lines to make the accelleration nice and smooth.)

    try this:
    //////////********KEY LISTENER*************************
    delete keyListener;
    Key.removeListener(keyListener);
    keyListener = new Object();
    keyListener.onKeyDown = function() {
    code.Key.getAscii();
    trace(Key.getAscii());
    if (Key.getAscii() == 97) {
      trace("A hit");
    ///*************spacebar *********************
    if (Key.isDown(32)) {
      trace("space bar pressed");
    ////*********CONTROL J***********************         
    if (Key.isDown(Key.CONTROL) && Key.getCode() == 74) {
      trace("CONTROL J");
    ////********* p ***********************         
    if (Key.isDown(112)) {
      trace("p");
    ////********* q ***********************         
    if (Key.isDown(113)) {
      trace("g");
    ////*********F1***********************  
    if (Key.getCode() == 112) {
      trace("F1");
    Key.addListener(keyListener);
    Important:
    Always remember to remove your listener before calling on it again.Most of the time I place it on a frame the user can NOT return to, because it will keep adding listeners and you can easly build up hundreds of them. So remeber to remove it before calling it again...just like the above code does already.

  • Issues with 10.3.1.1581 on Z10 STL100-3

    Since I updated I have a couple of issues I haven't read about anyone else having. 
    1) The display is by default in a zoom mode.  Every time I wake it up i have to shrink the screen for it to appear proper size.  It does this in a lot of the apps and in Hub too.  And a few times I couldn't even zoom out to normal size and had to slide the screen around to find what I wanted.
    2) The touchscreen keyboard seems to be out of calibration.  Several keys near the perimeter of the screen you have to touch at the very inside edge of the key for it to work, resulting in having to press those letters sometimes 3 and 4 times to get it to work.
    Has anyone else had these issues? 
    Solved!
    Go to Solution.

    Hi @George1971 
    If possible please turn off magnify mode - to do this, go to Settings > Accessibility and toggle the Magnify Mode switch
    After doing this, test the keyboard and let me know if you are still having trouble with key detection. Thanks! 
    Did someone help you? Click Like! Did a post solve your issue? Click Accept as Solution!
    Follow me on Twitter or Google+ and subscribe to the Inside BlackBerry Help Blog

  • Issues with counters 3 and 4 on PCI-6601

    Hi All,
       I am using counters 1-4 on the PCI 6601 card with NI-DAQmx 8.0 to generate continuous pulses in Labview  8.0. After I configure the counters, I can see the pulses going out on a scope. If I then configure other DIO lines as digital outputs, the pulses on counter 3 and 4 goes away. Counter 1 and 2 is  still okay. Has anyone seen this before. Somehow the configuration on counter 3 and 4 is changing when I try to configure other DIO lines as outputs? For configuration of continuous pulses I  am using the Pulse Train Gen.vi  from the DAQmx PWM Examples.zip folder from NI website minus the while loop and the DAQmx clear Task.vi. The Pulse Train Gen.vi include DAQmx Create Channel(CO-Pulse Generation Frequency).vi, DAQmx Timing(Implicit).vi, DAQmx Start Task.vi, and  DAQmx Is Task Done.vi. For digital outputs I am using DaQmx Write(Digital Bool 1 Line 1 Point). Any suggestions as to why counter 3 and 4 configuration changes and not counter 1 and 2. I need to have these counter going before I configure output lines.   

    Hi @George1971 
    If possible please turn off magnify mode - to do this, go to Settings > Accessibility and toggle the Magnify Mode switch
    After doing this, test the keyboard and let me know if you are still having trouble with key detection. Thanks! 
    Did someone help you? Click Like! Did a post solve your issue? Click Accept as Solution!
    Follow me on Twitter or Google+ and subscribe to the Inside BlackBerry Help Blog

Maybe you are looking for

  • Table for PR Release date

    Hi Friends, I want to capture the PR release date. But I could not find the table. Can anybody please provide me the table where PR relase date is captured? In ME53N, in item detail, in "Quantities/Dates", the release date is not the actual relaease

  • How can i get my contacts from my phone into my pc? itunes/excel

    Hi I'm pulling my hair out here so would appreciate any help from you kind people!! I just want to export the numbers from my iphone 3GS onto my computer, I'm not worried about format or on what program they are stored, its just as a back up in case

  • Map in map syncronization

    Hi guys! I'm new to threads so sorry if my question is dumb. So here it goes: I was wondering if read/writes from something like this: ConcurrentHashMap<String,ConcurrentHashMap<Integer,ConcurrentHashMap<String,Object>>> are thread safe? ConcurrentHa

  • How to fix: PS-CS4 Licensing stopped Error 150:30 ?

    "Licensing stopped working" after Library Extensions problem on Mac 10.10.3. HD reformatted from ext HD's Time Machine. PS CS4 gave this error when starting it attempted. (Initially, it wanted Java, which I think has been done. The overall job was do

  • How to Auto generate "order_id"

    I want to Auto generate "order_id" No with sysdate and sequence through pre-insert trigger. for example: when user commit transaction 1st time today that auto generate this No 020220101 when 2nd time commit transcation generate this 020220102 3rd tim