Problem with custom control and focus

I've a problem with the focus in a custom control that contains a TextField and some custom nodes.
If i create a form with some of these custom controls i'm not able to navigate through these fields by using the TAB key.
I've implemented a KeyEvent listener on the custom control and was able to grab the focus and forward it to the embedded TextField by calling requestFocus() on the TextField but the problem is that the TextField won't get rid of the focus anymore. Means if i press TAB the first embedded TextField will get the focus, after pressing TAB again the embedded TextField in the next custom control will get the focus AND the former focused TextField still got the focus!?
So i'm not able to remove the focus from an embeded TextField.
Any idea how to do this ?

Here you go, it contains the control, skin and behavior of the custom control, the css file and a test file that shows the problem...
control:
import javafx.scene.control.Control;
import javafx.scene.control.TextField;
public class TestInput extends Control {
    private static final String DEFAULT_STYLE_CLASS = "test-input";
    private TextField           textField;
    private int                 id;
    public TestInput(final int ID) {
        super();
        id = ID;
        textField = new TextField();
        init();
    private void init() {
        getStyleClass().add(DEFAULT_STYLE_CLASS);
    public TextField getTextField() {
        return textField;
    @Override protected String getUserAgentStylesheet() {
            return getClass().getResource("testinput.css").toExternalForm();
    @Override public String toString() {
        return "TestInput" + id + ": " + super.toString();
}skin:
import com.sun.javafx.scene.control.skin.SkinBase;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.EventHandler;
import javafx.scene.control.TextField;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
public class TestInputSkin extends SkinBase<TestInput, TestInputBehavior> {
    private TestInput control;
    private TextField textField;
    private boolean   initialized;
    public TestInputSkin(final TestInput CONTROL) {
        super(CONTROL, new TestInputBehavior(CONTROL));
        control     = CONTROL;
        textField   = control.getTextField();
        initialized = false;
        init();
    private void init() {
        initialized = true;
        paint();
    public final void paint() {
        if (!initialized) {
            init();
        getChildren().clear();
        getChildren().addAll(textField);
    @Override public final TestInput getSkinnable() {
        return control;
    @Override public final void dispose() {
        control = null;
}behavior:
import com.sun.javafx.scene.control.behavior.BehaviorBase;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.EventHandler;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;
public class TestInputBehavior extends BehaviorBase<TestInput> {
    private TestInput control;
    public TestInputBehavior(final TestInput CONTROL) {
        super(CONTROL);
        control = CONTROL;
        control.getTextField().addEventFilter(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
            @Override public void handle(final KeyEvent EVENT) {
                if (KeyEvent.KEY_PRESSED.equals(EVENT.getEventType())) {
                    keyPressed(EVENT);
        control.focusedProperty().addListener(new ChangeListener<Boolean>() {
            @Override public void changed(ObservableValue<? extends Boolean> ov, Boolean wasFocused, Boolean isFocused) {
                if (isFocused) { isFocused(); } else { lostFocus(); }
    public void isFocused() {
        System.out.println(control.toString() + " got focus");
        control.getTextField().requestFocus();
    public void lostFocus() {
        System.out.println(control.toString() + " lost focus");
    public void keyPressed(KeyEvent EVENT) {
        if (KeyCode.TAB.equals(EVENT.getCode())) {
            control.getScene().getFocusOwner().requestFocus();
}the css file:
.test-input {
    -fx-skin: "TestInputSkin";
}and finally the test app:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
public class Test extends Application {
    TestInput input1;
    TestInput input2;
    TestInput input3;
    TextField input4;
    TextField input5;
    TextField input6;
    Scene     scene;
    @Override public void start(final Stage STAGE) {
        setupStage(STAGE, setupScene());
    private Scene setupScene() {
        input1 = new TestInput(1);
        input2 = new TestInput(2);
        input3 = new TestInput(3);
        input4 = new TextField();
        input5 = new TextField();
        input6 = new TextField();
        GridPane pane = new GridPane();
        pane.add(input1, 1, 1);
        pane.add(input2, 1, 2);
        pane.add(input3, 1, 3);
        pane.add(input4, 2, 1);
        pane.add(input5, 2, 2);
        pane.add(input6, 2, 3);
        scene = new Scene(pane);
        return scene;
    private void setupStage(final Stage STAGE, final Scene SCENE) {
        STAGE.setTitle("Test");
        STAGE.setScene(SCENE);
        STAGE.show();
    public static void main(String[] args) {
        launch(args);
The test app shows three custom controls on the left column and three standard textfields on the right column. If you press TAB you will see what i mean...

Similar Messages

  • Problems with Customer Service AND unexplained charges!

    I've been with Verizon for I-don't-know-how-many years, and through the years you are bound to have a few problems here and there but some of the problems are just ridiculous! It's also the same reocurring problem!!!!!!!!!!!!!!!! I was with Alltel first, before it was bought out by Verizon. The years I was with Alltel, I didn't have near as many problems. It seems EVERY time I do the smallest change or something to my phone or bill, I get a ridiculous amount of charges that I was NOT aware of, nor told about... EVEN IF I ask "So this isn't going to change my bill, or there will not be any unexpected/unexplained charges that I don't know about?"... BUT not matter how many times I ask... and NO matter how many times I am told "no"... there always is. For example.... last year, I updated and signed a new 2 year contract and purchased the first Driod. Before, my 30 day warranty was up, I was having problems with my Driod, and decided to send it in and get a new one. Before I did this.. I called customer service to make sure there would be no interuption in my bill, and there wouldn't be any unexpect charges, and there would be no difference in anything. I was told there was not, and once I recieved my new phone, just send it in and nothing would be changed. Of course, when I get my bill.. I see I was charged $500 for the new phone. It was explained to me that my credit card was reimbursed (which I never check that card, because I never used it expect to purchase the phone) and that I was recharged for the new phone, since it was a new phone. So I had to fork out the $500 (on top of my bill) and then wait months to get the $100 rebate card. Months after that, I "assumed liablity of my line" because I was on a plan with my family. I decided to have my own line, so I "assumed liability." I was not told that when I did that, I "renewed" my contract date. So I just added 6 more months to my 2 year contract. Was NOT told about that! Then again...... I was recently having problems with my Driod (the screen went black and would not come back on.) I had to turn on an OLD motorola razor, so I would not be without a phone for two days while I was waiting on my phone to come in. As soon as my phone came in, I had my Droid turned back on. I recieved my bill recently, and my bill was $200 over what it normally should be.... so I called in... apparently, when I had my phone replaced, they dropped off my data package and when I recieved my replacement driod, they never put it back on. So I was being charged for alllll my data usage... again I was NOT told about this. I wasn't even aware that they had dropped off my data package, and when/where did they get the authority to do that??? These are just a FEW of the problems that I have had.................................
    Does anyone have these reoccuring problems!?

    I understand that my bill can be viewed online, and I do view it fairly regularly, so if there are any unexplained charges, I can call Verizon asap. The problem does not come from me not understanding my bill, but from customer service. I have been with Verizon for a very long time, and it is a continuing problem. Where did Verizon get the 'OK' to drop my data package off my plan? Who authorized that?
    After calling Verizon and trying to find out the problem, the gentleman told me that when I activated on old phone while I was waiting on my new Droid to arrive, my data package was dropped off and I "should" have been told about that. When I reactiviated my new Droid, I "should" have called and had them restart my data package. I was not aware that when you activate an old phone that data plan is taken off your plan. In all my years of having cell phones, I never make two years with one phone. I have always, at one point, had to turn on an old phone, and my data package has NEVER changed. Why would I have my data package dropped and why would I have to call Verizon to have it restarted. I would never know to do that unless I was TOLD that my data packaged HAD to be re-added when I recieved my new phone, but I was never told of that.
    All of that is beside the point, the point is, Verizon was never given the authorization to change my plan. Never. My bill was taken care of and readjusted, and I am thankful for that. It does not change the fact it is always a hassle with Verizon Customer Service and I am always the one having to PROVE that I am not at fault, or that I was NEVER told of certian things. EVERY TIME I HAVE CALLED CUSTOMER SERVICE, I AM TOLD "I'M SORRY, THEY SHOULD HAVE TOLD YOU THAT."
    "they should" does not help my bill with the extra armount of charges.

  • Problems with remote control and user accounts - error 1759?

    We're running:
    -XP Pro SP2 clients with Zen SP1 IR3a agent, 4.91 SP2 Netware client.
    -We are NOT running Middle Tier.
    -Novell servers are running Netware 6.5 SP7, E-directory 8.7.3.10b or 8.8.
    -Zen server is also SP1 IR3a.
    We have no problem using remote control on workstation objects. We are having intermittent issues with remote controlling user objects. When the issue occurs, we receive the following error, "Error 1759: The selected user is not logged in on any workstations" even though the user is in fact logged in. After some more research, it appears that the "networkAddress" attribute of the user object is blank so we feel that this is the root cause. My question is what would cause the networkAddress attribute to randomly not update? For instance we had a user (verified his login) who we could not remote via the user object (workstation object worked). We checked his networkAddress attribute and found that it was empty. User rebooted and logged in again and his networkAddress attribute populated, and then we could remote control him via the user object. Now this isn't always the case after a reboot. There doesn't appear to be any pattern to when the networkAddress attribute does or does not update. In fact, this particular user has a laptop so he boots it up fresh every morning yet he was not showing a network address when he logged in initially today.
    We've followed the troubleshooting steps in Novell Documentation without any success. Is there anything else that we might be missing, especially with respect to getting the networkAddress attribute to update? We ran a DSreport on that attribute and found about 500 out of a total of 1500 users had no networkAddress. Some of those are sure to be legitimate but that number is much too high for the number of people that should be in the office.
    I've read some older threads on the subject but none of them really provide a firm solution. Also most of the older threads reference Middle Tier which we are not using.
    Thanks in advance.

    > 4.91 SP2 Netware client.
    You could try this TID:
    "A user will no longer have an entry in their "Network Address" attribute
    even though they are logged into the eDirectory Tree."
    http://www.novell.com/support/viewCo...1262&sliceId=1
    "Resolution"
    "This was fixed in the 4.91 SP3 client. NWFS.SYS was modified so that it
    will check the monitor connection on a reconnect and if it is not connected
    close the connection and try and get a new monitor connection to the tree.
    Prior to the 4.91 SP3 client, the solution is to have the user login again
    so that it issues the NDS Finish Login request again that will populate
    Network Address again."
    Regards
    Rolf Lidvall
    Swedish Radio (Ltd)

  • Problem with remote control and Windows 7 - HP Pavilion 6301eu

    I installed Windows 7 32-bit and my remote control does not work. I have tried all possible drivers and still nothing ... Photo driver attached. Does anyone have a link to the current drivers for the remote control and Windows 7? thank you

    Hi John:
    Thanks but, I had already done this. I was having THAT problem with Encore (could not even initialize before tanking) when I first installed it and that's when I updated the Roxio engine. I don't know what else there is to update or correct at this point.
    There was one thing that occurred to me: When I was using XP, I had to disable Open GL in order to get Encore to stabilize. I've heard one recommendation for Encore that one must disable graphics acceleration. I would like try that here except I can't figure out how to do that in Windows 7.
    I've been Googling "Windows 7 Disable Graphics Accel" and have come up with nothing useful.
    Thanks for your help though and if you have any other ideas, I'm all ears.
    Mark

  • Problem with Quicktime controls and commands

    I'm finding the best way to put a video together is to edit individual pieces with QT Pro. Problem is that it's pretty darned annoying because mouse and keyboard controls don't always work as they should.
    Sometimes I'll press the space bar and instead of playing, the volume mutes/unmutes...there is a blue glow around the volume controls and until I click around and unlodge it somehow, it stays that way.
    Other times, I'll click on the timeline and instead of the playhead moving to where I click, it will move forward a little bit....or it won't move at all.
    And on top of that, I still haven't found solid documentation on when the playhead turns dark, as opposed to staying "hollow"...or whether or not that's relevant to the problem.
    I've found plenty of resources that have shortcut keys listed, some of them "undocumented." But I feel as if I'm missing something...is there anything I can do to avoid these problems, or at least is there a rhyme or reason as to how they happen?
    Thanks.

    Play/Pause Space bar
    Play or pause all movies Command-Return
    Play movie backward Shift-double-click Command-Left Arrow
    Stop playback and go back one frame Left Arrow
    Stop playback and go forward one frame Right Arrow
    Go to beginning of selection or movie Option-Left Arrow
    Go to end of selection or movie Option-Right Arrow
    Turn volume up Up Arrow
    Turn volume down Down Arrow
    Turn volume up to maximum level Option-Up Arrow
    Turn volume down to minimum level Option-Down Arrow
    Enter full-screen mode Command-F
    Exit full-screen mode Command-period or Esc
    QuickTime Pro keyboard shortcuts
    Play movie at half size Command-0
    Play movie at normal size Command-1
    Play movie at double size Command-2
    Play movie at full size Command-3
    Move In marker to playhead location i key
    Move Out marker to playhead location o key
    Extend selection to the left Option-Shift-Left Arrow
    Extend selection to the right Option-Shift-Right Arrow
    Extend selection to the point clicked in LCD Shift-click
    Letters j, k and l keys can be used for "scrubbing":
    k equals "pause"
    j equals "reverse" playback. Tap two times to go "double" speed. Tap three times for "triple" speed.
    l equals "forward" playback. Tap twice for double speed. Three times for triple speed.

  • Problem with custom Reports and forms in R12

    Hi All,
    we are upgrading from 1103 to R12. In R12 we are facing a peculiar problem with Reports. All seeded reports are running perfectly. But no data is coming while running the custom reports. The operating unit field in the SRS window is getting populated automatically while running the seeded reports but getting greyed off while running custom reports.
    We are facing the same problem with forms even, data is not getting retrieved in custom forms. Can any one suggest wether there is any profile option which is being missed out by us. ..
    Thank you,
    Regards
    Raj

    Add SRW.USER_EXIT('FND SRWINIT') in the afterPForm trigger.
    This will set the org context for reports.
    ~Sukalyan Ghatak

  • Problems with custom roms and recovery

    Hello, recntly ive unlocked the bootloader of my xperia z2 and flashed xzdualrecovery and paranoid android. a few days later paranoid android had problems with calling so ive decided to flash another rom so i downloaded the aroma installer of existenz ultimate 3.0 and tried to install it with cwm recovery. it didnt work on cwm so i tried to install twrp with a 1-click twrp flashtool. i didnt get the twrp recovery working so i ened up still having cwm. then i rebooted my phone into flashmode/fastboot mode to flash my recovery with fastboot witch didnt work either. i booted back to cwm and flashed cm11s for the xperia z2. but then when i started booting up into thesystem my phone stuck in the bootanimation, so i tried to flash the boot.img from the rom but my phone wont enter fastboot mode.

    You should check the XDA Forum
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • Problem with Custom Theme and Color of Registers

    Hi everybody,
    I am implementing a custom theme with EP SP 15 (Sneak Preview). All the changes I am making in the Theme Editor are displayed correctly, except for the colors of the registers.
    The preview in the Theme editor works fine but when I activate the theme in the portal the background of the registers is still the same as in the standard theme (the images for the borders or the registers however are the ones I chose).
    I read about the caching problem in the SAP library and deleted the browser cache before saving but it didn't help.
    Any ideas or hints would be appreciated!
    Regards Andy

    Hi,
    If you are talking about custom registration page, accessed via login page, you have to change its background manually by editing logon package. There is a procedure on help.sap.com how to change logon page.
    Here I'm pasting the necessary parts. But hava a look at original doc.
    To customize the logon UI, we recommend the following procedure:
       1. Make a copy of com.sap.portal.runtime.logon.par.bak and rename it. In this example, it is renamed to my.new.logon.par.
       2. Move my.new.logon.par to a location outside of the <SAPJ2EEngine-deployment-dir>.
       3. Extract the files from my.new.logon.par preserving the directory structure.
       4. Modify files in the extracted PAR file.
       5. Put the modified files back into my.new.logon.par.
       6. Copy my.new.logon.par back to <SAPJ2Eengine-deployment-dir>\cluster\server\services\servlet_jsp\work\jspTemp\irj\root\WEB-INF\deployment\pcd.
       7. Rename the file <SAPJ2Eengine-deployment-dir>\cluster\server\ume\authschemes.xml.bak to authschemes.xml.
       8. In authschemes.xml, replace all occurrences of the string "com.sap.portal.runtime.logon" with "my.new.logon" in the tags <frontendtarget> and save the file.
       9. Restart the portal.
    --> Changing the authschemes.xml File
    You can change the authschemes.xml file using the Config Tool of SAP Web Application Server Java. When you edit the file, you should download the file to a local directory, edit it, and when uploading the edited file, create a new node in the configuration tree for it. In this way you do not loose the original version of the file.
           1.      Start the Config Tool by executing <SAPJ2EEEngine_installation>\j2ee\configtool\configtool.bat.
           2.      Choose the symbol for Switch to configuration editor mode.
           3.      In the tree, navigate to cluster_data u00AE server u00AE persistent u00AE com.sap.security.core.ume.service.
           4.      To switch to edit mode, choose  (Switch between view and edit mode).
           5.      In the tree, select authschemes.xml and choose  (Show the details of the selected node).
           6.      Choose Download and save the file to a local directory.
           7.      Edit the file locally.
           8.      Create a new node in the configuration tree for the edited file as follows:
                                a.      Select the node com.sap.security.core.ume.service.
                                b.      Choose the symbol for Create a node below the selected node ().
                                c.      Select the type File-entry.
                                d.      Choose Upload and select the file from your local directory.
                                e.      Enter the name for the entry, for example, authschemes_productive.xml. By default, the name of the uploaded file is used.
                                  f.      Choose Create.
                                g.      Choose Close window.
    The new node appears in the configuration tree.
    For UME to use the new file, you have to change the value of the property login.authschemes.definition.file to the name of the new authschemes file. Change the property as described in Editing UME Properties.
           9.      Restart the nodes in the cluster for the changes to take effect.

  • Types problem with rowset control and generated pageflow

    Hello,
    I made a rowset control from a flat table. Some of the columns where DATE type.
    In the associated pageflow, it generated a Databaseform bean and for the dates, it used a timestamp type.
    Which format should I use in the input of the form field ??
    each time i submit, the value in the action form is null ...
    what to do ? what should I modify in the rowset control, if I want to deal with string values til the real insert ?
    Thank you indeed

    Hello,
    I made a rowset control from a flat table. Some of the columns where DATE type.
    In the associated pageflow, it generated a Databaseform bean and for the dates, it used a timestamp type.
    Which format should I use in the input of the form field ??
    each time i submit, the value in the action form is null ...
    what to do ? what should I modify in the rowset control, if I want to deal with string values til the real insert ?
    Thank you indeed

  • Problems with custom FileSystemView and MultiSelection

    Hi
    I made a custom FileSystemView which can browse a ftp server. When the setMultiSelectionEnabled property is set to false, everythings working perfectly. The getSelectedFile method returns the correct selected file. However, when the multiselection is set to true, the getSelectedFiles method returns nothing, and the selected files doesnt even show in the JFileChooser "selected files" textfield.
    I find it strange cause i thought the only thing multiselection was doing differently was creating a file object array instead of a single file object. So if single selection works, multiselection should work too, no?
    Has this ever happened to anyone?

    nope,
    sorry enabling GEOMETRY_NOT_SHARED didnt do anything. i think it has something to do with the implementation of the SceneGraphIO interface.

  • JCheckBox as nodes in JTree having problems with custom renderer and editor

    Ok, let me give some background. I have an XML document that I am parsing and reading in as a JTree. Works fine.
    Next, I have overwritten the DefaultTreeCellEditor to return a JCheckBox and in this implementation of the getTreeCellEditorComponent(), I actually tell the node that he is selected. Works great.
    Next, I have overwritten the DefaultTreeCellRenderer to return a JCheckBox and in the implementation of the getTreeCellEditorComponenet, I actually check to see if the Node is selected in the tree based upon the isSelected state of the actual Tree Node set in the tree cell editor, and if so, I set the JCheckBox to selected(true).Works Great.
    Now, here is the issue. If a node in the tree is selected that contains children, then I want all of the children of that node to also be selected. However, when I select a node with children only the selected node is changed, and then a few moments later, the system repaints the entire tree and ALL nodes int the tree are set to a selected state. Strange? Yes. Any ideas?? WONDERFUL!! :)
    Here is the TreeCellEditor code:
    public Component getTreeCellEditorComponent(JTree tree,
    Object value,
    boolean isSelected,
    boolean expanded,
    boolean leaf,
    int row)
    elementCheckBox_ = new JCheckBox();
    Component result = null;
    System.out.println("isSelected? Editor = " + isSelected);
    TreePath newPath = tree.getPathForRow(row);
    System.out.println("value = " + value.getClass().toString());
    if(value instanceof IMarketTreeNodeElement)
    if(isSelected)
    if(((IMarketTreeNodeElement)value).isSelected())
    ((IMarketTreeNodeElement)value).setSelected(false);
    else
    ((IMarketTreeNodeElement)value).setSelected(true);
    elementCheckBox_.setSelected(isSelected);
    return elementCheckBox_;
    Here is the TreeCellRenderer code:
    public Component getTreeCellRendererComponent(JTree tree,
    Object value,
    boolean selected,
    boolean expanded,
    boolean leaf,
    int row,
    boolean hasFocus)
    Color colSelBorderCol = UIManager.getColor
    ("Tree.selectionBorderColor");
    selBorder_ = BorderFactory.createLineBorder(colSelBorderCol, 1);
    normBorder_ = BorderFactory.createEmptyBorder(1,1,1,1);
    elementCheckBox_.setText(value.toString());
    if(selected)
    elementCheckBox_.setSelected(selected);
    elementCheckBox_.setForeground(Color.YELLOW);
    elementCheckBox_.setBackground(Color.RED);
    else
    elementCheckBox_.setForeground(tree.getForeground());
    elementCheckBox_.setBackground(tree.getBackground());
    if (hasFocus)
    elementCheckBox_.setBorder(selBorder_);
    else
    elementCheckBox_.setBorder(normBorder_);
    return elementCheckBox_;
    Here is the Node Code setting all child nodes to selected:
    public void setSelected(boolean selected)
    isSelected_ = selected;
    if(isSelected_)
    if((this.getTagName() == "MARKET") ||
    (this.getTagName() == "TIER") &&
    (this.getChildCount() != 0))
    selectChildren(true);
    else
    if((this.getTagName() == "MARKET") ||
    (this.getTagName() == "TIER") &&
    (this.getChildCount() != 0))
    selectChildren(false);
    public boolean isSelected()
    return isSelected_;
    public void selectChildren(boolean selected)
    int children = getChildCount();
    for(int i = 0; i < children; i++)
    IMarketTreeNodeElement elem = (IMarketTreeNodeElement)
    this.getChildNodes().item(i);
    isSelected_ = selected;
    Thanks for any help! :-)

    I tried to run your sample code and it won't compile. The header files:
    #include
    #include
    #include
    #include
    #include
    do not exist on my install of MeasurementStudio. I am a bit suspicous that I don't have the latest and greatest (loading the dialong resouce gave version warnings). Here is one of my header file headers:
    //==============================================================================
    // Title : NiAxes3d.h
    // Copyright : National Instruments 1999. All Rights Reserved.
    // Purpose : Defines the CNiAxes3D class.
    //==============================================================================
    I
    looked on your updates site and don't really see an update that applies to ComponentWorks or MeasurementStudio. My version per the MAX program for 3DControls is 3.5.549.
    Do I need a newer version? What do I have to do to get the updated version? What does it cost?
    Chuck

  • I think pesimo customer service three days, I'm looking for someone I can ayudr activation problem with my CC and can not find anyone who can help me.

    I think pesimo customer service three days, I'm looking for someone I can ayudr activation problem with my CC and can not find anyone who can help me.

    Online Chat Now button near the bottom for Activation and Deactivation problems may help
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • Problems with Custom Paper Size and Address Book

    I'm having some trouble printing from Address Book onto a custom paper size. I'm attempting to set up a notecard, and only print one at a time, rather than multiple columns as in the Labels option. The trouble is that when creating this small size, Address Book doesn't recognize it as anything other than a regular sheet of US Letter, and thus prints the address in the middle of the page.
    I have no problem printing envelopes, though, which seems odd because they too go in the manual feed for my printer. The notecards are similar width to the envelopes, but only about half the length.
    Has anyone else experienced problems with custom paper sizes printing improperly? I'm using an HP 4515 LaserJet, but have access to a few other laser printers. Thanks for any insight

    I have had the same problem, and with the same result; Adobe Tech Support can't help or fix, after 15 hours on phone, Level 2 support. It is a software bug Adobe has, and can't seem to fix.  I just upgraded to Lightroom CC, and my problem migrated with the upgrade.  I print in Photoshop fine.
    If you found an answer, I would appreciate  knowing how to do it!
    Thanks

  • Problems with ListViews Drag and Drop

    I'm surprised that there isn't an Active X control that can do this more
    easily? Would
    be curious to find out if there is - although we aren't really embracing the
    use of
    them within Forte because it locks you into the Microsoft arena.
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 02/03/98 01:33
    PM ---------------------------
    "Stokesbary, Michael" <[email protected]> on 02/03/98 12:19:52 PM
    Please respond to "Stokesbary, Michael" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    cc:
    Subject: Problems with ListViews Drag and Drop
    I am just curious as to other people's experiences with the ListView
    widget when elements in it are set to be draggable. In particular, I am
    currently trying to design an interface that looks a lot like Windows
    Explorer where a TreeView resides on the left side of the window and a
    ListView resides on the right side. Upon double clicking on the
    ListView, if the current node that was clicked on was a folder, then the
    TreeView expands this folder and the contents are then displayed in the
    ListView, otherwise, it was a file and it is brought up in Microsoft
    Word. All this works great if I don't have the elements in the ListView
    widget set to be draggable. If they are set to be draggable, then I am
    finding that the DoubleClick event seems to get registered twice along
    with the ObjectDrop event. This is not good because if I double click
    and the current node is a folder, then it will expand this folder in the
    TreeView, display the contents in the ListView, grab the node that is
    now displayed where that node used to be displayed and run the events
    for that as well. What this means, is that if this is a file, then Word
    is just launched and no big deal. Unfortunately, if this happens to be
    another directory, then the previous directory is dropped into this
    current directory and a recursive copy gets performed, giving me one
    heck of a deep directory tree for that folder.
    Has anybody else seen this, or am I the only lucky one to experience.
    If need be, I do have this exported in a .pex file if anybody needs to
    look at it more closely.
    Thanks in advance.
    Michael Stokesbary
    Software Engineer
    GTE Government Systems Corporation
    tel: (650) 966-2975
    e-mail: [email protected]

    here is the required code....
    private static class TreeDragGestureListener implements DragGestureListener {
         public void dragGestureRecognized(DragGestureEvent dragGestureEvent) {
         // Can only drag leafs
         JTree tree = (JTree) dragGestureEvent.getComponent();
         TreePath path = tree.getSelectionPath();
         if (path == null) {
              // Nothing selected, nothing to drag
              System.out.println("Nothing selected - beep");
              tree.getToolkit().beep();
         } else {
              DefaultMutableTreeNode selection = (DefaultMutableTreeNode) path
                   .getLastPathComponent();
              if (selection.isLeaf()) {
              TransferableTreeNode node = new TransferableTreeNode(
                   selection);
              dragGestureEvent.startDrag(DragSource.DefaultCopyDrop,
                   node, new MyDragSourceListener());
              } else {
              System.out.println("Not a leaf - beep");
              tree.getToolkit().beep();
    }

  • Problems with the richTextEditor and quotes

    Hello
    I'm having problems with quote chars and the richText
    control's htmlText. When users enter quotes into the richTextEditor
    control. The quotes breaks the HTML text, meaning it's no longer
    well formatted. Is there an escape char that I need to use. Or do I
    need to force some kind of refresh on the control prior to using
    the htmlText string?

    I have been using RTE in a content management system and
    found a need to replace non-standard quote characters with proper
    UTF-8 character counterparts. Curly quotes in particular are
    problematic. Use a replace function to substitute non-standard for
    standard characters.

Maybe you are looking for

  • SOA 11.1.1.3.0 - Connection Pool has been suspended during weak load

    Hi, I have a SCA with different BPEL, all uses several db adapters. Each db adapter has retry count set to 1. Each bpel has the following properties:     <property name="bpel.config.transaction" many="false">required</property>     <property name="bp

  • Oracle 9i on Windows 2003 server - DBCA error

    1. This is the error message that I get when I am trying to install the 9.2.0.3 software in a new oracle home. There is a 10g database which sits in a different Oracle home. The OUI runs smoothly until it comes to the point where the Database Config

  • BEA WebLogic JRockit(TM) 1.4.2_03  SDK Dump on linux

    ===== BEGIN DUMP ============================================================= JRockit context dump produced after 0 days, 00:36:09 on Mon May 31 11:31:15 2004 If you see this dump, please send it, along with as much information as you can on your sy

  • Import package.* doesnot work..

    hello all.. I have this problem. I have made two classes, A.java and B.java. Both the classes are in the same folder. Class A.java package pack1; public class A      public void testA()           System.out.println("Package Pack1 : A "); Class B.java

  • Vendor account not associated?

    I originally installed ADE and and authorized use without a vendor account or Adobe ID.  I had to perform system restore on my laptop and ADE was removed for some reason so I had to reinstall it.  This caused me to have to create and Adobe ID.  So I