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.

Similar Messages

  • 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

  • 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

  • Changing the event that starts JTree cell editor

    I've implemented a JTree that uses a custom cell renderer and editor. Everything is going well except for a look and feel issue. When I double click on a JTree entry or single click on a node that has already been selected, the cell editor starts immediately. This is way to generous, and I'm finding I'm often editing cells when I just want to navigate the tree.
    I'd much prefer to have the edit event be something harder to do like a right click or a triple left click. Is there a way to change the event that starts the JTree cell editor?

    DefaultCellEditor provides a method boolean isCellEditable(EventObject anEvent), by default it always returns true. Override that method in your cell editor to only return true if the event is a right click, or whatever you want.

  • Icon CHANGE in Node Renaming  for JTree

    HI all ,
    In JTree, V can rename a DefaultMutableTreeNode , by pressing F2 or triple click .
    By using the DefaultTreeCellRenderer ,
    I applied icons also by -- tree.setCellRenderer(myCellRenderer);
    But at the time of renaming , or when v press F2 ,
    the icon is changed to default settings ( leafIcon / openIcon / closedIcon ).
    How can I apply other Icons to nodes at the time of node renaming ?
    Please help ..
    Thanks

    MyTreeCellRenderer treeCellRenderer = new MyTreeCellRenderer();
    DefaultTreeCellEditor treeCellEditor = new MyTreeCellEditor(tree, treeCellRenderer);;
    MyTreeCellEditorListener cellEditorListener = new MyTreeCellEditorListener();
    treeModel = new DefaultTreeModel (rootNode);
    tree = new JTree(treeModel);
    treeCellEditor.addCellEditorListener(cellEditorListener);
    tree.setCellEditor(treeCellEditor);
    tree.setCellRenderer(treeCellRenderer);
    I am renaming the leaf nodes and MyTreeCellRenderer class override the method
    public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
    and set a different icon to the leaf nodes.
    And when i am renaming a leaf node , the default ( leafIcon ) icon will come only to the renaming node at the time of renaming . When i hit the enter key . the default leafIcon will disappear and my customised icon will come .........
    My question is that at the time of renaming ........ How v can getback the customised icon ?
    thanks

  • 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)

  • 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

  • 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

  • How to generate selection change event through code in JTree?

    I am developing an application which downloads the file from other system and adds it into the tree. On selecting any file in the tree I m displaying it's contents. But now i am trying to display the contents of downloaded file as soon as it's download completes. Here i am not getting the way to how to generate the event as the download completes, because i tried that setSelectionPath(TreePath path), but it also don't generates the selection change event. Is there any other way to do so?

    Put null in place of oldLeadSelectionPath. From the API for TreeSelectionEvent:
    protected TreePath     oldLeadSelectionPath:
    leadSelectionPath before the paths changed, may be null.
    I'm at the office and can't try out anything, so please let me know whether that works for you.
    db
    edit Or it may be easier to put all code from your valueChanged (...) override in a new method and invoke that method both from valueChanged (...) and wherever else you need.
    Edited by: Darryl.Burke

  • 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.

Maybe you are looking for

  • Install Adobe Creative Cloud on 3 systems

    I use an iMac at home and an Mac Mini at work. I run my Adobe Creative Cloud subscription for Individuals on both these systems, off course not at the same time. I'm going to buy a MacBook Pro to be more mobile at home and want to run Adobe Creative

  • Open files located in AS by using WEB.SHOW_DOCUMENT

    Hi , I need to open some documents in the client machience, documents are located in the AS . This method is working, WEB.SHOW_DOCUMENT('http://<server_name>:<port>/forms/java/myFile.doc'); but the problem is, documents should be in the ORACLE_HOME/F

  • Paying company code

    Hello All,    Has anybody here used Paying Company codes? I have two company codes 3000 and 9123. The Paying company code for 9123 is 3000 (this can be setup in transaction FBZP->All company codes). I created two Non-PO invoices (FB60) for each compa

  • Just updated Blackberry Storm an its wiped all contacts etc.....help!!

    so my desktop manager said i needed to update, as my music player had stopped wrkin an my bluetooth wouldnt let me do anythin, i updated....now i can play music again wooopi! but still cant bluetooth, an its wiped my contacts an everythin....it said

  • Downloading Mountain Lion - problems with slow DSL

    Since we live in a rural area, my friends (who have a new iMac) are having problems downloading the Mountain Lion file.They are on the end of a DSL line feed and get a weak signal. Can I download the file on my computer and then install the file on t