Recover informations between Class and MovieClip

Hello,
I have a page (MovieClip) which is charger and have a attribut a matrix (not the class). On this page, there is some cases (MovieClip) which receive value of the matrix.
Each cases are managed by Class. It's a good option, because I can put a listener into the contructor of the class and not having 64 functions if I have 64 cases. This listener allows to change the value of the cases when it clicked.
The problem is that I don't see how to know when a case is clicked in the page for changing the value of the matrix.
Regards,

I have a MovieClip called "Level" and I have created a Class "Level" and a Class "Matrice". The "Level" Class has an attribute mat:Matrice. The "Matrice" Class has a dimension and a 2 dimension array (If dimension = 2, you have a 2x2 matrix).
On the Level MovieClip, you have several Case MovieCLip. I also created a "Case" Class for managing the listener.
And when I clicked on a Case, the text value changed but I can not update the Matrice in the Level Class.

Similar Messages

  • Link between Class and characteristics created for that class

    Hi All,
    Is there any table that I can look at to find a link between class and the characteristics created for that class. For all the list of characteristics created I am refereing to CABN table but my requirement is to find the logic to see all the characteristics created for a class. Can anyone suggest me the right table to look at?
    Regards,
    Shane

    Hi,
    I would like to thank you for your quick response. So based on your thoughts, here is the process i followed to find the characteristics for a existing class,  took the Internal class number and used the KSML table to find all the Characteristics created for that class.
    To find the list of values assigned to that characteristics, used the AUSP table for that characteristics internal number.
    Thank you again for your inputs
    Shane.

  • What is the fundamental difference between classful and classless routing?

    Hello to all,
    After reading several RFCs, guides and HOWTOs I am confused by an apparently trivial question - what is the basic, fundamental difference between classful and classless routing?
    I am well aware that - said in a very primitive way - the classful routing does not make use of netmasks and instead uses the address classes while the classless routing utilizes the netmasks and does not evaluate the address classes.
    However, already in 1985 the RFC 950 (Internet Standard Subnetting Procedure) stated that the networks can be further subnetted using the network mask. Since then the routers are expected to use network masks in the routing decision process in the precise way they use it nowadays. However, if the routers use network masks they are doing the classless routing, aren't they? Where is then the difference if we used to describe the 80's way of routing as a classful routing? Or was it already the classless routing? The RFCs about CIDR came gradually only in 1992 and 1993.
    If somebody could give me an insight into the key difference between classful and classless routing (and perhaps into the Internet history, how was the real routing done then) I would be most grateful.
    Thank you a lot!
    Regards,
    Peter

    Hello Mohammed,
    I am afraid we still have not understood each other ;) I am not looking for the algorithms used to select the best path. I am well aware of them, both Ford-Bellman and Dijkstra, and about their internals. By the way, these algorithms do not have any influence whether the routing is classful or classless because they deal with metrics, not with masks. For example, a classless EIGRP internally uses a distance-vector algorithm, not a SPF algorithm.
    I will try to explain once more what is my problem... There are two terms commonly used but badly defined: the classless routing and classful routing. Originally, I have thought that the classful routing works as follows:
    - The routing table consists only of classful destination networks (major nets), metrics and respective gateways. No network masks are stored in the table because we are classful, that is, we use exclusively the route classes and all entries in the routing table are already classful.
    - When routing a packet, the router looks at its destination IP address and determines the major net of this IP address (that is, the classful network that this IP address belongs to). Then it looks up the corresponding entry in the routing table and sends the packet to the respective gateway.
    I thought that the classful routing works in this way. I won't describe the classless routing - both of us know how do the today's routers select the next hop.
    However, in the RFCs 917 and 950 which were published in 1985, long ago before the term 'classless routing' was coined, the network mask was already defined and it was stated how the routers should work with it.
    Now I am confused. The terms classless addresses and classless routing were defined sometime in 1990's, therefore I assume that the routing before the invention of classless IP assignment can be in fact described as classful. In other words, I thought that the routing that was commonly used in 1980's did not use netmasks and can be described as classful because the notion of classlessness came first in 1990's. But now I see that netmasks were defined in 1985.
    Now where am I wrong? Do I understand the classful routing properly as I described it? Is it correct to talk about routing in that era as classful although the netmasks were already in use? Or was it already the classless routing?
    Basically I am trying to understand what was called the classful routing if the classless routing is said to be something different.
    Mohammed, I am most grateful to you for your patience and suggestions! Thank you indeed.
    Regards,
    Peter

  • Sharing information between midlet and classes

    I'm new to this J2ME language and this question might be stupid, but here it goes.
    As I am creating a program that will have a s**t load of code, I am trying to use 1 midlet and then the rest as classes. The problem where I am stuck is that how can i share information between these.
    Can someone give me a simple example where there is a midlet and a class. For example, the midlet displays the main menu and the class displays the submenu..
    If someone could help me, I would appreciate it a lot.

    Hi again!
    Maybe I confused a little bit with the question, here is my sample code and I have added in the code the parts where I am confused.
    The program should get the submenu from the subMenu class and display it
    Where should these files be placed and named? should they both be java files and places in the src folder or should the Info class be named just class and placed inside the classes folder???
    --------------------------------------------------------mainMenu.java---------------------------------------------
    package Menus;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class mainMenu extends MIDlet implements CommandListener
    private Display display;
    private List menu;
    private Command coNext;
    private sub subMenu;
    public mainMenu()
    display = Display.getDisplay(this);
    String strv[] = {"Info"};
    menu = new List("mainMenu", List.IMPLICIT, strv, null);
    coNext = new Command("Next", Command.OK, 1);
    protected void destroyApp(boolean p0)
    protected void pauseApp()
    protected void startApp() throws MIDletStateChangeException
    menu.addCommand(coNext);
    menu.setCommandListener(this);
    display.setCurrent(menu);
    public void commandAction(Command c, Displayable dp)
    if(dp==menu && (c==menu.SELECT_COMMAND || c==coNext))
    sub = new subMenu(this);
    if(menu.getSelectedIndex()==1)
    Info. <------------WHAT COMES HERE??????
    else
    this.notifyDestroyed();
    this.destroyApp(false);
    display.setCurrent(Info);
    sub.start();
    else
    display.setCurrent(this);
    --------------------------------------------------END OF mainMenu.java------------------------------------------------------
    ---------------------------------------------------subMenu.class or java ????-----------------------------------
    package Menus;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class subMenu extends mainMenu implements commandListener
    private mainMenu main;;
    private Display display;
    private List menu;
    private Command coBack;
    public subMenu()
    display = Display.getDisplay(this);
    String strv[] = {"Welcome"};
    menu = new List("SubMenu", List.IMPLICIT, strv, null);
    coNext = new Command("Back", Command.OK, 1);
    public void public void commandAction(Command c, Displayable dp)
    WHAT COMES AFTER THIS????

  • How can we share session information between browser and WebView

    Hi
    I have a web application which launches a instance of JavaFX web view on a click of a button. My issue is that when i launch this web view it creates a  new session of its own ,how can you transfer the session information of the parent (browser) to the web view.
    One of the solution i found was to add the JSESSION_ID cookie into the default(System-wide) cookie handler so it would override the existing cookie within the WebView cookiehandler.
    http headers - Setting a cookie using JavaFX&amp;#39;s WebEngine/WebView - Stack Overflow
    Are there any other solution for sharing session information between the web view instance and browser that launches it ?

    O.K. then, is it at least possible to access a wwsto_api_session
    from Java in the following way?
    Calling PL/SQL from Java
    JDBC and SQLJ allow you to call PL/SQL stored functions and
    procedures. For example, suppose you want to call the following
    stored function, which returns
    the balance of a specified bank account:
    FUNCTION balance (acct_id NUMBER) RETURN NUMBER IS
    acct_bal NUMBER;
    BEGIN
    SELECT bal INTO acct_bal FROM accts
    WHERE acct_no = acct_id;
    RETURN acct_bal;
    END;
    From a JDBC program, your call to the function balance might look
    like this:
    CallableStatement cstmt = conn.prepareCall("{? = CALL balance(?)}");
    cstmt.registerOutParameter(1, Types.FLOAT);
    cstmt.setInt(2, acctNo);
    cstmt.executeUpdate();
    float acctBal = cstmt.getFloat(1);

  • Java Communication Between Classes and JFrame JDialog

    i have written a standalone connect 4 game.
    next i would like to be able to play it over network and also have a chat function.
    connect 4 GUI (JFrame) holds -> connect 4 game model
    i would like to implement connect 4 network GUI(JDialog) (here the user can choose to act as a server or client) that holds Network API.
    and finally a Chat GUI (JDialog) to exchange messages.
    my question is how do i implement inter class/GUI communication? when a network message is received it ought to be delivered to the right receiver (game / chat) also messages sent from chat / game transmitted to remote machine.
    i have looked into inner classes but was told it is a bad idea to implement so much with in single class and i did not like this idea a lot either.
    i have written another game battleships in C# and it uses delegates to accomplish this task but sadly im informed that delegates are not available in Java.
    im a beginner and at the moment exploring options so im open to your guidance.
    thank you.

    Addition to my above submission
    To clarify, I'll offer the US$20 to the FIRST person who offers me a workable solution to the problem, not to everyone!!!
    JMGRAHAM

  • Difference between class and component

    Hi,
    Can any help me
    1) what are the differences betw a java class and java component.
    2) what are the differences betw a java script and java.
    3) Is there any difference betw a java and server side java
    4)what is class path.

    what you seriously need is to read the tutorials.
    ad 1) typically a component is encapsulated in a jar, but a class may be a component, too. this is very much dependent on the context.
    ad 2) Java is a full featured programming language, JavaScript is a typeless scripting language mostly used in internet browsers. they share some basic syntactic constructs, but that's all.
    ad 3) server side java denotes certain functionality implemented in java.
    ad 4) the list of places a virtual machine looks into to load classes
    robert

  • Passing information between class

    Greetings Fellow Developers,
    I have what I believe to be a simple question but my brain is only thinking in procedural at the moment so I'm in a bit of a fix.
    I'm working on a midlet and creating an message book application
    I must pass informatin class mesaj to JSMS
    public class mesaj extends DisplayTextBox{
          private static String mes="";   
        public mesaj() {
            super("mesaj&#305;n&#305;z",TextField.ANY);
       public  void setMesaj(){
            mes=getString();
        public static String getMesaj(){
            setMesaj();//there is problem with use static method
            return mes;
    public class JSMS extends MIDlet implements CommandListener{
       public void commandAction(Command c, Displayable d) {
             if(c==add){
                AddRecord(mesaj.getMesaj);
    }I have a problem using getMesaj method...
    can I passed information without non-static method
    thanx
    muratti32

    Hi,
    I think that your set and get methods are a bit wrong. Maybe they should be like this
    public void setMesaj(String m)
      mes = m;
    public static String getMesaj()
      return mes;
    }if you don't want to make static methods, you'll have to make an instance of the class, which methods you want to call.
    public class JSMS extends MIDlet implements CommandListener{
    private mesaj m = new mesaj();
       public void commandAction(Command c, Displayable d) {
             if(c==add){
                AddRecord(m.getMesaj);
    }kari-matti

  • Classes and Movieclips question

    Hey
    I'm just wondering, how do I use/call (say... modify the y
    coordinate) of a MovieClip that is placed on the stage, in a parent
    class of the Document class?

    Fuc*in kglad, I love you man. You ended a week long feud I
    had with flash because I couldn't get this to work. I'm so happy
    about this, it feels so nice to be able to work on my game again
    and suddenly a huge part of flash just made sense.
    I greatly appreciate your help. Thanks mate :).
    For those who may have stumbled across this thread who have
    the same problem (it really isn't a problem, but more of a lack of
    knowledge of something specific), here is what you have to do:
    In my document class I have this function:
    [code]
    public function CallBaseEngine():void {
    helloPerson(player);
    [/code]
    Now in a parent class of the doucment class (meaning that the
    document class "extends" to this class I have this:
    [code]
    public function helloPerson(player):void {
    player.x = 999;
    [/code]
    player being simply the instance name of a movieclip I have
    on the stage.
    So what does this code mean for the n00bies? Well in the
    first block of code I am simply calling a function called
    helloPerson which is located in a parent class, remember children
    can "access" their parents but parents can't "access" their
    children so if I did the same thing but tried to call a function in
    the child class I would get an error saying its not found. However,
    you put "player" in the brackets which means that you want to bring
    the movieclip with an instance name called player through with you
    on your way to call the function helloPerson.
    In the second block of code, I am quite simply modifying
    where the player movieclip is along the x axis, this is to make
    sure that I can access the movieclip called player and the code is
    properly working. Bringing along doesn't mean we create a
    "duplicate" or anything, it basically is bringing along the
    permission to access player.
    Thanks again kglad!

  • Flow of tables information between sap and java

    How should i pass the table information from sap to java.
    and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
    PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
    1.GET THE TABLE INTO THE JAVA PROGRAM
    2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
    3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
    4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAM

    hi,Kondani
    as JCO offers both Client side and server Side programming.
    you can use JCO to connect SAP ABAP.outbound and inbound.
    1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
    2) example 1 is about client side programming.
    try example 1 first. you can get a table from SAP using BAPI.
    Lots of JCO weblog you can see here
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
    Regards

  • Control flow between classes and a midlet

    Hi All..
    I have somewhat of a strange Question to ask.
    Consider that I have 3 java classes: A B C that are used by a midlet M.
    And the main purpose of A B C is to modify the user interface of M somehow. So maybe A causes a textbox to be displayed, maybe B creates a form etc..
    Also, the midlet implements the Commandlistener interface...hence has an actionCommand method.
    So I am wondering ..if one of these classes (A B C) creates a gui component that has commands, and implements the actionCommand method (from the CommandListener interface), I find that the commands execute properly, but of course, the control is never returned to the main midlet M.
    I would like the classes: A B C to take care of a given representation/apprearance of the display..which may include commands, but I dont know how they can work with the main midlet.
    I cant make the classes pass the commands to the midlet ..because I would like to define their implementation in the actionCommand method..and I dont want the Main midlet to know about the commands that these classes implement...
    Does anyone know how I can implement this? If this makes any sense at all, please send me a reply..I would appreciate any comments.
    cheers all
    cleoppatra

    Hi,
    You mentioned that I should do the following:
    display.setCurrent(midletname)
    SO if my midlet is called Browser, should i say:
    display.setCurrent(Browser)
    I dont know if this is what you menat, but it doensnt work out.
    Can you tell me what you mean?
    cheers

  • Differenc between Class and Enum

    Hi,
    why is it possible to define a class inside a method but not en enum, like in the following code:
    public class Java {
         public static void method() {
              class MyClass {
              enum MyEnum {
                   A, B, C;
    }I have no answer...
    Greetings,
    Martin
    Edited by: Mkrueger on Feb 8, 2009 1:52 AM

    malcolmmc wrote:
    >
    I've used them. The advantage of a named local class over an anonymous one is that they can define their own methods that can be accessed from the method in which it's defined, rather than just the methods of an existing interface.Heh, heh, Notice that type capture (?) allows me to use an anonymous implementation of Closure instead of naming it.
    import java.util.*;
    interface Closure<T> {
        void call(T it);
    public class Each {
        public static <T, F extends Closure<T>> F each(Iterable<T> col, F clo) {
            for(T t : col) {
                clo.call(t);
            return clo;
        public static void main(String[] args) {
            List<Integer> list = Arrays.asList(1, 2, 3, 4, 5);
            int result = each(list, new Closure<Integer>(){
                int sum;
                public void call(Integer it) {sum += it;}
            }).sum;
            System.out.println(result);
    }

  • Sharing information between tiled view and view bean

    I have come across one more problem. I have a search result
    page. This search result page has a static text field and a repeated group
    (I simplified the page description, for explanation purpose). In the NetD
    implementation they are maintaining a page level attribute (say boolean
    haveSenisitiveCustomers) and setting this attribute in the
    afterDataObjectExecute event. (This data object is associated with the
    repeated). In end display event of static text field, they are displaying
    message say " due to Registration type, not all customers meeting the
    criteria are listed") if the haveSensitiveCustomers flag is set.
    After Migration, the boolean flag and static Text Field movedto
    SearchResultViewBean and afterDataObjectExecuteEvent has moved to
    TiledViewBean. Actual processing done is more complicated than this
    explanation. However, it boils down to sharing information between
    tiledViewBean and its parent bean. How do we achieve this in the Migrated
    Application?
    One way is to add getter methods in the child tiled view bean( to
    access in parent view bean, call getRepeated1 and cast to the actual type
    and invoke the get methods)Probably the typical solution (I say typical because I don't yet know) will
    be to do what you suggest: provide methods between views that can be used to
    determine the state needed for processing like this.
    However, let me alert you to something that's different than ND, and which
    may cause you some trouble. In ND, all retrieving DataObjects associated
    with a page executed at one time, and the afterDataObjectExcecuteEvent fired
    before any display processing began. However, in JATO, tiled views are
    independent objects, and any models associated with them only execute when
    the tiled view is first displayed.
    Therefore, if the static test field you refer to appears in the page before
    the tiled view, then the tiled view will not have executed its associated
    model before the static text field is rendered. You will never see the
    static text field display the text you want because you won't have the
    information at display time. (If the text field appears after the repeated,
    then it's not problem, as the display of the tiled view will have executed
    the associate model before the field displays.)
    The solution is to manually reference the tiled view and its associate model
    before they would normally execute. You would execute the model and set the
    tiled view's setAutoRetrieveEnabled() to false to prevent it from executing
    the model a second time. Perhaps the easiest thing to do would be this:
    beforeStaticTextDisplay(...)
    // Force the tiled view to execute the associated model
    Repeated1TiledView tiledView=
    (Repeated1TiledView)getChild("Repeated1");
    tiledView.beginDisplay();
    tiledView.setAutoRetrieveEnabled(false);
    Although the beginDisplay() method will be executed twice in this case (once
    deliberately, above, and later during actual display), there should be no
    overhead. The beginDisplay() method doesn't do anything anyway except
    execute associated auto-retrieving models and fire the
    afterAllModelsExecute() event.
    Mike, do you concur or have any comments?
    This explanation rests on the understanding of a number of other subjects,
    some of which you may not be fully familiar with. Feel free to ask further
    questions about this explanation.
    Todd
    Todd Fast
    Senior Engineer
    Sun/Netscape Alliance
    todd.fast@e...

    I have come across one more problem. I have a search result
    page. This search result page has a static text field and a repeated group
    (I simplified the page description, for explanation purpose). In the NetD
    implementation they are maintaining a page level attribute (say boolean
    haveSenisitiveCustomers) and setting this attribute in the
    afterDataObjectExecute event. (This data object is associated with the
    repeated). In end display event of static text field, they are displaying
    message say " due to Registration type, not all customers meeting the
    criteria are listed") if the haveSensitiveCustomers flag is set.
    After Migration, the boolean flag and static Text Field movedto
    SearchResultViewBean and afterDataObjectExecuteEvent has moved to
    TiledViewBean. Actual processing done is more complicated than this
    explanation. However, it boils down to sharing information between
    tiledViewBean and its parent bean. How do we achieve this in the Migrated
    Application?
    One way is to add getter methods in the child tiled view bean( to
    access in parent view bean, call getRepeated1 and cast to the actual type
    and invoke the get methods)Probably the typical solution (I say typical because I don't yet know) will
    be to do what you suggest: provide methods between views that can be used to
    determine the state needed for processing like this.
    However, let me alert you to something that's different than ND, and which
    may cause you some trouble. In ND, all retrieving DataObjects associated
    with a page executed at one time, and the afterDataObjectExcecuteEvent fired
    before any display processing began. However, in JATO, tiled views are
    independent objects, and any models associated with them only execute when
    the tiled view is first displayed.
    Therefore, if the static test field you refer to appears in the page before
    the tiled view, then the tiled view will not have executed its associated
    model before the static text field is rendered. You will never see the
    static text field display the text you want because you won't have the
    information at display time. (If the text field appears after the repeated,
    then it's not problem, as the display of the tiled view will have executed
    the associate model before the field displays.)
    The solution is to manually reference the tiled view and its associate model
    before they would normally execute. You would execute the model and set the
    tiled view's setAutoRetrieveEnabled() to false to prevent it from executing
    the model a second time. Perhaps the easiest thing to do would be this:
    beforeStaticTextDisplay(...)
    // Force the tiled view to execute the associated model
    Repeated1TiledView tiledView=
    (Repeated1TiledView)getChild("Repeated1");
    tiledView.beginDisplay();
    tiledView.setAutoRetrieveEnabled(false);
    Although the beginDisplay() method will be executed twice in this case (once
    deliberately, above, and later during actual display), there should be no
    overhead. The beginDisplay() method doesn't do anything anyway except
    execute associated auto-retrieving models and fire the
    afterAllModelsExecute() event.
    Mike, do you concur or have any comments?
    This explanation rests on the understanding of a number of other subjects,
    some of which you may not be fully familiar with. Feel free to ask further
    questions about this explanation.
    Todd
    Todd Fast
    Senior Engineer
    Sun/Netscape Alliance
    todd.fast@e...

  • Trying to pass parameters between GUI classes and methods

    Hi All.
    I have been working on a rather large final year project in college and it is getting close to the deadline. It looks as though I need to "tidy up" my code as it contains too many static methods, variables and other bad programming habits. My package consists of many different GUI's and classes. Up until now I have been calling different GUI's with guiName.NameOfMethod. I have been told this is bad practice so I am trying to fix this. Also instead of passing parameters correctly I have been creating static variables in my main class and using them. So for example if one class needed to pass a variable to the other I would first myGlobalVariable = X; in the first class. And then the second class can use this. This is also bad, right?
    So I guess im really just looking for a good example or tutorial on how to pass parameters between classes and methods, GUI if possible. Here is an example of how my GUI classes look:
    public class anotherGUI extends JFrame implements ActionListener {
            private JTextField a, b, c;
            private JButton button1, button2;
            JPanel p, p1;                   
            public anotherGUI() {
                LayOutAnotherGUI();
                setLocationRelativeTo(DnDMain.pictureArray[a]);
                setTitle("Example");
                setVisible(true);
                pack();     
            private void LayOutAnotherGUI(int c) {
         //GUI is layed out here     
            public void actionPerformed(ActionEvent e) {
                Object source = e.getSource();
                if (source == submit)
                    clickOK();
            public void clickOK(){
                //Here is where I have been accessing and modifying static global variables.  (But this needs to change).
    public void showanotherGUI() {
            new anotherGUI();
    }This is more or less how I have been going about creating my GUI's. These are used as pop ups. The user enters a value and then it is closed.
    To be honest I have been able to pass a variable correctly from one class to a GUI class but I have still having difficulty. For example in my code above I can pass the variable into this class but I cannot pass it into clickOK(). An this is where it is needed.
    Can anyone please help?
    I hope I have explained my problem well.
    Thanks in advance.

    I dont think that is what I need. An example of what I do in my program is:
    I have a main GUI with an array of images. There are a number of other small GUI's that appear for certain functions when the user clicks on an image or does some other function. I am trying to pass a value into the GUI class that is used for the smaller "pop up" GUI. So lets say the user has clicked the image in array[12]. Then a GUI is displayed. I need to pass the integer 12 into this class.
    Thanks.

  • Controlling events between classes

    hello
    i know i'm asking a lot, but i couldn't find anything. the problem is i've got a jframe and some panels with buttons.
    eg:
    class A extends JFrame
    getContentPane().add( B ) ;
    getContentPane().add( C ) ;
    class B extends JPanel
    add( button1 ) ;
    add( button2 ) ;
    class C extends JPanel
    add( button3 ) ;
    add( button4 ) ;
    where do i add ActionListeners? how do i pass information between classes? if button1 is clicked -> class A should know it.
    i tried to do this in class A: objectOfB.button1 (access button1 directly) - didn't work - why?
    if a button1 is clicked i want to remove the jpanel and replace it with another one. how should i do this?
    Thank You All

    Check out the java tutorials. There are great examples that show you how to do what you want to do

Maybe you are looking for

  • Help needed with Sun Java Studio Creator and EJB in a Portlet Project

    Hi I have created an web-application with JSF in Sun Java Studio Creator 2. The web application uses a lot of EJB's which acts as the dataProviders. In a typical jsp page i have more that one data providers(the EJB's) getting used. When i run the pro

  • IPod Nano sync to two computers

    I installed iPod software and iTunes 5 on my laptop at home. I set it to automatically sync Podcasts. Then I installed the software on my computer at work and subscribed to some new Podcasts (different from the ones at home). When I went into Prefere

  • Category Group (Objective Settings and Appraisals)

    Hi How can I create a new category group in the activity "Edit Templates" from the objective settings and appraisals?, The system automatically generates one category group Personnel Appraisals, so we need to create  a new one? This new category grou

  • Creative Suite 5.5 deployment using Symantec Ghost

    Has anybody used Ghost or a similar system imaging tool to deploy a system with Creative Suite 5.5 installed? As part of my organization's imaging process, we install and configure software in Windows 7's audit mode; run sysprep; and capture that ima

  • Workaround for NFS problem

    I am experiencing the following problem with the NFS client on Mac OS X Snow Leopard. I NFS mount a NFS share (say at /mnt/nfs). I run a program which reads from, and writes to, some files in some directory /mnt/nfs/adir. In another Terminal window I