JTextField on change behaviour

Hello All
I needed help with the JTextfield, I need to be able to add a change event listener to it, based on the value entered in JTextfield, I need to repaint other components on the panel. Im not very keen on using the FocusListener like in my code snippet below.Can anyone suggest me with some "On Value change" kind of listener that I can use.
JTextField jt = new JTextField();
jt.setPreferredSize(new Dimension(75,25));
jt.addFocusListener(new FocusListener(){
public void focusLost(FocusEvent ez)
System.out.println("focus lost");
public void focusGained(FocusEvent ex)
System.out.println("focus gained");
Regards
N.

Hello Anton,
Your right about the remove/insert listeners.. for every alphabet added or removed the event gets triggered
I have the focus listeners implementation at the moment.. but am not too keen on it, becoz every time it gains focus it will trigger the event, as I am really doing some jdbc calls to process and populate the other components.. I wanted to use a change listener.. so that it triggers event only on value changes and not keep making these calls when it gains /loses focus
Regards
N.

Similar Messages

  • HOW TO Change behaviour of attendance type

    Hi guys,
    I have a question for you:
    - I have an attendance "9500 Extra Time", for overtime, introduced through IT 2002, which belongs to attendance type "O" (Overtime). When time schema is executed, attendances of this type are added to table TIP (6th time pair):
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0001                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0001                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0001                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0001                   1,6667
    14.0000  15.0000  0  3  01  00  O  0330               P                                        1,0000 <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0001                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    But after that, when function "P2005" is processed, this time pair overwrites overlapped pair, and time pair type is changed to "M":
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0001                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0001                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0001                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0001                   1,6667
    14.0000  15.0000  0  3  01  00  M  0310               P                                        1,0000 <----
    15.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0001                   0,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    As you can see, one hour of the time pair 14.00-15.25 is overwritten by the presence "9500 Extra Time" This is all rigth.
    But I have other attendance "9000 Formation", which belongs to attendance type "B". This is the table TIP just before "P2005" execution:
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0002                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0002                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0002                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0002                   1,6667
    14.0000  15.0000  0  3  01  00  B  0330               P                                        1,0000     <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0002                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    And after "P2005" execution. There is not overwriting in this case:
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0002                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0002                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0002                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0002                   1,6667
    14.0000  15.0000  0  3  01  00  B  0330               P                                        1,0000 <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0002                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    Note: Function P2005 is called without parameters and IT 2005 is empty for this date and employee, so nothing is transfered.
    OK, THIS IS MY QUESTION:
    I need attendance "Formation" to work as attendance "Extra Time". I'm not going to change Formation's attendance type (B), so I want to know how can I change the behaviour of absence type "B" so overlapped time pairs are overwritten as now actually happens with attendance type "O".
    I don't know where to change this, could you please help me?
    Thank you a lot.

    Try to use TextField1.access = "readOnly";
    Jasmin

  • Change behaviour of attendance type

    Hi guys,
    I have a question for you:
    - I have an attendance "9500 Extra Time", for overtime, introduced through IT 2002, which belongs to attendance type "O" (Overtime). When time schema is executed, attendances of this type are added to table TIP (6th time pair):
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0001                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0001                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0001                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0001                   1,6667
    14.0000  15.0000  0  3  01  00  O  0330               P                                        1,0000 <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0001                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    But after that, when function "P2005" is processed, this time pair overwrites overlapped pair, and time pair type is changed to "M":
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0001                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0001                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0001                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0001                   1,6667
    14.0000  15.0000  0  3  01  00  M  0310               P                                        1,0000 <----
    15.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0001                   0,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    As you can see, one hour of the time pair 14.00-15.25 is overwritten by the presence "9500 Extra Time" This is all rigth.
    But I have other attendance "9000 Formation", which belongs to attendance type "B". This is the table TIP just before "P2005" execution:
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0002                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0002                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0002                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0002                   1,6667
    14.0000  15.0000  0  3  01  00  B  0330               P                                        1,0000     <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0002                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    And after "P2005" execution. There is not overwriting in this case:
    Inizio   Fine     1  P  Cl  Ct  V  VR    CI   CF   V  O  I  PinI  PinF  PT    ALP  C1    AB  Numero
    00.0000  05.8833     0  01  00  -  0000                                                        5,8833
    05.8833  06.0000     1  01  00  P  0310  P10  P20     E                 0002                   0,1167
    06.0000  11.8333     1  02  00  P  0110  P10  P20     E                 0002                   5,8333
    11.8333  12.3333     1  02  00  P  0110  P10  P20     E                 0002                   0,5000
    12.3333  14.0000     1  02  00  P  0110  P10  P20     E                 0002                   1,6667
    14.0000  15.0000  0  3  01  00  B  0330               P                                        1,0000 <----
    14.0000  15.2500     1  01  00  P  0310  P10  P20     E                 0002                   1,2500
    15.2500  48.0000     0  01  00  -  0000                                                       32,7500
    Note: Function P2005 is called without parameters and IT 2005 is empty for this date and employee, so nothing is transfered.
    OK, THIS IS MY QUESTION:
    I need attendance "Formation" to work as attendance "Extra Time". I'm not going to change Formation's attendance type (B), so I want to know how can I change the behaviour of absence type "B" so overlapped time pairs are overwritten as now actually happens with attendance type "O".
    I don't know where to change this, could you please help me?
    Thank you a lot.

    Hi Gurus,
    Thanks for the reply,
    I have change text through KL02,but when i enter again in KL02,the system shows:
    Act type  COAr  Short Text   Language  Valid from   to
    LABOR    9000   Labour        EN           1.4.07        31.3.99
    Hence it is still showing LOBOR but in short text it is coming as "LABOUR"
    Pl advise,how i can change "Act Type Col" and put Labour in said column.
    Regards,
    Samar

  • How to stop size of JTextField from changing when I change font to bold

    I'm working on a Sudoku solver for a CS project. I've got JTextFields for the input. I want to bold the entries of the begining puzzle, like they are in the magazines. When I set the font to bold, it changes the size of the text field. I'm using the gridbaglayout and have tried everything to set in stone the size of a text field, but nothing seems to work. I've set the maximum, minimum size, the setSize method, as well as setting the prefered size. But no matter, when I change the font from plain to bold, the box grows in size. How do I prevent this from happening. I can post my gui code if it would help.
    Here is a link to my grid, with the upper left square having bold text:
    http://12.227.129.113/CS486/Project4/Project4.html

    add them to panel/s set as a gridlayout 9 x 9, or (3 x 3) x (3 x 3)
    simple demo of a 9 x 9
    import java.awt.*;
    import javax.swing.*;
    class Testing extends JFrame
      JTextField[] tf = new JTextField[81];
      public Testing()
        setLocation(200,100);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel p = new JPanel(new GridLayout(9,9,5,5));
        for(int x = 0, y = tf.length; x < y; x++)
          tf[x] = new JTextField(2);
          tf[x].setHorizontalAlignment(JTextField.CENTER);
          p.add(tf[x]);
        tf[0].setFont(tf[0].getFont().deriveFont(Font.BOLD));
        tf[0].setText("9");
        tf[1].setText("3");
        tf[66].setFont(tf[66].getFont().deriveFont(Font.BOLD));
        tf[66].setText("9");
        getContentPane().add(p);
        pack();
      public static void main(String[] args){new Testing().setVisible(true);}
    }

  • Wired mouse changes behaviour of OS X

    Hi guys. When I plug in a wired mouse, currently I'm using a Cyborg RAT 5, it changes the behaviour of OS X. For instance when using a track pad or magic mouse, when scrolling to the bottom of the screen to get to the hidden dock it automatically appears when i touch the mouse to the bottom of the screen. When I plug in a wired mouse it then makes me have to click on the bottom of the screen for it to appear. This is just one instance of what changes when you plug in another mouse. Another being when in Safari with a trackpad you can scroll over a tab and it will automatically show the little X icon to close that tab, when you plug in a wired mouse you have to click on the tab for the icon to show (I just tried hovering the cursor over a tab with the mouse plugged in and no icon showing, then as soon as I unplug the mouse the X icon appears!).
    How on earth do I stop this? How can I get OS X to keep the same behaviour for all mice wired or otherwise?
    Sorry if this is documented else where but I'm having trouble finding anything on the subject! Perhaps it's the keywords I'm using to search.
    Thanks guys and gals

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Changed behaviour when handling Oracle Objects in SQL Developer 3.1

    In version of SQL Developer before (and including) 3.0, when one executed - F5, run script, not F9, run query - a query that included an SDO_GEOMETRY (oracle object) object the object's elements where displayed in the output text form.
    In SQL Developer 3.1 that has changed. Now, one only gets [MDSYS.SDO_GEOMETRY] as a placeholder.
    Many spatial users prefer the former behaviour.
    Has something changed in 3.1 that causes this?
    Is there a way that I can get the previous behaviour back?
    I program the GeoRaptor SQL Developer extension. GeoRaptor has an Addin that allows it to reformat SDO_GEOMETRY objects in a result set on the fly.
    Does one need to do something similar now in SQL Developer 3.1?
    If so, can you provide an example.
    Finally, are there any plans to release Javadoc for the SQL Developer jar files that an extension developer needs to use when constructing an extension?
    regards
    Simon

    >
    In SQL Developer 3.1 that has changed. Now, one only gets [MDSYS.SDO_GEOMETRY] as a placeholder.
    >
    Yes - there has been some history re SDO_GEOMETRY in particular.
    See Gary Graham's reply in this thread
    Re: Query result window doesn't show contents of collection types
    >
    There is some history behind this change. It started with a performance issue populating the grid for SDO_GEOMETRY objects:
    Re: SQLD 3.1EA -  Fails to render resultset output containing SDO_GEOMETRY

  • Change behaviour of Music Store arrows

    I found a nice tip where if you Ctrl click on the Music Store arrows, iTunes will filter on that item in your library and not take you to the Music Store. The tip also described how to permantently toggle the behaviour, so a normal click will filter, and ctrl click goes to the Music Store... only problem, the solution was for Macs.
    Anyone know how to do the same for Windows?

    I know of that trick.
    It's actually a modification of a boolean property in the preferences file.
    On the Mac it's quite easy to change that kind of preferences with a tool called Property List Editor.
    I guess there must be a similar tool for Windows, but I'm not aware of it.
    On the Mac, the property is called invertStoreLinks
    Default, it is not present, but some smart guy wrote an Applescript to add and/or modify it.
    The Windows equivalent of the preferences file is called iTunes.pref and located at \Documents and Settings\Username\Application Data\Apple Computer\iTunes.
    If iTunes for Windows works the same and you can find a tool to edit the preferences file, you might be in business.
    M
    17' iMac fp 800 MHz 768 MB RAM   Mac OS X (10.4.6)   Several ext. HD (backup and data)

  • Change behaviour of Expand/collapse icon in JTree

    Want to change the behaviour of Expand/collapse icon in a JTree. Need help with the same. Thanks.

    Check: Hide and show region

  • Re: WLS 6.1 SP5 changed behaviour with OracleThinClob?

    Thorsten Roskowetz wrote:
    Hi,
    while trying to update a Weblogic 6.1 server installation to SP5, I noticed
    the following change in behaviour: Apparently, SP5 will return an instance
    of class oracle.sql.CLOB for Clob column value from Resultset, whereas
    previous versions returned an instance of a wrapper class.
    As a consequence, the programming examples from
    http://e-docs.bea.com/wls/docs61/jdbc/thirdparty.html#1043705
    for accessing the Oracle blob extensions using OracleThinBlob/Clob
    fail with a ClassCastException - oracle.sql.CLOB can not be casted
    to OracleThinClob!
    This makes it impossible to write code that runs without changes on SP4
    and SP5 and updates oracle clobs - or am I missing something?
    Could not find any mention of this in the SP5 release notes...You are not mistaken. In sp4 and previous we wrapped all serverside
    JDBC objects obtained through a DataSouce in multiple redundant
    wrapper objects, including the unnecessary rmi driver. For 61sp5, for
    performance and also functionality reasons, we removed the rmi layer.
    One unfortunately undocumented affect is that you now get direct access
    to the Oracle Blobs/Clobs. I do understand and appologise for the
    problem this caused to your code. We had been wrapping the Blob/Clobs
    with an rmi-capable wrapper in keeping with the intended use of the
    rmi driver in external clients. We are now considering whether for backward
    compatibility we should provide a change to continue to wrap oracle
    blob/clob objects in the rmi wrapper.
    Joe
    >
    >
    Best regards,
    T. Roskowetz

    We have the same problem with the generated code of a CMP entity bean.
    After installing Weblogic Sp5 we can no longer store a Clob field in the database using a CMP entity bean.
    the line of weblogic generated code it fails on is:
    Writer writer = ((weblogic.jdbc.common.OracleClob) lob).getCharacterOutputStream();
    the error is:
    <Nov 11, 2003 1:27:18 PM CET> <Info> <EJB> <Exception from ejbStore: java.lang.ClassCastException: oracle.sql.CLOB
    java.lang.ClassCastException: oracle.sql.CLOB
    at ep.pericles.eb.useraccount.UserAccount_34c4w2__WebLogic_CMP_RDBMS.__WL_set_profileForOutput(UserAccount_34c4w2__WebLogic_CMP_RDBMS.java:2507)
    at ep.pericles.eb.useraccount.UserAccount_34c4w2__WebLogic_CMP_RDBMS.__WL_store(UserAccount_34c4w2__WebLogic_CMP_RDBMS.java:2350)
    at ep.pericles.eb.useraccount.UserAccount_34c4w2__WebLogic_CMP_RDBMS.ejbStore(UserAccount_34c4w2__WebLogic_CMP_RDBMS.java:2107)
    at weblogic.ejb20.manager.DBManager.storeBean
    Are there any work arounds?
    TIA
    Duncan

  • WLS 6.1 SP5 changed behaviour with OracleThinClob?

    Hi,
    while trying to update a Weblogic 6.1 server installation to SP5, I noticed
    the following change in behaviour: Apparently, SP5 will return an instance
    of class oracle.sql.CLOB for Clob column value from Resultset, whereas
    previous versions returned an instance of a wrapper class.
    As a consequence, the programming examples from
    http://e-docs.bea.com/wls/docs61/jdbc/thirdparty.html#1043705
    for accessing the Oracle blob extensions using OracleThinBlob/Clob
    fail with a ClassCastException - oracle.sql.CLOB can not be casted
    to OracleThinClob!
    This makes it impossible to write code that runs without changes on SP4
    and SP5 and updates oracle clobs - or am I missing something?
    Could not find any mention of this in the SP5 release notes...
    Best regards,
    T. Roskowetz

    We have the same problem with the generated code of a CMP entity bean.
    After installing Weblogic Sp5 we can no longer store a Clob field in the database using a CMP entity bean.
    the line of weblogic generated code it fails on is:
    Writer writer = ((weblogic.jdbc.common.OracleClob) lob).getCharacterOutputStream();
    the error is:
    <Nov 11, 2003 1:27:18 PM CET> <Info> <EJB> <Exception from ejbStore: java.lang.ClassCastException: oracle.sql.CLOB
    java.lang.ClassCastException: oracle.sql.CLOB
    at ep.pericles.eb.useraccount.UserAccount_34c4w2__WebLogic_CMP_RDBMS.__WL_set_profileForOutput(UserAccount_34c4w2__WebLogic_CMP_RDBMS.java:2507)
    at ep.pericles.eb.useraccount.UserAccount_34c4w2__WebLogic_CMP_RDBMS.__WL_store(UserAccount_34c4w2__WebLogic_CMP_RDBMS.java:2350)
    at ep.pericles.eb.useraccount.UserAccount_34c4w2__WebLogic_CMP_RDBMS.ejbStore(UserAccount_34c4w2__WebLogic_CMP_RDBMS.java:2107)
    at weblogic.ejb20.manager.DBManager.storeBean
    Are there any work arounds?
    TIA
    Duncan

  • Changed behaviour of setCursor in JTree

    since Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode) there seems to be a change in setCursor in JTree.
    I set a wait cursor in treeWillExpand, and reset it in treeExpanded. This works fine with that version of the jre. With a newer one, e.g. Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode), the wait cursor is reset to the default cursor shortly after treeWillExpand, and before the call of treeExpaned.
    I will add a short piece of code to reproduce that behaviour. Just collapse the root node and expand it again.
    Might that be a bug in the jvm or is there a misstake in the code?
    import java.awt.Cursor;
    import javax.swing.JDialog;
    import javax.swing.JScrollPane;
    import javax.swing.JTree;
    import javax.swing.event.TreeExpansionEvent;
    import javax.swing.event.TreeExpansionListener;
    import javax.swing.event.TreeWillExpandListener;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.tree.ExpandVetoException;
    public class Tester extends JDialog implements TreeExpansionListener,
              TreeWillExpandListener {
         private JTree tree = new JTree();
         private JScrollPane spTree = new JScrollPane(tree);
         private DefaultTreeModel model;
         // used to "simulate" some work
         boolean isExpanding = false;
         public void treeWillCollapse(TreeExpansionEvent event)
                   throws ExpandVetoException {
         public void treeWillExpand(TreeExpansionEvent event)
                   throws ExpandVetoException {
              System.err.println("treeWillExpand");
              tree.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
              // "simulate" some work during expand
              isExpanding = true;
         public void treeCollapsed(TreeExpansionEvent event) {
         public void treeExpanded(TreeExpansionEvent event) {
              System.err.println("treeExpanded");
              tree.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
              // work is done and cached
              isExpanding = false;
         public Tester() {
              setModal(true);
              setSize(640, 480);
              this.getContentPane().add(spTree);
              tree.addTreeExpansionListener(this);
              tree.addTreeWillExpandListener(this);
              MyTreeNode root = new MyTreeNode("root");
              model = new DefaultTreeModel(root);
              root.add(new MyTreeNode("test1"));
              root.add(new MyTreeNode("test2"));
              root.add(new MyTreeNode("test3"));
              tree.setModel(model);
              tree.setShowsRootHandles(true);
              setVisible(true);
              System.exit(0);
         public static void main(String[] args) {
              new Tester();
         class MyTreeNode extends DefaultMutableTreeNode {
              public MyTreeNode(String text) {
                   super(text);
              public int getChildCount() {
                   if (isExpanding) {
                        System.err.println("getChildCount");
                        try {
                             Thread.sleep(200);
                        } catch (InterruptedException e) {
                   return super.getChildCount();
    }

    I think it is reset when you release the mouse button. If you keep the button down, it works as usual.

  • ItemAttachmentGetName & ItemAttachmentGetDisplayName: Changed behaviour in 7.0.1

    The behaviour of the following 2 functions has changed from version 6.5/7.0
    to 7.0.1
    (1) ItemAttachmentGetName()
    Previously (6.5/7.0) this function returned the ID of the Referenced
    Document (if the document has been imported into GroupWise) or the ID of
    the mail item that is being forwarded. With release 7.0.1 this function
    returns an empty string.
    (2) ItemAttachmentGetDisplayName()
    Previously (6.5/7.0) this function returned the display name of the item as
    it is displayed in the email body. With release 7.0.1 this now returns
    "Document Referenced Attachment" for a referenced document or "Mail
    Attachment" for a mail message being forwarded.
    Questions
    (1) How to get the display name of the attachment as it is displayed in the
    message body of the email if the attachment is either a referenced document
    or a mail item that has been forwarded as a an attachment?
    (2) Are these bugs and if so will they be addressed in a future release?
    (3) Or are the intended changes and if so then will the Token API
    documentation be updated to reflect this?

    > (1) ItemAttachmentGetName()
    > Previously (6.5/7.0) this function returned the ID of the Referenced
    > Document (if the document has been imported into GroupWise) or the ID of
    > the mail item that is being forwarded. With release 7.0.1 this function
    > returns an empty string.
    FIXED in 7.0.2 beta (561):
    ID of embedded Message is returned (again); in form of 'GUID1:GUID2'
    (I didn't check the issue concerning DocRef!)
    cheers,
    Markus
    <[email protected]> schrieb im Newsbeitrag
    news:_g_yh.2690$[email protected]..
    > The behaviour of the following 2 functions has changed from version 6.5/7.0
    > to 7.0.1
    >
    > (1) ItemAttachmentGetName()
    >
    > Previously (6.5/7.0) this function returned the ID of the Referenced
    > Document (if the document has been imported into GroupWise) or the ID of
    > the mail item that is being forwarded. With release 7.0.1 this function
    > returns an empty string.
    >
    > (2) ItemAttachmentGetDisplayName()
    >
    > Previously (6.5/7.0) this function returned the display name of the item as
    > it is displayed in the email body. With release 7.0.1 this now returns
    > "Document Referenced Attachment" for a referenced document or "Mail
    > Attachment" for a mail message being forwarded.
    >
    > Questions
    >
    > (1) How to get the display name of the attachment as it is displayed in the
    > message body of the email if the attachment is either a referenced document
    > or a mail item that has been forwarded as a an attachment?
    >
    > (2) Are these bugs and if so will they be addressed in a future release?
    >
    > (3) Or are the intended changes and if so then will the Token API
    > documentation be updated to reflect this?

  • Ask to OneDrive for business developers to modify a recently changed behaviour of application (since update KB2881087)?

    Hi.
    Since update KB2881087, OneDrive for business application has started behaving in a problematic way. Is there a way to report/ask to OneDrive for business developers to restore old behaviour?
    All problem is explained at
    http://community.office365.com/en-us/f/156/p/254376/790491.aspx#790491
    The problem is that before that update (win 7 64 bit ultimate edition en-US), if the startup folder link was removed, that link did not reappear (link inserted only at first folder sync). After that update, the program checks the startup folder link existence
    and if not present, re-creates it. I use bitlocker in just one partition, where I put the sync folder. After that update I have to remember to delete the link every time I shut down the computer in order to avoid the OneDrive for business job deletion at next
    startup when the program does not find the folder (protected into bitlocker).
    I need to deploy OneDrive for business into my organization but this problem prevents this.
    I would suggest to developers, as told in the office365 forum, to remove the startup check or, better, to:
    - have an option to modify startup check behaviour or
    - make OneDrive resilient to folder not found behaviour (if it is not found, simply pause syncing -not removing the whole job- , waiting for the folder re-appearing, very useful if using bitlocker)
    Thanks,
    Diegus.

    Hi,
    If you have any suggestions to our products, please feel free to submit Feedback in this page:
    http://office.microsoft.com/en-US/suggestions.aspx
    I can't guarantee whether the product will change but be assured Microsoft will always treat users' suggestions seriously, our developers strive to capture Microsoft users' ideas and are working hard to create a more powerful and easy-to-use product.
    Regards,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Color Mgmt problem - changed behaviour CS3

    My (two) monitors are calibrated using Monaco calibrator. This seemed to work fine - when I boot up you can see the monitor calibration get applied to each, they then look different from uncalibrated 'before'appearance but now nicely matched. PS CS3 is set to color manage and working space is sRGB etc. I could make an image in PS and save it to the web and it didn't change (and when viewed on non-color managed apps it still looked the same).
    I am unaware of having changed anything but must have by accident. Now, when I save to web, the colours change quite markedly. I have read many people say this is because web apps are non-color managed etc etc, but I don't think this means it should behave like this.
    My monitor IS calibrated, the calibration profile is applied by Windows on everything that is displayed. Not by the app. So assuming I save things as sRGB, shouldn't what I see in PS be the same as what I see on MY computer in any non-cm app? It was before.
    I admit I don't have a good handle on CM, and despite reading help files etc for the umpteenth time I STILL don't understand what is happening in monitor proof compared with windows proof, so obviously I'm missing something important.
    I really need someone to give me straightforward advice on how to set up my system again so that what I see when I edit in PS is what I see when I Save For Web on MY computer.
    WinXP SP2
    Thanks.

    Here's a fix I so blatantly postd over on the Mac forum *hangs head in shame* yay for google...
    anyways, here's the fix I have, but it only works so far... I'll get into what doesn't work in a separate post:
    ok, try this out for size:
    For you PC Vista users out there, here's what it comes down to, and how I made it work for me:
    1.In VISTA, Control Panel/Color Management.
    2.In "Devices" tab, remove your calibrated profile.
    3.Click "Add..." and find the file: sRGB IEC6z966-2.1 (also called per it,s "file name: sRGB Color Space Profile.icm) It's important that both those name the same file as you can have created multiple sRGB IEC6z966-2.1 via Adobe gamma saving them with whatever profile name you wanted, etc.
    4. Set it as default and make sure to have removed ALL other profiles other than that one. (it could default back to another for whatever reason).
    5. Make sure to remove any calibration software from your start-up menu as it could mess everything up at this point. Check "start-up menu" steps at bottom of this post for those steps as well.
    6. REBOOT!
    ***This is where you can test that your sRGB profile is good and that your "monitor RGB" soft proofing in PS works correctly. With now sRGB as your monitor profile, there should be no shift when using Soft proofing or any of the other tests asked to be performed. If there is still an issue, then this won't solve it, sorry.***
    7. With "my calibration device, which happens to be the lowly Huey" I had to tell it to reset completely so that it would go back to it's "out of the box" state. So this step depends on what you need to do to get it "back to basics" so you can start your calibration from scratch.
    ***Now for those reading g ballards website, this is where he said to USE A CLEAN sRGB Profile TO START the calibration process and this is what *I* didn't "get" until today. Doing the above steps infact re-installs a CLEAN sRGB profile.***
    8. Calibrate and profile with your device.
    9. Everything should be right as rain. Your new monitor Profile should appear in the Color Management Window and you should be dancing on the tables :)
    "start-up menu" steps for Vista
    For those unaware of where to remove programs from start-up menu (for the Pantone Huey in my case, and I'm adding this as I'm posting this in multiple forums)
    1. right click the start button/windows Icon, select OPEN.
    2. Click Programs/Start-up, delete the shortcut to your calibration software. If it's not there, then it'll be in...
    ...1. right click the start button/windows icon, select Open ALL USERS
    2. click Programs/Start-up, delete the shortcut to your calibration software.
    Also, in either areas, be sure to remove Adobe Gamma, it will mess with things as well.
    I hope this was comprehensive enough for ALL levels of PS users, not just those that already "get" it all.

  • JTextField Focus Lost Behaviour

    Hi all,
    I have one TextField beside one hlp button , when i enter the value in the textfiled and press tab or press the hlp button same validation
    should popup ......here my problem is at first time when i press the
    hlp button the valiation is not getting but the window was get opened.
    Before the window opening validation also should popup .......
    can any body help me ...pls
    my code is like this
    compradorDdfTf.addKeyListener(new KeyAdapter() {
                   public void keyPressed(KeyEvent e) {
    if (e.getKeyCode() == KeyEvent.VK_TAB) {
    //my code
    public void keyTyped(KeyEvent e) {
                        compradorDdfbool = true;
    Regards,
    Rohit

    You have been asked multiple times to respond to all of you previous posting when you receive help. You still haven't learned how to do this.
    You have been asked several time to use the "Code Formatting Tags" when posting code. You still aren't doing this.
    Now you've added multi-posting to things you shouldn't be doing. If you want to change your question then you can "edit" you posting until someone replies to the posting.
    Not only that you where given an answer to this question in your last posting.
    I'm not will to help someone who can't learn the basics of using the forum effectively. You are still on your own.

Maybe you are looking for

  • Trouble trying to get correct AP Check Amount total on a report

    Okay, the challenge is to try and explain my situation well. I am in Discoverer Plus. I am working to develop a Discoverer report that will show, for accounts payable application, a summary report by bank name and job number, a check count, invoice c

  • Problem in using relational operators in Data Templates

    Hi All, I have a query like following in data template type of Data set but I am not getting any data if I use simple < operator. Same query shows data in the database. Is there any other specific way of using relational operators in Data templates ?

  • XMLBeans 2.0 and WebLogic 8.1.4 compatibility issues

    I am on a project that is required to use WebLogic 8.1.4. We would like to use some new features in XMLBeans 2.0. We are concerned that if we replace the 1.0 library with the 2.0 library in server/lib, will the server have any problems. Has anyone he

  • How can I rotate a pattern within a shape?

    How can I rotate a pattern within a shape?

  • Mr8m  + m8 422

    Dear Expert, I try to cancel logistic invoice in MR8M and getting an error message : M8 422 " Invoice document 5105713535 cannot be processed further" . The invoice already been paid by mistake so we cancel the clearing document and now trying to can