When custom button jump reversal

I created a custom for my use "next" "back" button and place them in the folder buttons. Up, down and more.  Selected in the pull down menu in the Properties window and they appear on the end scene.

When I run the slide and hover over the button, more state jumps to the center of the screen and is crushed!  What happens in the world?  I deleted and start over.  Run the slide and when I ride, the over State appears in the middle of the crushed screen.

What I am doing wrong?

Delete preferences.  Those are buttons image, right? You have created 3 images, which names ending with _up. anime_survol and _down?

I've heard of buttons with States having problems, take a look at this thread where someone from the staff offers a workaround solution, starting, as I did with the removal of preferences (there is a file that you can run in the subfolder of the installation of Captivate Utils folder)

Re: why my button jumps around reagent

Tags: Adobe Captivate

Similar Questions

  • Custom button



    Hello

    I'm putting a custom button (jump button 2) to link to a URL (HTML_Help layout). The
    the address is https://sitename. It does not work. However, if I connect to http:/sitename
    This method works. Is it because a link has the 's' at the end of http? If so, is there a way of
    work around this problem?

    Let me know if you have thoughts.

    Thank you very much

    -L

    Hi all

    If the secure protocol will indeed cause a problem, the only way I can think to work around, it's using the venerable redirection page. You create a standard topic in your system and the key link to the standard topic. The standard theme would then redirect to the HTTPS page desired.

    Article read by clicking this little ole link here should help to create the redirection page.

    See you soon... Rick

  • I want to use a custom button photoshop with my composition and have the substitution effect

    I'm trying to put a button in photoshop in a blank publication widget trigger. When I cut an paste the image into the trigger, he loses his robot and switches are no longer the colors during the reversal. It works very well in the composition of the lightbox, but the problem with lightbox composition, is there no working capital options to display click only target. How to work around this problem. I want to have my own custom button with the effect of composition within the cc muse.

    You should check the design layout and defined States for relaxation, if the State is set correctly then it should show the rollover State, but the container target corresponding to the relaxation is on the page, then it could show you the active State not the rollover State.

    Thank you

    Sanjit

  • Table of custom button of the widget content

    Hi guys,.

    I used to have a widget that allows you to create a custom button to expand the table of contents... for the State by default and then he would swap the image when it was expanded, the button is present to the right of the table of contents... no one knows if this widget is always and preferably one that works in version 7?

    Thanks Lilybiri! ... I made the jump directly from version 5 to 7 if I did not know it was available

  • Why the added buttons jump to the right in full screen

    I added 3 buttons add-on and 1 control button to the navigation bar:

    1. Web of Trust
    2. Adblock more
    3. NoScript
    4. Toggle full screen

    When I toggle 6 Firefox in full screen, these 4 buttons jump to the far right.

    Why Firefox 6 What should I do? It's a little boring.
    It happened not in Firefox 4.1 and earlier versions.
    Please compare the two screenshots on
    screenshot 1
    screenshot 2

    Looks like you added the buttons to the right of the hbox fullscreenflex which normally results in the windows of command buttons to shift right.

    You can try to delete all of the toolbar buttons and the re - add one at a time to see if they still appear on the far right.

    See also:

  • Custom button keyboard

    I made a custom button that looks like a button on a computer keyboard.  When not selected it seems to be raised and that selected it seems lowered.  The question I have is when picked up and down key change so it is lowered to the axis ot the button and I want to be pressed to the bottom of the image.  How can I get there?

    Thanks for the help!

    Hey,.

    I think you are looking for something like this?
    (See attachment)

    You can edit it as a custom control. Open the custom control and type Customize mode, right click the button and check the option "size independent. This let's customize you the on and off State State separately.

    You can select individual States again right click and "elements of the image."

    When the button is 'up', I left the control being, when the button is 'down' I moved this State so that the base was at the same level as the base of the State 'up', leading to the illusion of a keyboard button.

    I hope I explained that well enough and it helps!

  • Problem with fieldChanged() and custom button field

    Hello

    I created a custom button class by extending LabelField.  I chose LabelField over field because the LabelField contains desirable properties that are already being implemented.  The only problem I'm having has to do with the change listener.  It seems to 'steal' the event click on other areas in my application.

    For example, when I click on the custom button, a popupscreen with a listfield opens. When I click on an item in the listfield, then the fieldChanged() of custom button is called again...

    Can you see anything wrong with my code?

    package com.rantnetwork.fields;
    
    import com.rantnetwork.app.Constants;
    import net.rim.device.api.system.Display;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Font;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.Ui;
    import net.rim.device.api.ui.XYEdges;
    import net.rim.device.api.ui.component.LabelField;
    import net.rim.device.api.ui.decor.BackgroundFactory;
    import net.rim.device.api.ui.decor.BorderFactory;
    
    public class CustomButtonField extends LabelField {
    
        private boolean highlighted = false;
    
        public CustomButtonField(String text, long style) {
            super(text, style | Field.FOCUSABLE | LabelField.ELLIPSIS);
    
            setPadding(10, 0, 10, 5);
    
            setFont(Font.getDefault().derive(Font.BOLD,
                    Constants.DEFAULT_FONT_SIZE, Ui.UNITS_pt));
    
            setBackground(BackgroundFactory.createLinearGradientBackground(
                    0x163d7c, 0x163d7c, 0x03162d, 0x03162d));
            setBorder(BorderFactory
                    .createBevelBorder(new XYEdges(1, 1, 1, 1), new XYEdges(
                            Color.BLACK, Color.BLACK, Color.BLACK, Color.BLACK),
                            new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK,
                                    Color.BLACK)));
    
        }
    
        public int getPreferredWidth() {
            return Display.getWidth() / 3;
        }
    
        protected void paint(Graphics graphics) {
            graphics.setColor(Color.WHITE);
            super.paint(graphics);
        }
    
        protected void drawFocus(Graphics graphics, boolean on) {
            // Do nothing
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return true;
        }
    
        protected void onFocus(int direction) {
            if (!highlighted) {
                setBackground(BackgroundFactory.createLinearGradientBackground(
                        0x4bb7df, 0x4bb7df, 0x1b96da, 0x1b96da));
                setBorder(BorderFactory.createBevelBorder(new XYEdges(1, 1, 1, 1),
                        new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK,
                                Color.BLACK), new XYEdges(Color.BLACK, Color.BLACK,
                                Color.BLACK, Color.BLACK)));
            }
        }
    
        protected void onUnfocus() {
            if (!highlighted) {
                setBackground(BackgroundFactory.createLinearGradientBackground(
                        0x163d7c, 0x163d7c, 0x03162d, 0x03162d));
                setBorder(BorderFactory.createBevelBorder(new XYEdges(1, 1, 1, 1),
                        new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK,
                                Color.BLACK), new XYEdges(Color.BLACK, Color.BLACK,
                                Color.BLACK, Color.BLACK)));
            }
        }
    
        public void showHighlighted(boolean focus) {
            if (focus) {
                highlighted = true;
                setBackground(BackgroundFactory.createLinearGradientBackground(
                        0x4bb7df, 0x4bb7df, 0x1b96da, 0x1b96da));
                setBorder(BorderFactory.createBevelBorder(new XYEdges(1, 1, 1, 1),
                        new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK,
                                Color.BLACK), new XYEdges(Color.BLACK, Color.BLACK,
                                Color.BLACK, Color.BLACK)));
            } else {
                highlighted = false;
                setBackground(BackgroundFactory.createLinearGradientBackground(
                        0x163d7c, 0x163d7c, 0x03162d, 0x03162d));
                setBorder(BorderFactory.createBevelBorder(new XYEdges(1, 1, 1, 1),
                        new XYEdges(Color.BLACK, Color.BLACK, Color.BLACK,
                                Color.BLACK), new XYEdges(Color.BLACK, Color.BLACK,
                                Color.BLACK, Color.BLACK)));
            }
            invalidate();
        }
    
        public boolean isHighlighted() {
            return highlighted;
        }
    
    }
    

    behrk2 wrote:

    Now, I'm not sure why customButton.setText (calling) would trigger the fieldChanged().  Can anyone think of a reason why he can do?

    Thank you!

    Can you think of a reason why we can't do that? The field has changed, after all! Of course, the context (second argument to fieldChanged) will be PROGRAMMATIC in this case, that might be a pretty good indication for you. But not invoke fieldChanged at all would be wrong.

    This is why I don't like the idea of extending LabelField and not just the field for your custom badges - you have much less control over his behavior. If you want an example showing how to create abstract off-screen buttons, take a look at BaseButtonField and his descendants in managers, fields and advanced buttons.

  • How to add and delete custom buttons

    Hello world

    I have two field of custom button with different colors of red and white button.

    And I want to add and remove both button in the same place each other.

    I mean when I click on the red button, red button remove the screen and the same when I click on the white button to remove white button must be appear and red button should appear. Both button must be exposed to the same place.

    Please any idea...

    Thank you.

    public void add (field)
    survey
    IllegalStateException - if the field has already been added to a Manager.

    Public Sub delete (field)
    IllegalArgumentException - if the field to delete does belong to this Manager.

    So check with the field.getManager () function to make it work properly...

  • Problems of creation of custom buttons

    Hello, I'm trying to create three custom buttons here in my application's main window.  I did a CustomButtonField class to try to change around the colors and size, but when I run my application no buttons appear in my application?  What I am doing wrong?

    Help, please.

    The main window class.

    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.Font;
    import net.rim.device.api.ui.FontFamily;
    import net.rim.device.api.ui.MenuItem;
    import net.rim.device.api.ui.Ui;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.ButtonField;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.Menu;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.container.VerticalFieldManager;
    import net.rim.device.api.ui.decor.Background;
    import net.rim.device.api.ui.decor.BackgroundFactory;
    
    public class MainPage_Recipes extends MainScreen
    {
    
        private VerticalFieldManager _manager ;
        CustomButtonField findButton;
        CustomButtonField submitButton;
        CustomButtonField aboutButton;
    
        public MainPage_Recipes()
        {
    
            try
            {
    
                 FontFamily Global = FontFamily.forName("BBGlobal Serif");
                 Font appFont = Global.getFont(Font.PLAIN, 8, Ui.UNITS_pt);
                 setFont(appFont);
    
                 Bitmap labelImage =  Bitmap.getBitmapResource("chef2.png");
    
                 add(new CustomLabelField ("Find A Recipe", Color.WHITE, 0xff0000, labelImage, Field.USE_ALL_WIDTH));
    
                 _manager = (VerticalFieldManager)getMainManager();
    
                 Background bg = BackgroundFactory.createSolidBackground(0x00DDDDDD);
                 _manager.setBackground(bg);
    
                 FieldChangeListener findCan = new FieldChangeListener()
                    {
                        public void fieldChanged(Field field, int context)
                        {
                            findRecipe find = new findRecipe();
                            UiApplication.getUiApplication().pushScreen(find);
                        }
                    };
                 FieldChangeListener submitCan = new FieldChangeListener()
                    {
                        public void fieldChanged(Field field, int context)
                        {
                            submitRecipe submit = new submitRecipe();
                            UiApplication.getUiApplication().pushScreen(submit);
                        }
                    };
                 FieldChangeListener aboutCan = new FieldChangeListener()
                    {
                        public void fieldChanged(Field field, int context)
                        {
                            aboutApp about = new aboutApp();
                            UiApplication.getUiApplication().pushScreen(about);
                        }
                    };
    
                 findButton = new CustomButtonField(" Find Recipe ", Color.WHITE, Color.BLACK, Field.FIELD_HCENTER);
                 findButton.setChangeListener(findCan);
                 submitButton = new CustomButtonField(" Submit Recipe ", Color.WHITE, Color.BLACK, Field.FIELD_HCENTER);
                 submitButton.setChangeListener(submitCan);
                 aboutButton = new CustomButtonField(" About ", Color.WHITE, Color.BLACK, Field.FIELD_HCENTER);
                 aboutButton.setChangeListener(aboutCan);
    
                 _manager.add(findButton);
                 _manager.add(submitButton);
                 _manager.add(aboutButton);
    
                 add(_manager);
    
            }
            catch(Exception e)
            {
    
            }
        }
        protected void makeMenu(Menu menu, int instance)
        {
    
            menu.add(_close);
            menu.add(_cancel);
    
        }
        private MenuItem _close = new MenuItem("Close", 110, 10)
        {
            public void run()
            {
    
                Dialog.alert("Goodbye!");
    
                System.exit(0);
    
            }
        };
        private MenuItem _cancel = new MenuItem("Cancel", 110, 10)
        {
            public void run()
            {
    
            }
        };
    
    }
    

    Class CustomButtonField:

    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Graphics;
    
    public class CustomButtonField extends Field
    {
        private String label;
        private int backgroundColor;
        private int foregroundColor;
    
        public CustomButtonField(String label, int foregroundColor,
                int backgroundColor, long style)
        {
            super(style);
            this.label = label;
            this.foregroundColor = foregroundColor;
            this.backgroundColor = backgroundColor;
    
        }
        public int getPreferredHeight()
        {
            return getFont().getHeight() + 8;
        }
    
        public int getPrefferedWidth()
        {
            return getFont().getAdvance(label) + 8;
        }
    
        protected void layout(int width, int height)
        {
            setExtent(Math.min(width, getPreferredWidth()), Math.min
                    (height, getPreferredHeight()));
    
        }
        protected void paint(Graphics graphics)
        {
            graphics.setColor(backgroundColor);
            graphics.fillRoundRect(1, 1, getWidth()-2, getHeight()-2, 12, 12);
            graphics.setColor(foregroundColor);
            graphics.drawText(label, 4, 4);
        }
        public boolean isFocusable()
        {
            return true;
        }
    }
    

    Help, please.

    Thank you

    Scientist

    Hi, I discovered very pblm is

    This.getPrefferedWidth usage and height, I think you will get it.

    protected void layout(int width, int height)     {     // TODO Auto-generated method stub        this.setExtent(this.getPrefferedWidth(),this.getPreferredHeight());   }
    

    Concerning

    Rakesh Shankar.P

  • Custom button on a touch paint problem

    I have a custom button that I use to the pop-up window of a PopupScreen. The custom button has his own painting methods (he also replaces the applyTheme() method), and for the most part, everything works as expected.

    The only problem I have is when the button is pressed. If I press and hold the button, the button is redrawn with what seems to be the default paint scheme (it seems that it is painted without label as well). As soon as I release the button and the context menu is displayed, the button is redrawn with my custom methods and look as I hope.

    Suggestions appreciated, thanks!

    If navigationClick is treated by default? This is the root of the problem: I think that integrated ButtonField.navigationClick defines the Visual status of the "active" field Replace to do what you want it to do and do not call super.navigationClick (well, call of may when the status parameter is not 0 - in the case of Alt-click and make shift-click - and you don't want to deal with yourself).

  • Development/unfocus field custom button problem

    Hi all

    I have something weird happens.  I have a custom button field that swaps the images based on a focused state or blur.  I have been using this field custom for awhile now, and I have never had any problems.  Imagine the following provision:

    ______________    ________________________

    | Custom button |    | BasicEditField |

    ------------------------    ------------------------------------------

    When my screen is launched, the focus is on the custom button.  If I move the trackball in a downward movement, the focus is taken the custom button, and its background image changes adequately to what has been defined in the untargeted State.  The BasicEditField then has the focus.  This is the correct behavior.

    If, however, I move the trackball in a movement to the right to the BasicEditField, then the BasicEditField will indeed get the focus, however the custom button field always displays its "highlight" picture  Using print statements, I was able to determine that when I move in a movement to the right with the trackball, the custom field button loses the focus and then gets the focus back to back, that's why it shows the highlighted image.

    Additional info:  This isn't an issue on touch devices, and custom button Manager is a TableLayoutManager.

    Any ideas why this might be happening?  Here's the code to my custom button field:

    public class BitmapButtonField extends Field {
        private String text = "";
        private Bitmap bitmap;
        private Bitmap bitmapHighlight;
        private Bitmap b;
        private boolean highlighted;
    
        public BitmapButtonField(String image, String imageHighlight, long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        public BitmapButtonField(String text, String image, String imageHighlight,
                long style) {
    
            super(style | Field.FOCUSABLE);
    
            this.text = text;
            this.bitmap = Bitmap.getBitmapResource(image);
            this.bitmapHighlight = Bitmap.getBitmapResource(imageHighlight);
    
            b = bitmap;
    
        }
    
        protected void drawFocus(Graphics graphics, boolean on) {
            // Do nothing
        }
    
        public int getPreferredHeight() {
            return bitmap.getHeight();
        }
    
        public int getPreferredWidth() {
            return bitmap.getWidth();
        }
    
        protected void layout(int width, int height) {
            setExtent(getPreferredWidth(), getPreferredHeight());
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return true;
        }
    
        protected void onFocus(int direction) {
            b = bitmapHighlight;
            invalidate();
            System.out.println("FOCUSED");
    
        }
    
        protected void onUnfocus() {
            b = bitmap;
            invalidate();
            System.out.println("UNFOCUSED");
        }
    
        protected void paint(Graphics graphics) {
    
            int topTextPadding = (b.getHeight() - getFont().getHeight()) / 2;
            int sideTextPadding = (b.getWidth() - getFont().getAdvance(text)) / 2;
    
            graphics.drawBitmap(0, 0, getWidth(), getHeight(), b, 0, 0);
            graphics.setColor(Color.WHITE);
            if (text.length() > 0) {
                graphics.drawText(text, sideTextPadding, topTextPadding,
                        Graphics.ELLIPSIS, b.getWidth());
            }
        }
    }
    

    Have you looked at navigationMovement in the TableLayoutManager?  I confess that I rewrote it because it handles no left and right as I wanted.  Perhaps, you might be able to do the same thing.

  • Paint custom button problem

    Hi, I have a custom button that must be next to a labelfield.

    The paint of the button code is:

     protected void paint(Graphics graphics) {
    
       graphics.drawBitmap(13, 0, fieldWidth, fieldHeight, button, 0, 0,);
    
    }
    

    Where '13' is the space between labelfield and button. But when the font size is larger, the result is the following: [IMG]http://i34.tinypic.com/xeq2hu.jpg[line]

    The button is cut off and other times, its even more. What could be a solution?

    Thanks in advance.

    A HorizontalFieldManager defines the fields from left to right, it only wraps to the next line.  You can use a FlowFieldManager to achieve that has the fields from left to right, then on the next line below.

  • setChangeListener is not catch custom buttons

    I've done some custom buttons (extends the scope) and overrided the navigation click on it:

    protected boolean navigationClick(int status, int time) {    fieldChangeNotify(1);    return true;}
    

    I put these buttons in a GridFieldManager, but the setChangeListener event is never caught when I click on the button... any idea?

    Thank you!

    the button enter is not a navigationclick. You can use keydown, keychar, or a similar method to deal with.

  • APEX 5.0 POP-UP window just click on the custom button

    When you click on a custom button then it will fill new pop page. How can we do this?

    I added below code in the action of URL redirection, but it won't work

    Window.Open ("f? p = 102.:6: & SESSION. popup1″ ",");

    Hello

    I prefer to use modal dialog boxes like this

    http://www.Explorer-development.UK.com/Creating-modal-dialog-Apex-5-0/

    Concerning

    Mahmoud

  • The bean code is not activate when-custom-point-event trigger

    I wrote a java bean to read card reader Omnikey.  It works - almost.  When-custom-point-event is not fired.  Get the key of the reader in the java console, but then follows an exception.  The exeption complains, I believe, m_handler null variable in dispatchMessage() call which is what should be pulled when-custom-point-event in the form. I'm missing something minor and that everything works.  See Oracle Forms java console ATR key followed then path exception at the bottom of this post.  I have to FBean.Enable_Event.  What would be the name of the event listener?   I got the kifani of this example code: https://community.oracle.com/thread/68004------ this example isn't mention or implement a listener.  I just need to return the key and place it in a named text field: test.atr.

    a time new form instance

    FBean.Register_Bean('TEST.) CARD_READER_BEAN_AREA', 1, 'CardReader.CardReaderWrapper');

    FBean.set_logging_mode('TEST.) CARD_READER_BEAN_AREA', 1, FBEAN. LOG_ALL);

    button with when button pressed

    fbean. Invoke('TEST.) CARD_READER_BEAN_AREA', 1, 'main');

    When-custom-point-event

    DECLARE
    eventName varchar2 (30): =: system.custom_item_event;
    eventValues ParamList;
    number of eventValueType;
    tempString varchar2 (100);
    BEGIN
    IF (eventName = "CARDINFO_EVENT") THEN
    eventValues: = get_parameter_list(:system.custom_item_event_parameters);
    get_parameter_attr (eventValues, 'CARDINFO_DATA', eventValueType tempString);
    END IF;

    - Then do something with tempString...
    -for example
    -message ("payload has been: ' |") tempString);
    : test. ATR: = tempString;
    END;

    Java Bean code...

    package, card reader;

    import java.util.List;

    Javax.smartcardio import. *;

    Import oracle.forms.ui.VBean;
    Import oracle.forms.properties.ID;
    Import oracle.forms.handler.IHandler;
    Import oracle.forms.ui.CustomEvent;

    SerializableAttribute public class CardReaderWrapper extends kifani {
    Property registered under the name of the custom event
    Call it what you want...
    public static String strOut = null; used in part of the code ATR

    public static final ID CARDINFO_EVENT = ID.registerProperty ("CARDINFO_EVENT");

    Property to set the name of the parameter that contains the payload
    the event - for example your data
    public static final ID CARDINFO_DATA = ID.registerProperty ("CARDINFO_DATA");

    A reference to the Forms Manager associated with this component.
    It is used to send custom form events
    private IHandler m_handler = null;

    /**
    * Method of the oracle.forms.ui.IView class and substitute of the kifani
    * base class.  This life cycle method is called one time what forms creates a
    the instance of the JavaBean.
    *
    < B > @param Manager < /b > a reference to the handler for the JavaBean class.
    */
    {} public void init (Manager IHandler)
    Manager = m_handler;
    Super.init (Handler);
    }

    /**
    * Function to dispatch an event and the data payload
    * Return to forms
    * In this case, we use the pre-defined event and the IDs payload
    *
    @param payload < b > < /b > to return to the event data.
    */
    Private Sub dispatchMessage (String payload) {}
    try {}
    The CustomEvent = new CustomEvent (m_handler, CARDINFO_EVENT);
    m_handler. SetProperty (CARDINFO_DATA, payload);
    super.dispatchCustomEvent (this);
    } catch (Exception e) {}
    e.printStackTrace ();
    }
    }


    the rest of your bean code follows
    and calls the dispatchMethod() method, which precedes
    to contact forms

    Public Shared Sub main (String [] args) {}

    CRW CardReaderWrapper = new CardReaderWrapper();
    Plant of TerminalFactory = TerminalFactory.getDefault ();

    CardTerminals cardTerminals = factory.terminals ();
    The list < CardTerminal > cardTerminalList;

    try {}

    cardTerminalList = cardTerminals.list ();

    for (CardTerminal cardTerminal: cardTerminalList) {}

    If (cardTerminal.isCardPresent ()) {}
    Card card;

    try {}

    map = cardTerminal.connect ("T = 0");

    card.beginExclusive ();
    } catch (CardException e) {}
    strOut = ("8"); This card but with card error
    System.out.println (strOut);
    crw.dispatchMessage (strOut);
    continue;
    }
    ATR atr = card.getATR ();

    Byte [] atrBytes = atr.getBytes ();
    System.out.println ("0" + javax.xml.bind.DatatypeConverter.printHexBinary (atrBytes));
    strOut = '0' + javax.xml.bind.DatatypeConverter.printHexBinary (atrBytes);
    card.endExclusive ();
    Card.Disconnect (true);

    crw.dispatchMessage (strOut);
    }

    }

    } catch (CardException e) {}
    System.out.println("7"); no card reader not connected? ») ;
    crw.dispatchMessage("7");

    }
    If (strOut == null) {}
    System.out.println("9");
    crw.dispatchMessage("9");
    }
    }


    }

    Key to Java Console ATR with the Exception

    0 3B0500026E05BA

    java.lang.IllegalArgumentException: null source

    to impossible. < init >(Unknown Source)

    to oracle.forms.ui.CustomEvent. < init >(Unknown Source)

    at CardReader.CardReaderWrapper.dispatchMessage (CardReaderWrapper.java:48)

    at CardReader.CardReaderWrapper.main (CardReaderWrapper.java:97)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at oracle.forms.beans.MethodHelperPM.invokeMethod (unknown Source)

    at oracle.forms.beans.MethodPM.setProperty (unknown Source)

    at oracle.forms.ui.VBean.setBeanProperty (unknown Source)

    at oracle.forms.ui.VBean.setProperty (unknown Source)

    at oracle.forms.handler.ComponentItem.setCustomProperty (unknown Source)

    at oracle.forms.handler.ComponentItem.onUpdate (unknown Source)

    at oracle.forms.handler.JavaContainer.onUpdate (unknown Source)

    at oracle.forms.handler.UICommon.onUpdate (unknown Source)

    at oracle.forms.engine.Runform.onUpdateHandler (unknown Source)

    at oracle.forms.engine.Runform.processMessage (unknown Source)

    at oracle.forms.engine.Runform.processSet (unknown Source)

    at oracle.forms.engine.Runform.onMessageReal (unknown Source)

    at oracle.forms.engine.Runform.onMessage (unknown Source)

    at oracle.forms.engine.Runform.processEventEnd (unknown Source)

    at oracle.ewt.lwAWT.LWComponent.redispatchEvent (unknown Source)

    at oracle.ewt.lwAWT.LWComponent.processEvent (unknown Source)

    at java.awt.Component.dispatchEventImpl (unknown Source)

    at java.awt.Container.dispatchEventImpl (unknown Source)

    at java.awt.Component.dispatchEvent (unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent (unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent (unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent (unknown Source)

    at java.awt.Container.dispatchEventImpl (unknown Source)

    at java.awt.Window.dispatchEventImpl (unknown Source)

    at java.awt.Component.dispatchEvent (unknown Source)

    at java.awt.EventQueue.dispatchEventImpl (unknown Source)

    at java.awt.EventQueue.access$ 500 (unknown Source)

    in java.awt.EventQueue$ 3.run (unknown Source)

    in java.awt.EventQueue$ 3.run (unknown Source)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege (unknown Source)

    in java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege (unknown Source)

    in java.awt.EventQueue$ 4.run (unknown Source)

    in java.awt.EventQueue$ 4.run (unknown Source)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege (unknown Source)

    at java.awt.EventQueue.dispatchEvent (unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters (unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter (unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy (unknown Source)

    at java.awt.EventDispatchThread.pumpEvents (unknown Source)

    at java.awt.EventDispatchThread.pumpEvents (unknown Source)

    at java.awt.EventDispatchThread.run (unknown Source)

    Well... I solved this problem by making static m_handler.  Now I have another question.  I post another question...

Maybe you are looking for