How to get event 'out of the class'

I have been reading myself silly about this, I either don't get it or it is very difficult.
What I want to do:
1) setup
2) show panel
3) handle input in panel
4) once valid
5) "get out"
6) display other panel.
I can go all the way to 4.
But I can't get "out" of the panel.
All I can guess/understand is that I have to trigger an event that will be handled below/outside this panel.
Has anybody some idea how to do this? Maybe a link to some example code?
There is tons to read about event handling but the (only) part I understand is about events within classes just as all the examples are (One panel two buttons, two pictures etc)
I guess the only option I might envision is dividing by zero and catching the error outside the panel.
That would be bazooking a mosquito, but it also shows what I try to implement.
I'd be so happy to understand this part of the 'java system' ...
(please understand that I don't want 'cardlayout', I want to understand what I need to do)
Much thanks for any help!

Thank you for your suggestion.
My problem is that I am (feel?) stuck within the panel.
So to put it differently, I cannot build a child panel with a button (in the child) that will have the parent pane change color. This as my 'code focus' is within the child panel and I cannot 'activate' code outside it.
I am totally confused now as to how java works.
So I cannot write a parent pane with a child pane where the child tests for a name and if the name is correct the child will be removed and some code will put in another child pane with fi a picture.
This seems so utterly basic to any programmers needs, but I cannot find one example - or I have gone blind looking for it. In my code if I want to read the input field I have to handle it within the child pane, if I want to change child panels I need to do that in the parents panel code. But I can't change the code focus. So the child needs to generate an event that the parents can act upon, but there are no examples while I actually expect tons of examples. So maybe I don't speak 'Java'.
This meaning that I cannot write a stack of panes and remove them one by one using fi the escape key.
I am just left clueless by Java.

Similar Messages

  • Huge Problem: How to get Information out of the SAP System into MySQL?

    Hi all
    Im totally despaired... So im comming here, hoping to find ANY solution.
    I wrote a Program, which creates a internal Table wich some information from many DDIC-Tables. The internal Table is about 7 Columns, with only char fields.
    Also I have a MySQL Server (reached through the Internet), with a database on it, and a table, which looks 1:1 as my internal Table in ABAP does.
    Now I want to append the Data from the internal Table to the MySQL Table.
    Is there ANY chance of getting this done?
    and btw. can I append this Data with a secured connection?
    THX for help...
    greets
    Markus Voelker

    Think of Orchestrator as a "router", that will route information and workflows between SCOM, and [insert 3rd party product here].  Depending on your 3rd party product, there may be an "integration pack" for it that Orchestrator can use for out of the
    box tasks.
    So what's an integration pack?  Well - think of it like a management pack, but for Orchestrator.  SCOM does monitoring, but it doesn't know how to monitor something unless you install the relevant management pack.  The management pack contains
    all the rules/monitors for monitoring whatever it is you wish to monitor.
    Well, an integration pack is similar in concept, except it tells Orchestrator how to interface and integrate with whatever it is you're trying to perform tasks with. 
    For what you want to do, there is a SCOM integration pack.  This is a set of tasks that can get alerts and events out of Operations Manager (there are also tasks that can create and close alerts in Operations Manager). 
    From what I can imagine - you would want to get alerts out of SCOM when they happen (so you would use one of the SCOM orchestrator tasks to "get alert if status = new, and source = myapplication"), and then you can pass that alert to another task - such
    as write it to a CSV file or something.  You could then have another task that picks up that CSV file, and passes it to your application where it can be captured.  Or you could use the CSV to populate variables in a powershell script, and then powershell
    that information into your app.
    There are many ways you could do this, but I do believe that Orchestrator would be the better option. 
    http://www.dreamension.net

  • How to get reference name in the class

    i have a doubt in java.
    class x
    public String toString()
    // code here i want
    class y
    p s v main(.....)
    x servlets=new x();
    x jsp=new x();
    s.o.p(servlets);
    s.o.p(jsp);
    the result i want is :
    hai servlets
    hai jsp
    what code to be in toString().

    You can't get hold of the variable name at runtime. If you want that output, you'll need to create it like this:
    x servlets=new x("servlets");so that the x.toString() can know which string to print out.
    Message was edited by:
    johannef

  • How to get ME3400 out to the internet.

    Hi Guys,
    I've just started on my CCNA studies and I've got an ME3400 that my boss has given me to play around with.
    He would like me to update the software by connecting to a TFTP server but I can't seem to get it going.
    I've got port 1 hooked up to our LAN and set-up to pick up a DHCP address and its grabbing one.
    I've added the default gateway and set it to the ip that port 1 is picking up.
    what else am i doing wrong?

    Hi Guys,I've just started on my CCNA studies and I've got an ME3400 that my boss has given me to play around with. He would like me to update the software by connecting to a TFTP server but I can't seem to get it going.I've got port 1 hooked up to our LAN and set-up to pick up a DHCP address and its grabbing one.I've added the default gateway and set it to the ip that port 1 is picking up.what else am i doing wrong?
    Hi,
    In order to have internet access via ME3400 you need to have nat implemented in ME3400 for local lan address and if you want to upgarde the ios of ME 3400 check out the below link
    http://www.cisco.com/en/US/docs/switches/metro/me3400/software/release/12.2_35_se/release/notes/OL11487.html
    For natting check out the below link
    http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094e77.shtml
    Hope to Help !!
    Ganesh.H
    Remember to rate the helpful post

  • How to get Ipad out of the Dead Battery screen

    Yestorday I got home and went on my ipad was to lazy to put it on charge so it went dead and came up with that black screen with the red battery so i started charging it with the wall charger and all it does is show that it is being charged for about 9 secounds than the screen will flash of and not come on again untill i press the home button or power button,Than it will just keep doing the same thing still in the dead battery screen, cant put it in DFU mode because it just flashes of power i can complete the procedure Only started Happening since IOS7
    No computer recognizes it at all, Help Please

    Try pressing the home button three times quickly.

  • My 4gb SDHC flash mem card is stuck in DVD slot on my iMac 27". How to get it out?

    I misplaced my 4GB flash memory card (Canon camera) in the DVD slot (above the card slot) and it disappeared while I was trying to get it out. Naturally I inadvertently (spelled "stupidly") knocked it inside and could not figure out how to get it out. The dust rubber "shields" hide it and I've tried to find it with a toothpick and wedge it out, to no avail. Are there any ideas or suggestions others may have used to get it out (I know turning it on it side and shaking won't work). Why in the world did they design it like it is -- I've had it happen to me and others have also told me of their misadventures, but they also were able to gradually get it out. This time, it's in too deep. Can I ignore it and still use the CD/DVD slot without it blowing up?

    You might need to take to an Apple technician or apple dealer to let them take apart the iMac and remove the flash memory card. if you're very careful you might try a pair of needle nose pliers and a flashlight but it's easy to do damage to the DVD internal mechanical if you're not real careful.
    A good story to tell your grand kids maybe ;-)
    Good luck

  • How do i find out who the carrier is and can i get it unlocked to use in australia?

    Hi there,
    I got a iphone4 from my friend ewho brought it from someone from ebay in the states
    I am unable to use the phone and was told that the phone had been updated to a baseband that can not be unlocked
    and that I need to contact the carrier.
    How do I find out who the carrier is and is there anyway I can get it unlocked to be used in Australia?
    It has a grevey sim in it and well at this point in time its just being used as an ipod.
    Yes I know I should of got one from Australia but i thought it wouldnt be this hard to get it fixed to be able to use here.
    please help........
    thanx
    lana

    The discussion of Jailbroken Devices is against the Terms of Use of this Forum.
    http://support.apple.com/kb/HT3743

  • How to get maximal value from the data/class for show in Map legend

    I make WAD report that using Map Web Item.
    I devide to four (4) classes for legend (Generate_Breaks).
    I want to change default value for the class by javascript and for this,
    I need to get maximal value from the class.
    How to get maximal value from the data/class.
    please give me solution for my problem.
    Many Thx
    Eddy Utomo

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

  • HT4191 I have Notes that transferred to email when I set up a new email acct. They no longer appear in Notes. I can only access them in the email acct. How do I get them out of the email acct and back to the Notes app?

    I have Notes that transferred to an Email acct when I set up the acct. The Notes no longer appear in the Notes app only in the Email acct. How do I get them out of the Email acct and back to Notes? I stopped at an Apple store and they told me to copy them from the email back to Notes. But when I was in the email acct, I could not find a way to copy them. Shouldn't Notes remain in Notes unless I specifically send them somewhere else?

    Go into Settings > Mail, Contacts, Calendars, select that email account on the right-hand side of the screen and turn Notes 'on' for it - they should then appear in the Notes app instead of as an email folder in the Mail app (they will still be linked to that email account, so you may need to tap the 'Accounts' button at at the top left of the list of notes)

  • Part of my headphones plug broke off in the port. how do i get it out? the genius bar said their tweezers would not fit

    part of my headphones plug broke off in the port. how do i get it out? the genius bar said their tweezers would not fit

    get smaller tweezers.  you need some type of small instrument.

  • HT203433 I am having trouble moving my music to my new computer. I have enable homeshare. it does not show any files in my homeshare. How do i get them out of the normal files into home share

    I am having trouble moving my music to my new computer. I have enable homeshare. it does not show any files in my homeshare. How do i get them out of the normal files into home share

    Welcome to the Apple Community.
    The following article(s) may help you.
    Moving your iTunes library to a new computer

  • [svn:fx-trunk] 5819: Fix asdoc issue for event description getting copied over to the class definition .

    Revision: 5819
    Author: [email protected]
    Date: 2009-03-31 13:15:14 -0700 (Tue, 31 Mar 2009)
    Log Message:
    Fix asdoc issue for event description getting copied over to the class definition.
    QE Notes: None.
    Doc Notes: None.
    tests: checkintests, asdoc tests
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    THank you , Nancy. Appreciate the input.
    So instead of this:
    <a class="brand" href="index.html"><img src="../img/logo-ca.png"alt="Consumers Advocate Review"> </a>
    Would it be something like this?:
    <a class="brand" href="index.html"><img src="http://ConsumersAdvocate/img/logo-ca.png"alt="Consumers Advocate Review"> </a>
    And if I do that, is there a way to cope with that locally so that DW can still display the images?
    jeff

  • HT1414 Mine keeps on saying that the device could not be restored, "an unknown error has occurred (2001)"!! Guess it's stuck in that dreaded "iPhone Recovery Mode" loop. The question is, which way out??? How do I get it out of the recovery loop??

    Mine keeps on saying that the device could not be restored, "an unknown error has occurred (2001)"!! Guess it's stuck in that dreaded "iPhone Recovery Mode" loop. The question is, which way out??? How do I get it out of the recovery loop??

    A quick Google search for Error 2001 would indicate that this occurs when you have a jailbroken phone or were trying to downgrade iOS. Is that true for you?

  • I have been trying to work on my homework all afternoon, via NAU's blackboard system. I am continuously getting booted out of the system, with an error stating "Data execution prevention". How can I prevent this from continuing?

    I have been trying to work on my homework all afternoon, via NAU's blackboard system. I am continuously getting booted out of the system, with an error stating "Data execution prevention". How can I prevent this from continuing?

    If you are wondering why you are not getting any responses, it is because you have vented a complaint without any details that make any sense or give anyone something to work on.
    If you want help, I suggest actually detailing what has happened, with versions of software etc. Anything that would let us assist.
    As a start I am guessing that you have not really got the hang of "How it all works". Firstly download the Pages09_UserGuide.pdf from under the Help menu. Read that and view the Video Tutorials in the same place. A good addition would be the iWork 09 Missing manual book and something to help you learn how to use your Mac.
    If there are specific tasks you need help with:
    http://www.freeforum101.com/iworktipsntrick/index.php?mforum=iworktipsntrick
    Is a good resource.
    Peter

  • When I start my MacBook Air, I get a problem report on the Time Capsule 802.11n. When I click Continue, it asks for a password. I don't know what the password is because I didn't set this up. How can I find out what the password is?

    When I start my MacBook Air, I get a problem report on the Time Capsule 802.11n. When I click Continue, it asks for a password. I don't know what the password is because I didn't set this up. How can I find out what the password is?

    Who set it up?

Maybe you are looking for

  • Preferences will not open in 'Mail'

    I am running Mail v3.5 (930.3) and have just upgraded to OS 10.5.6 but for some reason when I click on "Preferences" nothing happens. Can anyone offer a solution to this problem?

  • Error when submitting any form  (ALC-WKS-007-043)

    I am getting the following error any time I submit a form using the "Complete" button inside the workspace. An error occurred submitting the form (task xxx, form {1}). (ALC-WKS-007-043) I have restarted the server and still get the same error! Any id

  • Non-Compliant Issue

    Can anyone explain to me why the following item is considered non-compliant on this list? It states for the reason that it could not find a compatible TPM, but when you look at the details it clearly shows that it is encrypted and that TPM is the pro

  • MSSQL JDBC

    <p>Hi,</p><p>I am trying to do connectivity with MSSQL2000 using JDBC connectivity.I am able to do that but when I expand the connection in Connection Explorer it is shwing only system tables not the table created by users. </p><p>Any Idea?</p><p> Th

  • How to remove audio keyframes after mix

    Hi, Early during editing I tried to make an audio mix with the music fader ('write' mode) and now it keeps all the old keyframes whatever I do whilst trying to make a new final mix. How do I get rid of my old mix? I tried to remove the whole music tr