AppleScript Application - Multiple buttons don't work with one script...

Okay, so I need to control just about 22 buttons to make this project work. But. I still can't get 2 to work.
Here is my script:
on clicked theButton
  -- Preferences:
          if title of theButton = "Save" then
                         set Word1 to the contents of the text field "WordDefine1" of window "Preferences"
                    display dialog "Saved the words:" & return & "-" & Word1
  --  Process of word one:
          else if title of theButton = "Say1" then
                    display dialog "I hope I see this cuz then that button works. YAY!"
          else if title of theButton = "Check1" then
                    if Word1 = contents of text field "WordInput1" of window "iSpell" then
                              say "If I can even see THIS, I am like in AppleScript heaven. BOTH buttons work!"
     end if
  end if
end clicked
So when I click the "Save" button, it displays the defined dialog. But the button "Say1" does absoulutely nothing. Same for the "Check1" button.
I'm guessing I did something wrong here...
Thanks in advance
P.S. (I'm not actually using the actions see here for the last 2 buttons:)

Okay, thanks so much, the buttonName script worked. This is part of what I have now:
-- Preferences:
if buttonName = "Save" then
  set Word1 to the contents of the text field "WordDefine1" of window "Preferences"
  display dialog "Saved the words:" & return & "-" & Word1
  --  Process of word one:
  else if buttonName = "Say1" then
  say Word1
The diplay dialog line at the end of the "Save" button script works, but when I do the say button, it has an AppleScript Error, saying that the variable Word1 is not defined. But the display dialog thing works. What the heck.

Similar Messages

  • [svn:fx-gumbo_beta2] 10321: Fix SDK-23520 - Application background colors don' t work with the Wireframe theme

    Revision: 10321
    Author:   [email protected]
    Date:     2009-09-16 13:42:01 -0700 (Wed, 16 Sep 2009)
    Log Message:
    Fix SDK-23520 - Application background colors don't work with the Wireframe theme
    QE notes: Wireframe tests need new baselines. There are subtle rendering differences on the edges/corners that are not visible, but are causing test failures. Joann has excluded the wireframe tests for now.
    Doc notes: None
    Bugs: SDK-23520
    Reviewer: Chet
    Tests run: checktests, mustella gumbo/components/wireframe
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23520
        http://bugs.adobe.com/jira/browse/SDK-23520
    Modified Paths:
        flex/sdk/branches/gumbo_beta2/frameworks/projects/wireframe/src/spark/skins/wireframe/App licationSkin.mxml

  • Satellite A300-1GN - Media buttons don't work with Win 7

    Hei
    I installed windows 7 to my Toshiba satellite a300 1gn, Short Model No: psagce and some illuminated media buttons don't work.
    i have the latest drivest but still nothing. first button is should controll the illumination for media buttons, touch pad and Satellite logo.
    second button should open media player or something like that. the other fore buttons work fine!
    Could someone helt me solve my problem?

    Hi
    You have to configure the single buttons.
    This Toshiba button support pop up will appear if the pressed button was not configured.
    So press the button and then assign the action, application.
    You have to expand this menu pressing on the small arrow on the right.
    Greets

  • Satellite A300-1JH PSAGLE: Control buttons don't work with XP

    Hello there.
    I own a Toshiba Satellite A300 psagle.
    It works beautifully, but there is a problem: the tactile music buttons don't work.
    I am using Windows XP and I have installed all the drivers available.
    Could some one please tell me what I should do.
    P.s. how can I activate the "face recognition" option?
    Please reply.
    Regards.

    Hi
    Regarding the Toshiba Control Media buttons;
    You have to install the Toshiba Controls from the Toshiba European driver page.
    Check there the Satellite A300 PSAG8E series and download the Toshiba Controls
    Regarding the face reorganization:
    Check these threads:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=127846&#127846
    http://forums.computers.toshiba-europe.com/forums/message.jspa?messageID=131453
    Bye

  • Qosmio X500-1801 - FN button don't work with Win 7

    I have to question why Toshiba Qosmio X500-1801 FN of buttons does not work on Windows 7 Professional 32-bit operating system. Please answer the [email protected]

    If you didnt install right Toshiba tool it cannot work.
    As far as I know Qosmio X500 is not supported so I dont know if you will be able to get them work on Win7 32bit.
    What you can try is to install VAP designed for other notebook model but Im not 100% sure this will help.

  • Reader don't work with one of the tree users?

    Reading files on the internet also don't works! On other two accounts everthing works fine?
    Thnks

    What is your operating system & version?
    What is your web browser?
    What is your Reader version?
    What exactly means "don't works"?

  • Helpful and Solved buttons don't work with Safari

    I had to switch to Firefox to use them. Am I the only one?
    MacGee.

    Thanks, Kady. I tried from another account and it worked. I then temporarily deleted the following files:
    ~/Library/Preferences
    ~/Library/Safari
    ~/Library/Cookies/Cookies.plist
    ~/Library/Application Support/WebFoundation/HTTPCookies.plist
    with no effect. And of course I can't reinstall Safari without reinstalling 10.4.3, which seems like too much trouble. Any other suggestions?
    MacGee.

  • Qosmio G20-127: Hotkeys & Fn buttons don't work with Vista RC1

    This problem is really annoying me. Neither the Hotkeys(play, pause, forward, record, brightness) nor the Fn Buttons work since I installed windows vista RC1.
    I need to find a solution for this issue. If anyone has experienced it please provide me with feedback.
    Also the ConfigFree seems to be incompatible with Windows Vista, if anyone knows a trick or two I'd be most thankful

    Hi Shaker
    There is no trick or two!
    Do you know that the Windows Vista RC1 is not an official end version and the RC1 version contains about 1500 bugs!
    Furthermore to use the Toshiba features like the FN buttons or the hotkeys you will need the Toshiba drivers. BUT you will not find any Toshiba drivers for the Windows Vista at this time.
    Why? Because the Windows Vista is not official on the market. Therefore if you want to use the Vista at this time on your notebook you have to use it without the Toshiba options.
    But Im sure that you will get the Toshiba drivers if the Windows Vista was fully developed and official to buy.

  • Satellite P305-S8832 - Media buttons don't work with Win7

    Hello Wise Friends,
    Recently I installed two brand new hard drives (500GB 7200 rpm OS/ 500GB 5400 rpm DATA) and I did a clean installation of Windows 7 Home Premium 32 bits on my 3 1/2 Toshiba Satellite P305-S8832. Everything but the media buttons is working pretty well.
    I downloaded the drivers from the Toshiba repository including the Toshiba Software installer for Windows 7 and the toshiba valued package. Still those tactile buttons which are above the keyboard and between the speakers does not work, no light, no response, nothing. I have checked the bios.
    These buttons work out of the box with Ubuntu Linux, Windows XP and Windows Vista.
    Any advice?

    Hi
    Generally speaking, the Multimedia buttons are controlled by VAP (value added package) and the buttons should work after the installation of VAP.
    Found the drivers here:
    [Satellite P305-S8832 drivers|http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/modelContent.jsp?ct=DL&os=&category=&moid=2059997& rpn=PSPC0U&modelFilter=P305-S8832&selCategory=2756709&selFamily=1073768663#]
    It seems that there is also a newer version of VAP available.
    Check other newer Sat P series in order to get latest VAP version.
    Furthermore install the Hardware Setup. This tool lets you customize your hardware settings

  • Why Premiere Pro CC and my others applications of Adobe don't work with my Imac 10.7 ?

    I have a big URGENT problem. I don't understand why my applications didn't work !
    I have a Imac 10.7, and yesterday It's worked well. So I'm a little bit lost because, I need Premiere know ! What's a solution ?

    .plist folders are not widget files. They're just preference files for those widgets. All widgets have a .wdgt extension and will reside in the Library/Widgets folder either at the root of the hard drive or in your Home directory.
    As to the problem, it's possible that the widgets you're trying to use may just be too old and not have been updated for the later versions of Dashboard. If you'll post the names of the widgets you wish to use, someone may be able to check them and see if it's indeed such a problem.
    Finally, there is only one Dashboard, though there may be more than one command or activity that will open it. A three-finger sideswipe, I believe, changes Spaces and does not activate Dashboard per se, though Dashboard may open in a space.
    Regards.

  • Layer Styles don't work with one file

    I'm using CS2 for Win. I've got an important file that will not accept layer styles. The layers appear to be "styled" on the layer stack, but nothing previews or shows up on the actual layer. I've created new layers; they don't take styles either. Other files in the system - including new ones - work okay; it's just this one that has the problem.
    It could be contaminated; I accidentally saved it as a PDF with layers, and then back to a TIF. It's an 8-bit file; I've tried saving it as a PSD. Same problem.
    Is there a way to rescue this thing? I have to get it to a client tomorrow. Many thanks to anyone who can help!

    I've been having this happen in Photoshop Elements 2.0.  Looks like a bug.  But it might be me not knowing what I'm doing.
    However, one fix that just worked for me was to use Image -> Duplicate Image.  Drop shadow worked in the duplicated image even though it would not work in the orginal.  Nothing I've tried doing to the orginal (save and open again, turn layers on and off, chagne order, duplicate layers and delete the "broken" ones, etc) seemed to allow the layer effectrs to work for me once it stopped working.
    This "bug" happened to me after messing around with the background layer - deleting and recreating it as a solid color.  Looks like the software is getting confused about where to image the drop shadow.  Maybe it is getting confused about the order of the layers or something?  If you turn the preview OFF you can see small changes as you adjust the paramaters in the effect.
    Curt Welch
    [email protected]

  • Homepageframework: Service-Links don't work with one particular user

    Hi,
    when I'm logged in with my user, all the service links on overviewpages do not work. When I do a click on one of them, nothing happens. It works fine with every other user, who is logged in.
    It must be a user-dependend problem. What's wrong with my user?
    Thanks for every hint on how to get rid of this issue.
    Regards
    CHRIS

    Hi,
    In Portal there is a Group Administrators try assigning that to your user and see.
    And Did you try assigning Everyone role to the user and see.
    Try clearing the Browser cache and see and even that doesn't work try this option.
    This might sound crazy: did you try to check in Another system with the user for whom it is not working? and if it works in other system sometimes there might be issue with User Local profile on the system that causes this kind of issue.
    Recently we had similar issue, In others system I am able to login and it works fine just in my system it didn't work.
    Hope this helps.
    Cheers-
    Pramod

  • Ok I have an fully upgraded iPad 2 and the volume button don't work but it do with headphones can someone help

    Ok I have an fully upgraded iPad 2 and the volume button don't work but it do with headphones can someone help. I try to go to settings and the volume won't go up there either I have the home button gesture and still the same. I try resting my iPad and nothing no sound work unless I have my headphones in. Do anybody know how to fix this

    Did you try rebooting the iPad? You will need to have some battery power for this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This may be helpful
    iPhone, iPad or iPod touch: Not responding or does not turn on
    Frozen or unresponsive iPad - Apple
    iPad: Unable to update or restore

  • Buttons don't work

    I am working on a small application.
    My main frame is a public class that defines two buttons in its constructor one for input and the other for feedback.
    The input screen and the feedback screens are defined as inner listener classes of the main class.
    The code compiles fine but the buttons don't work.Please take a look at my code and make suggestions for what I am doing wrong
    Thanks
    import java.awt.*;
    import java.awt.event.*;
    public class project1 extends Frame {
    static Object source;
    static Button input, feedback, apply;
    public project1(){ 
    super("Project Development Coordination System");     
    setSize(500,500);
    setLayout(new BorderLayout());
    //Build and add 1st Panel of project1
    Panel p1 = new Panel(new BorderLayout());
    TextField Title = new TextField();
    Title.setFont(new Font("Sansserif", Font.BOLD, 48));
    Title.setText("HORNSONIC");
    Title.setEditable(false);
    TextField Name = new TextField();
    Name.setFont(new Font("Sansserif", Font.BOLD, 30));
    Name.setText("Hera International, Inc.");
    Name.setEditable(false);
    p1.add(Title, BorderLayout.NORTH);
    p1.add(Name, BorderLayout.CENTER);
    add(p1, BorderLayout.NORTH);
    //Build and add 2nd Panel
    Panel PDCS = new Panel();
    TextField pdcs = new TextField();
    pdcs.setFont(new Font("Sanserif", Font.BOLD, 22));
    pdcs.setText("Project Development Coordination System");
    pdcs.setEditable(false);
    PDCS.add(pdcs);
    add(PDCS, BorderLayout.CENTER);
    //Build and add 3rd Panel
    Panel buttons = new Panel();
    Button input = new Button("INPUT");
    buttons.add(input);
    Button feedback = new Button("FEEDBACK");
    buttons.add(feedback);
    input.addActionListener( new Input());
    feedback.addActionListener(new Feedback());
    add(buttons, BorderLayout.SOUTH);
    addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent event){
         System.exit(0);
    //end of project1()
    //Input class     
    static class Input extends Frame implements ActionListener {
              Input(){
    super("Input");
    setSize(500,500);
    //Build and add FirstPanel of the Frame
    Panel FP = new Panel(new BorderLayout());
    //Build and add northpanel of FP
    Panel np = new Panel(new BorderLayout());
    //Build and add subpanel1 of np
    Panel subpanel1= new Panel();
    Label L1 = new Label("Sample#");
    TextField T1 = new TextField(10);
    T1.setEditable(true);
    Label L12 = new Label("Customer:");
    TextField ctf = new TextField(10);
    ctf.setBackground(Color.gray);
    ctf.setForeground(Color.black);
    ctf.setEditable(true);
    subpanel1.add(L1);
    subpanel1.add(T1);
    subpanel1.add(L12);
    subpanel1.add(ctf);
    //Build and add subpanel2 of np
    Panel subpanel2 = new Panel();
    TextField sub1t = new TextField(10);
    sub1t.setBackground(Color.gray);
    sub1t.setForeground(Color.black);
    sub1t.setEditable(true);
    subpanel2.add(sub1t);
    Label sublabel = new Label("Model#");
    subpanel2.add(sublabel);
    TextField sub2t = new TextField(10);
    sub2t.setBackground(Color.gray);
    sub2t.setForeground(Color.black);
    sub2t.setEditable(true);
    subpanel2.add(sub2t);
    np.add(subpanel1, BorderLayout.NORTH);
    np.add(subpanel2, BorderLayout.CENTER);
    FP.add(np, BorderLayout.NORTH);
    //Build and add centerpanel of FP
    Panel cp = new Panel(new BorderLayout());
    //Build and add subcenter1 of centerpanel
    Panel subcenter1 = new Panel(new BorderLayout());
    Panel NP = new Panel();
    Label Project = new Label("Project Scope");
    NP.add(Project);
    TextField PS = new TextField(10);
    PS.setBackground(Color.gray);
    PS.setForeground(Color.black);
    PS.setEditable(true);
    NP.add(PS);
    Label Appl = new Label("Application:");
    NP.add(Appl);
    TextField Price1 = new TextField(10);
    Price1.setBackground(Color.gray);
    Price1.setForeground(Color.black);
    Price1.setEditable(true);
    NP.add(Price1);
    subcenter1.add(NP, BorderLayout.NORTH);
    Panel CP = new Panel();
    Label TP = new Label("Target Price-");
    CP.add(TP);
    TextField appl = new TextField(10);
    appl.setBackground(Color.gray);
    appl.setForeground(Color.black);
    appl.setEditable(true);
    CP.add(appl);
    Label quote = new Label("Quoted Price-");
    CP.add(quote);
    TextField Q = new TextField(10);
    Q.setBackground(Color.gray);
    Q.setForeground(Color.black);
    Q.setEditable(true);
    CP.add(Q);
    subcenter1.add(CP, BorderLayout.CENTER);
    cp.add(subcenter1, BorderLayout.NORTH);
    //Build subcenter panel of cp
    Panel subcenter = new Panel(new GridLayout(1,3));
    List list = new List (3,true);
    list.addItem("Woofer:");
    list.addItem("Mid:");
    list.addItem("Tweeter");
    subcenter.add(list);
    TextArea inches = new TextArea(3,5);
    inches.setBackground(Color.gray);
    inches.setForeground(Color.black);
    inches.setEditable(true);
    subcenter.add(inches);
    List list1 = new List(3, true);
    list1.addItem("Count-");
    list1.addItem("Count-");
    list1.addItem("Count-");
    subcenter.add(list1);
    TextArea count = new TextArea(3,5);
    count.setBackground(Color.gray);
    count.setForeground(Color.black);
    count.setEditable(true);
    subcenter.add(count);
    List list2 = new List(3, true);
    list2.addItem("Materials:");
    list2.addItem("Materials:");
    list2.addItem("Materials:");
    subcenter.add(list2);
    TextArea materials = new TextArea(3,5);
    materials.setBackground(Color.gray);
    materials.setForeground(Color.black);
    materials.setEditable(true);
    subcenter.add(materials);
    cp.add(subcenter, BorderLayout.CENTER);
    FP.add(cp, BorderLayout.CENTER);
    //Build and add southpanel of FP
    Panel sp = new Panel();
    TextArea comments = new TextArea("Comments:", 3,30);
    sp.add(comments);
    FP.add(sp, BorderLayout.SOUTH);
    add(FP, BorderLayout.NORTH);
    //Build and add SouthPanel of Frame
    Panel SP = new Panel();
    List l1 = new List(8,true);
    l1.addItem("Quote Requested:");
    l1.addItem("Quote to be completed by:");
    l1.addItem("Sample Requested:");
    l1.addItem("STd sent to Factory:");
    l1.addItem("Factory estimated ETD:");
    l1.addItem("Revised ETD#1:");
    l1.addItem("Revised ETD#2:");
    l1.addItem("Revised ETD#3:");
    SP.add(l1);
    TextArea dates1 = new TextArea(8,8);
    dates1.setBackground(Color.gray);
    dates1.setForeground(Color.black);
    dates1.setEditable(true);
    SP.add(dates1);
    List l2 = new List(8, true);
    l2.addItem("Days Quote overdue:");
    l2.addItem("Date Quote Received:");
    l2.addItem("Actual ETD:");
    l2.addItem("Sample Arrival Date:");
    l2.addItem("Days Sample overdue:");
    l2.addItem("Days in Development:");
    l2.addItem("Date sent to customer:");
    l2.addItem("Actual Days to customer:");
    SP.add(l2);
    TextArea dates2 = new TextArea(8,8);
    dates2.setBackground(Color.gray);
    dates2.setForeground(Color.black);
    dates2.setEditable(true);
    SP.add(dates2);
    add(SP, BorderLayout.SOUTH);
    //Build and add CenterPanel of Frame
    Panel TD = new Panel();
    TextField td = new TextField("TIME IN DEVELOPMENT");
    TD.add(td);
    add(TD, BorderLayout.CENTER);
              addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent event){
         System.exit(0);
    }// end of input()
    public void actionPerformed(ActionEvent Event)
    Object source = Event.getSource();
    if (source == input){
                   new Input();
                   setVisible(true);
    }//end of input if
              }//end of actionPerformed.
         }//end of class input
    //Feedback class
    static class Feedback extends Frame implements ActionListener{
    Feedback(){
    super("Feedback");
    setSize(500,500);
    //Build and add panel 1.
    Panel p1 = new Panel(new BorderLayout());;
    //Build and subpanel off panel 1
    Panel subpanel1= new Panel();
    Label L1 = new Label("Sample#");
    TextField T1 = new TextField(10);
    T1.setEditable(true);
    Label L12 = new Label("Customer:");
    TextField ctf = new TextField(10);
    ctf.setBackground(Color.gray);
    ctf.setForeground(Color.black);
    ctf.setEditable(true);
    subpanel1.add(L1);
    subpanel1.add(T1);
    subpanel1.add(L12);
    subpanel1.add(ctf);
    Panel subpanel2 = new Panel();
    TextField sub1t = new TextField(10);
    sub1t.setBackground(Color.gray);
    sub1t.setForeground(Color.black);
    sub1t.setEditable(true);
    subpanel2.add(sub1t);
    Label sublabel = new Label("Model#");
    subpanel2.add(sublabel);
    TextField sub2t = new TextField(10);
    sub2t.setBackground(Color.gray);
    sub2t.setForeground(Color.black);
    sub2t.setEditable(true);
    subpanel2.add(sub2t);
    p1.add(subpanel1, BorderLayout.NORTH);
    p1.add(subpanel2, BorderLayout.CENTER);
    add(p1, BorderLayout.NORTH);
    //Build and add Panel 2
    Panel p2 = new Panel(new BorderLayout());
    //Build and add subcenter1 of Panel 2.
    Panel subcenter1 = new Panel(new BorderLayout());
    //Build subpanels of subcenter 1.
    Panel NP = new Panel();
    Label Project = new Label("Project Scope");
    NP.add(Project);
    TextField PS = new TextField(10);
    PS.setBackground(Color.gray);
    PS.setForeground(Color.black);
    PS.setEditable(true);
    NP.add(PS);
    Label Appl = new Label("Application:");
    NP.add(Appl);
    TextField Price1 = new TextField(10);
    Price1.setBackground(Color.gray);
    Price1.setForeground(Color.black);
    Price1.setEditable(true);
    NP.add(Price1);
    subcenter1.add(NP, BorderLayout.NORTH);
    Panel CP = new Panel();
    Label TP = new Label("Target Price-");
    CP.add(TP);
    TextField appl = new TextField(10);
    appl.setBackground(Color.gray);
    appl.setForeground(Color.black);
    appl.setEditable(true);
    CP.add(appl);
    Label quote = new Label("Quoted Price-");
    CP.add(quote);
    TextField Q = new TextField(10);
    Q.setBackground(Color.gray);
    Q.setForeground(Color.black);
    Q.setEditable(true);
    CP.add(Q);
    subcenter1.add(CP, BorderLayout.CENTER);
    p2.add(subcenter1, BorderLayout.NORTH);
    //BUILD and add subcenter to Panel 2);
    Panel subcenter = new Panel();
    List list = new List (3,true);
    list.addItem("Woofer:");
    list.addItem("Mid:");
    list.addItem("Tweeter");
    subcenter.add(list);
    TextArea inches = new TextArea(3,5);
    inches.setBackground(Color.gray);
    inches.setForeground(Color.black);
    inches.setEditable(true);
    subcenter.add(inches);
    List list1 = new List(3, true);
    list1.addItem("Count-");
    list1.addItem("Count-");
    list1.addItem("Count-");
    subcenter.add(list1);
    TextArea count = new TextArea(3,5);
    count.setBackground(Color.gray);
    count.setForeground(Color.black);
    count.setEditable(true);
    subcenter.add(count);
    List list2 = new List(3, true);
    list2.addItem("Materials:");
    list2.addItem("Materials:");
    list2.addItem("Materials:");
    subcenter.add(list2);
    TextArea materials = new TextArea(3,5);
    materials.setBackground(Color.gray);
    materials.setForeground(Color.black);
    materials.setEditable(true);
    subcenter.add(materials);
    p2.add(subcenter, BorderLayout.CENTER);
    //Build and add south subpanel of Panel 2
    Panel subpanel = new Panel();
    Label L2 = new Label("Sample Disposition:");
    subpanel.add(L2);
    TextField T2 = new TextField(10);
    T2.setEditable(true);
    subpanel.add(T2);
    Label l2 = new Label("Date:");
    subpanel.add(l2);
    TextField t2 = new TextField(10);
    t2.setEditable(true);
    subpanel.add(t2);
    TextArea TF = new TextArea("Feedback:",3,30);
    TF.setEditable(true);
    subpanel.add(TF);
    p2.add(subpanel, BorderLayout.SOUTH);
    add(p2, BorderLayout.CENTER);
    //Build and add Panel 3.
    Panel p3 = new Panel();
    Label L3 = new Label("Project Continued on Revision#:");
    TextField T3 = new TextField(10);
    T3.setEditable(true);
    Label l3 = new Label("Order Placed:");
    TextField t3 = new TextField(10);
    t3.setEditable(true);
    p3.add(L3);
    p3.add(T3);
    p3.add(l3);
    p3.add(t3);
    add(p3, BorderLayout.SOUTH);
    setVisible(true);
    addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent event){
         System.exit(0);
    }//end of Feedback()
    public void actionPerformed(ActionEvent AE){
    if (AE.getSource() == feedback){
    new Feedback();
         setVisible(true);
    }//end of feedback if
    }//end of actionPerformed
    }//end of class Feedback
    public static void main (String args[]){
         project1 window = new project1();
         window.setVisible(true);
         //end of main
    }//end.

    I compiled and did run your code....
    it seems you are trying to implement a Frame with two buttons... each time the user click on a button, the main frame displays the equivalent panel with a set of components .. isn�t it ?
    well... some tips:
    1 - Why don�t you use a JTabbedPane ? a much better container than a simple Frame....
    2 - If you really need to use a Frame as a container of multiple forms.. then you should take a look in the java.awt.CardLayout
    other tip: don�t use the Frame component as the same class as the ActionListener.. divie these comopnents in two classes...

  • "Archive" and "View" buttons don't work after folio update

    Hi all,
    I have a subscription to the professional edition and I have built a custom viewer app for Android. I have built about 10 folios and at first download all is ok, the folios are displayed without problems and the app works fine except for one issue: "Archive" button don't work, when I tap on it, near folio cover, nothing happens, the folio does not disappear from folios list.
    But the serious problem occurs when I perform a folio update from Folio Producer ('Update content' from adobe dashboard DPS): both "Archive" and "View" buttons stop working, nothig happens when I tap tap on them and I am forced to uninstall and reinstall the application on tablet (.apk file) to see folio changes in my custom viewer.
    This is very annoying as well as time expensive.
    Tablet is Samsun Galaxy Tab SII with Android 3.2.
    Any help is appreciated.

    To the best of my knowledge, the SII is a smartphone and not a tablet device, and the official claim is (correct me if I'm wrong) that DPS on Android is corrently tablet only.
    Anyway, it seems strange to me so checked and found out that even though the DPS apps are not available when you search for them in the Play Market of a smartphone you can still force load them to the phone and run them.
    I've done it on both a Samsung SIII running Android 4.0.4 and a Samsung GT-I9070 running Android 2.3.6 (I currently don't have a device running Android 3.2)
    The interface is so small that it's hardly possible to use it, but it works.

Maybe you are looking for

  • Error handling in Oracle

    Hello, Could anyone help to convert the following T-SQL statement to PL-SQL? Thanks inadvance! BEGIN TRAN UPDATE Table1 SET ....... SELECT @ReturnCode = @@error IF @ReturnCode <> 0      BEGIN                     SELECT @msg = 'Error - update date fee

  • Bought new mac pro, does not work with sims 3.

    I bought a mac pro 13" today with 2,4 Ghrz, 4 GB RAM. I bought sims 3 pets and installed it. But I can't play it properly. All the settings are on low, and there are no details. When I set it on high my sims flashes, and the game goes slowly. What ca

  • Portal integration with campus management..

    Hey there.. I'm totally new to campus management and I want to know how to integrate campus management with EP 7.. is there any business package or how does it work? I will really appreciate any comment.. thanx in advance.. JV

  • How to remove the MEMBER of ASM and chage to CANDIDATE

    Hello, My first installation of RAC and database software failed and now when I try to install one more time I have many problems. I think the content of partitions for raw device makes this problems. Now I can install cluster software without proble

  • JDK Source code

    Does the source code for the standard java libraries come with the sdk? I thought that was the whole point of an sdk, but when using eclipse, it says it cant find the source (in rt.jar), and just gives me an outline of the class. Do I separately have