How to make a simple animation within text area ?

Hi guys ,I am getting familiar with the Flash animations so I would appreciate a bit of help.
I am trying to make a simple animation within the text input area i.e.
1.FAN BASE
2.FA   NBASE
What I want is the letter N to move slowly towards letter B.I have done motion tweening but it doesn't work - either the whole text is moving left right  or the letter N is simply skipping to the second position without smooth animation.( there's no error on motion tween by the way) any ideas ?
Thanks.

best would be you would create your sentence "fanbase" and break down the single letters into objects by selecting the whole textfield and pressing CTRL+B, convert everyone of them into single movieclips or graphics and tween them accordingly.

Similar Messages

  • How to make a pop up within if else

    I'm now making an user interface which will be used to control a remote robot. I want to make it so that when a button is pressed, a window will pop-up and tells the user what the robot is doing. At the moment, I can only make it to show the message in the cmd box. Code is as follow:
    class ActionHandler implements java.awt.event.ActionListener
              public void actionPerformed(java.awt.event.ActionEvent event)
                   Object object = event.getSource();
                   if (object == forwardButton) {
                        System.out.println("Robot moving fordward");
                   else if (object == backwardButton) {
                        System.out.println("Robot moving backward");
                   else if (object == rotateLeftButton){
                        System.out.println("Robot rotating to its left");
                   else if (object == rotateRightButton){
                        System.out.println("Robot rotating to its right");
    The only way to make pop-up which I know is this one:
    import javax.swing.*;
    public class DisplayTextInWindow {
         public static void main(String[] args) {
              // create a String variable
              String messageText = "Hello world";
              // display it in the console window
              System.out.println(messageText);
              // now display it in its own window
              JOptionPane.showMessageDialog( null, messageText );
    Which I can put into the code for interface because I can't start another class within an if statement (as far as I know anyway...)
    Can anyone please teach me how to make a pop-up within an if else statement?

    Which I can put into the code for interface because I can't start another class within an if statement (as far as I know anyway...)yes you can.
    if (robotRotating)
        newClass class = new newClass();
        class.methods;
    Can anyone please teach me how to make a pop-up within an if else statement?sure
    if (robotRotating)
       //i think this part is already answered in the previous post
       javax.swing.JOptionPane.showMessageDialog(null, "your message here", "your title here", JOptionPane.OK_OPTION);
    }

  • How to make a scroll animation constantly fixed after scrolling? I want the animation to Start when I scroll down, but I don't want the animated thing to disappear when I scroll up again.

    How to make a scroll animation constantly fixed after scrolling? I want the animation to Start when I scroll down, but I don't want the animated thing to disappear when I scroll up again.
    I know how to start the animation by scrolling down, but I simply want it to stay there after it. Could you help me please, guys?

    Hi Tom,
    There is no native feature in Muse to achieve this.
    Regards,
    Aish

  • JDialog Problem: How to make a simple "About" dialog box?

    Hi, anyone can try me out the problem, how to make a simple "About" dialog box? I try to click on the MenuBar item, then request it display a JDialog, how? Following is my example code, what wrong code inside?
    ** Main.java**
    ============================
    publc class Main extends JFrame{
    public Main() {
              super();
              setJMenuBar();
              initialize();
    public void setJMenuBar()
         JMenuBar menubar = new JMenuBar();
            setJMenuBar(menubar);
            JMenu menu1 = new JMenu("File");      
            JMenuItem item = new JMenuItem("About");      
            item.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ae) {
                  // About about = new About(this);
               // about.show();
            menu1.add(item);
         menubar.add(menu1);
    public static void main(String args[]){
         Main main = new Main();
    }** About.java**
    =============================
    import java.awt.*;
    import javax.swing.*;
    public class About extends JDialog{
         JPanel jp_top, jp_center, jp_bottom;
         public About(JFrame owner){
              super(owner);
              setDefaultCloseOperation( DISPOSE_ON_CLOSE );
              Image img = Toolkit.getDefaultToolkit().getImage(DateChooser.class.getResource("Duke.gif"));          
              setIconImage( img );
              setSize(500,800);
              Container contentPane = getContentPane();
             contentPane.setLayout(new BorderLayout());           
             contentPane.add(getTop(), BorderLayout.NORTH);
              contentPane.add(getCenter(), BorderLayout.CENTER);
              contentPane.add(getBottom(), BorderLayout.SOUTH);
              setResizable(false);
               pack();            
               setVisible(true);
         public JPanel getTop(){
              jp_top = new JPanel();
              return jp_top;
         public JPanel getCenter(){
              jp_center = new JPanel();
              return jp_center;
         public JPanel getBottom(){
              jp_bottom = new JPanel();
              jp_bottom.setLayout(new BoxLayout(jp_bottom, BoxLayout.X_AXIS));
              JButton jb = new JButton("OK");
              jp_bottom.add(jb);
              return jp_bottom;
    }

    Code looks reasonable except
    a) the code in the actionPerformed is commment out
    b) the owner of the dialog should be the frame
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

  • How to make a simple Quiz?

    Could anyone help me with some hints and maybe sample code (or tutorial :)) how to make a simple quiz, with multiple
    answers choices, and a score function.
    //D

    You could for example do it like this:
    import java.io.*;
    class Quiz
    public static void main (String [] args)
    BufferedReader in = new BufferedReader (new InputStreamReader(System.in));
    System.out.println("SUPERQUIZ");
    System.out.println("How many legs does a horse have?");
    System.out.println();
    System.out.println("1");
    System.out.println("2");
    System.out.println("3");
    System.out.println("4");
    int answer = Integer.parseInt(in.readLine());
    if (answer == 4)
    System.out.println("The answer is correct");
    else
    System.out.println("The answer is incorrect");
    This is just a basic program, hope you understand it (hopefully it works).
    �sbj�rn

  • How to make touchpad Be sensitive to all areas of his

    hi
    i have Lenovo x201 and i have problem.
    how to make touchpad Be sensitive to all areas of his ?
    for example, the top area not responding if i drag my finger
    from the top to bottom - but if i drag my finger from the middle to bottom its works fine.
    i need to make the touchpad be sensitive for all his area

    Hi,
    I have already responded for a similar query of yours in this thread. Please change the settings as mentioned and revert if issue persists.
    Regards,
    Mithun.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How do I make a simple animation?

    I am building an avation website and want clouds to move across the banner to give the feel that the site/airplane logo is moving in the sky. I already have the clouds that i made in Illustrator but now I need to make a simple GIF that has the cloud move from one side of the screen to the other and repeat. I dont even know how to do animation frames or any of that so I need lots of detail. Thanks!

    I went the one of those links and saw that that the following would give me better understanding. Does everone here understand now. Its not in my knowledge base!
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    var CloudGenerator = new Class({
        // Implement the Events and Options utility classes
        Implements: [Events, Options],
        // Initialize our defualt values for the class options passed in
        options: {
            totalClouds:  4,        // Total number of clouds on screen at a given time (int)
            minDuration: 10000,     // Minimum travel time for a cloud across the screen (milliseconds)
            maxDuration: 120000,    // Maximum tracel time for a cloud across the screen (milliseconds)
            checkInterval: 10000,   // The interval used to check if new clouds are needed (milliseconds)
            autoStart: true,        // Automatically starts the cloud generator by default (bool)
            sky: $("sky"),          // Default sky target resides in an element named "sky" (element)
            cloudImg: "cloud.png",  // Define default cloud image (path/url)
            cloudDirection: 0,      // 0 = left to right, 1 = right to left (int)
            cloudWidth: 573,        // Cloud width (px)
            cloudHeight: 262,       // Cloud height (px)
            cloudScales: [1, 0.8, 0.6, 0.4, 0.2],   // Define an array containing the sizes the cloud will be scaled to (%)
            maxAltitude: 600,       // This defines the vertical space you allow clouds to appear within the sky (px)
            cloudTransition: Fx.Transitions.linear  //Define the transition algorithm for the cloud movement
        cloudCheck: null,           // Initialize the vairable to hold the setInterval declaration
        cloudsInSky: 0,             // Keep track of number of clouds in sky
        cloudSky: null,             // A reference to the cloudSky generated and injected into the sky element
        // Our constructor for the CloudGenerator class
        // It takes in the options passed to it and uses the implemented Options
        // utility class to modify any defualt options in our options object
        initialize: function(options){
            // Modify any defaults with the passed in options
            this.setOptions(options);
            // Create Cloud Sky
            this.cloudSky = new Element('div', {
                id: 'cloudSky',
                src: this.options.cloudImg,
                styles: {
                    position: 'absolute',
                    width: (sky.getDimensions().x + (2*this.options.cloudWidth)),
                    left: -this.options.cloudWidth 
            // Place the cloud container within the sky
            // This lets us ensure that the clouds can smoothly enter and exit the
            // boundaries of the sky element
            sky.grab(this.cloudSky);
            // autostat the cloud generator by default
            if(this.options.autoStart){
                this.startGenerator();
        // Check if there are less than the max number of clouds in the sky
        // If there is room, deploy another cloud, if not, do nothing
        deploy: function(){
            var cloudScale = (Math.floor(Math.random()*this.options.cloudScales.length));
            cloudScale = this.options.cloudScales[cloudScale];
            var cloudDuration = Math.floor(Math.random() * (this.options.maxDuration + 1 - this.options.minDuration))
                                + this.options.minDuration;
            var cloudAltitude = Math.floor(Math.random() * (this.options.maxAltitude - (cloudScale * this.options.cloudHeight)));
            if(this.cloudsInSky < this.options.totalClouds && !this.cloudsFull){
                this.cloudsInSky++;
                new Cloud({
                    width: Math.floor(this.options.cloudWidth * cloudScale),
                    height: Math.floor(this.options.cloudHeight * cloudScale),
                    altitude: cloudAltitude,
                    duration: cloudDuration,
                    direction: this.options.cloudDirection,
                    cloudImg: this.options.cloudImg,
                    cloudTransition: this.options.cloudTransition,
                    onComplete: function(){
                        this.removeCloud();
                    }.bind(this)
        // Decrement cloudsInSky variable
        removeCloud: function(){
            if(this.cloudsInSky > 0){
                this.cloudsInSky--;
                console.log("cloud removed");
        // Stop the cloudGenerator
        stopGenerator: function(){
            clearInterval(this.cloudCheck);
            return "generator stopped";
        // Start the cloudGenerator
        startGenerator: function(){
            this.deploy();
            this.cloudCheck = this.deploy.periodical(this.options.checkInterval, this);
    var Cloud = new Class({
        // Implement the Events and Options utility classes
        Implements: [Events, Options],
        cloudId: "",    // hold a reference to this cloud's DOM id property
        options: {
            duration: 4000,         // Duration of the clouds movement across the sky (milliseconds)
            direction: 0,           // Direction of the clouds movement, 0 = left to right and vice versa (int)
            altitude: 200,          // Altitude of the cloud in the sky
            width: 573,             // Width of the cloud (px)
            height: 262,            // Height of the cloud (px)
            cloudImg: "cloud.png",  // Cloud image (path/url)
            sky: $("cloudSky"),     // CloudSky element that the cloud will be injected into (element)
            cloudTransition: Fx.Transitions.linear  //Define the transition algorithm for the cloud movement
        initialize: function(options){
            // modify any defaults with the passed in options
            this.setOptions(options);
            // create and animate the cloud element
            this.createCloud();
        createCloud: function(){
            this.cloudId = 'cloud-' + (new Date().getTime());
            // determine if cloud will be moving left to right or right to left
            // the position cloud offscreen to begin movement
            var cloudStyle = {
                position: 'absolute',
                top: this.options.altitude,
                width: this.options.width,
                height: this.options.height
            var skyPosition = 'upperRight'; // Move the cloud to the right, ignore the 'upper'
            var cloudEdge = 'upperLeft';    // Align the edge of the cloud to the edg edge of the sky
            // Determine the direction of the cloud and set styles and positions
            if(this.options.direction === 0){
                cloudStyle.left = (0 - this.options.width);
            else {
                cloudStyle.right = (0 - this.options.width);
                skyPosition = 'upperLeft';
                cloudEdge = 'upperRight';
            // Create the image element for the cloud
            var cloud = new Element('img', {
                id: this.cloudId,
                src: this.options.cloudImg,
                styles: cloudStyle
            // Add the cloud image element to the cloudSky div
            sky.grab(cloud);
            // Move the cloud across the sky
            new Fx.Move(cloud, {
                relativeTo: this.options.sky,
                position: skyPosition,
                edge: cloudEdge,
                offset: {x: 0, y: this.options.altitude},
                duration: this.options.duration,
                transition: this.options.cloudTransition,
                onComplete: function(){
                    this.complete();
                }.bind(this)
            }).start();
        complete: function(){
            $(this.cloudId).destroy();  // Remove the cloud element from the DOM
            this.fireEvent('complete'); // fire the onComplete event, this is picked up
                                        // by the CloudGenerator class

  • How to make html file from a text field data

    hi!
    I want to know how to make a file with .html extension and the data in this file should be from a text field. like i want to enter some thing in a text area and have to place it in a file on server side in html formate.

    so you told us what you want, but what is your question?

  • How to make a simple Pc Speaker sound output?

    Hello,
    how can a make a simple PC Speaker sound output like the standard beep for errormessages?
    Can anybody help me?
    Thanks,
    Alex

    Use this:Toolkit.getDefaultToolkit().beep(); or this: System.out.print("\0007");
    System.out.flush();

  • How to make a Simple NIO Scalable Server?

    I want to learn NIO for a project, but first want to start out simple. I want to figure out how to send a string across from clients to a server using NIO. I tried looking up stuff, but got caught in the terminology and such. How can I make a simple scalable server (agh tripple S) to send strings across? (like a chat server or something). All I know is I need to use a Selector and some Threaded loops to do stuff.
    I found http://gee.cs.oswego.edu/dl/cpjslides/nio.pdf and tweaked the code to make (what I thought was) a simple server, but I do not know how to make client code or even whether or not my Server code works.
    This is what I have so far:
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.nio.channels.spi.*;
    import java.net.*;
    import java.util.*;
    import static java.lang.System.*;
    public class NIOTest {
    public static void main(String args[]) throws Throwable
    try {
    new Thread(new NIOTestServer()).start();
    } catch(Exception e) {
    e.printStackTrace();       
    class NIOTestServer implements Runnable
    final Selector selector;
    final ServerSocketChannel serverSocket;
    int chatPort=9990;
    public NIOTestServer() throws Exception
    selector=Selector.open();
    serverSocket = ServerSocketChannel.open();
    serverSocket.socket().bind(
    new InetSocketAddress(chatPort));
    serverSocket.configureBlocking(false);
    SelectionKey sk =
    serverSocket.register(selector,
    SelectionKey.OP_ACCEPT);
    sk.attach(new Acceptor());
    public void run()
    try
    while(!Thread.interrupted())
    selector.select(); //Blocks until atleast one I/O event has occured
    Iterator<SelectionKey> it=selector.selectedKeys().iterator();
    while(it.hasNext())
    dispatch(it.next());
    catch(Throwable lol)
    lol.printStackTrace();
    void dispatch(SelectionKey k)
    Runnable r = (Runnable)(k.attachment());
    if (r != null)
    r.run();
    class Acceptor implements Runnable
    { // inner class to accept the event
    public void run()
    try
    SocketChannel c = serverSocket.accept();
    if (c != null)
    new Handler(selector, c);
    catch(IOException ex) {ex.printStackTrace();}
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.nio.channels.spi.*;
    import java.net.*;
    import java.util.*;
    import static java.lang.System.*;
    final class Handler implements Runnable {
    final SocketChannel socket;
    final SelectionKey sk;
    ByteBuffer input = ByteBuffer.allocate(1024);
    ByteBuffer output = ByteBuffer.allocate(1024);
    static final byte READING = 0, SENDING = 1;
    byte state = READING;
    Handler(Selector sel, SocketChannel c) throws IOException
    socket = c; c.configureBlocking(false); //makes it non blocking
    // Optionally try first read now
    sk = socket.register(sel, 0);
    sk.attach(this);
    sk.interestOps(SelectionKey.OP_READ);
    sel.wakeup();
    boolean inputIsComplete()
    return input.hasRemaining();
    boolean outputIsComplete()
    return output.hasRemaining();
    void process()
    CharBuffer buf=input.asCharBuffer();
    buf.flip();
    out.println(buf);
    public void run()
    try {
    if (state == READING) read();
    else if (state == SENDING) send();
    catch (IOException ex) { ex.printStackTrace(); }
    void read() throws IOException
    socket.read(input);
    if (inputIsComplete())
    process();
    state = SENDING;
    // Normally also do first write now
    sk.interestOps(SelectionKey.OP_WRITE);
    void send() throws IOException
    socket.write(output);
    if (outputIsComplete()) sk.cancel();
    }again this is a rough incomplete code test.

    See http://forum.java.sun.com/thread.jspa?forumID=536&threadID=5277053. You can use Telnet as a test client. When you come to write your own client, use java.net, not java.nio.

  • How to make a simple C program universal from the command line???

    Hi all,
    I've developed widgets that use a simple C program. I had no clue how to make it universal. Apple documentation is all about big projects to be developed inside Xcode and so on, but I don't understand even the introductory remarks...
    As far as I've read, I have to make a binary for PPC and a binary for i386, and then merge it with lipo. Fine. I get my PPC binary from:
    gcc-4.0 prog.c -o prog_ppc -lm -arch ppc -arch ppc64
    Now, it seems that I have to use:
    gcc-4.0 prog.c -o prog_i386 -lm -arch i386
    The latter command didn't work until I added -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/ at the end. With this, it creates a binary file, but with the following message:
    /usr/bin/ld: warning fat file: /usr/lib/system/libmathCommon.A.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
    and I guess this is quite an issue if I don't have the common math functions, no?...
    Can somebody help me? I googled a lot on this, and found nothing helpful.
    Cédric

    Thanks, it helped me. I googled a bit to build up my Makefile, and this is what I got.
    CC= gcc-4.0
    CFLAGS= -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386
    LDFLAGS= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -lm
    TARGETS= skycalc.fixed.c
    all: $(TARGETS)
    $(CC) $(TARGETS) $(CFLAGS) $(LDFLAGS) -o skycalc_universal
    Thanks again.

  • How to make a simple control value comparison a user event?

    Hey everyone,
    I am trying (with no luck) to figure out how to make an event out of a simple control comparison without having to put the controls inside a while loop to be polled or in the event structure.
    For example; how do I make an event when 'numerical control 1' equals 'numerical control 2'?
    I know that I could have these inside a while loop with the event structure and then wire the comparison to a boolean, then reference the boolean's value change event.  But rather, I would like to create an event for the comparison without the boolean and outside the while loop such that the loop doesn't have to run through the comparison each time, and doesn't have to poll the controls and bool.
    Thanks for the help

    Attached is a simple user event structure that I was thinking about.  Using this you can decouple the control from the comparison, it just works on valye comparisons.  Since it uses the event structure there is no polling and is very CPU friendly.  I have allowedfor the comparison to be linked to the "Value 1:value change event" and the compare button true event.  I hope this is what you were looking at.  Also since it is a user event which is dynamically registered you can register/unregister it at will durring execution making it a flexable event handler.  It might be alittle buggy because I have spent about 3 minutes developing it (particularry when passing values into the event structure there might be a state issue from the data flow so local variables are a better choice)
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA
    Attachments:
    CompareEventvi.vi ‏49 KB

  • How to make a simple poll

    hi,all
    I would like to make a simple poll in a page of an application,it only concludes two choices: yes and no.when i press the submit button I can see the percentage displayed as pie chart.how to do this ?any suggestions?

    Hi,
    Step 1: Create Table structure and trigger for Sequence. I have not give code to create Sequence. That you can create with DEMO_POLL_SEQ name
    CREATE TABLE "DEMO_POLL"
    (     "ID_PK" NUMBER,
         "RESULT" NUMBER,
         CONSTRAINT "DEMO_POLL_PK" PRIMARY KEY ("ID_PK") ENABLE
    CREATE OR REPLACE TRIGGER "BI_DEMO_POLL"
    before insert on "DEMO_POLL"
    for each row
    begin
    if :NEW."ID_PK" is null then
    select "DEMO_POLL_SEQ".nextval into :NEW."ID_PK" from dual;
    end if;
    end;
    ALTER TRIGGER "BI_DEMO_POLL" ENABLE;
    Step 2:
    Create a new region on apex type Form with table and select "Result" column and make its type Radiogroup and create static lov
    make sure after you create a region go to branch and put clear cache to the same page. so it clears the page item value.
    Step 3:
    Create another region with chart and paste following SQL query
    SELECT NULL LINK,
    REPLACE(REPLACE(RESULT,1,'YES'),0,'NO') LABEL,
    COUNT(RESULT) VALUE
    FROM DEMO_POLL
    GROUP BY RESULT
    ORDER BY RESULT
    Hope this would workout for you.
    And yes you can add me as in your friend list.
    Thanks,
    Jaydip Bosamiya,
    +91 - 76000 23053
    [http://jbosamiya.blogspot.com|http://jbosamiya.blogspot.com]

  • How to make a simple form layout without ad RAD tool

    I'm trying to make a simple form, but I'm not finding the right layout manager to make the components goes in Y axis. The BoxLayout could solve my problem, if it does not fill all the panel with the components.
    My SCCEE:
    public class TestSimpleForm extends JPanel {
        JLabel nameLbl = new JLabel("Name:");
        JTextField nameField = new JTextField();
        JButton okBtn = new JButton("OK");
        JButton cancelBtn = new JButton("Cancel");
        public TestSimpleForm() {
         add(nameLbl);
         add(nameField);
         add(okBtn);
         add(cancelBtn);
        public static void main(String[] args) {
         JPanel panel = new TestSimpleForm();
         // if i make it a boxlayout panel, the text field size goes huge
    //     panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
         JFrame f = new JFrame();
         f.setContentPane(panel);
         f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         f.setSize(400, 600);
         f.setLocationRelativeTo(null);
         f.setVisible(true);
    }

    wellington7 wrote:
    ..My SCCEE:While I don't know what an SCCEE is, I am very familiar with the SSCCE, and..
    public class TestSimpleForm extends JPanel {
    .....this code is surely not an SSCCE.
    Running tool: Java Compile
    /media/disk/projects/numbered/all/TestSimpleForm.java:1: cannot find symbol
    symbol: class JPanel
    public class TestSimpleForm extends JPanel {
                                        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:3: cannot find symbol
    symbol  : class JLabel
    location: class TestSimpleForm
        JLabel nameLbl = new JLabel("Name:");
        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:4: cannot find symbol
    symbol  : class JTextField
    location: class TestSimpleForm
        JTextField nameField = new JTextField();
        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:6: cannot find symbol
    symbol  : class JButton
    location: class TestSimpleForm
        JButton okBtn = new JButton("OK");
        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:7: cannot find symbol
    symbol  : class JButton
    location: class TestSimpleForm
        JButton cancelBtn = new JButton("Cancel");
        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:3: cannot find symbol
    symbol  : class JLabel
    location: class TestSimpleForm
        JLabel nameLbl = new JLabel("Name:");
                             ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:4: cannot find symbol
    symbol  : class JTextField
    location: class TestSimpleForm
        JTextField nameField = new JTextField();
                                   ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:6: cannot find symbol
    symbol  : class JButton
    location: class TestSimpleForm
        JButton okBtn = new JButton("OK");
                            ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:7: cannot find symbol
    symbol  : class JButton
    location: class TestSimpleForm
        JButton cancelBtn = new JButton("Cancel");
                                ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:17: cannot find symbol
    symbol  : class JPanel
    location: class TestSimpleForm
         JPanel panel = new TestSimpleForm();
         ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:22: cannot find symbol
    symbol  : class JFrame
    location: class TestSimpleForm
         JFrame f = new JFrame();
         ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:22: cannot find symbol
    symbol  : class JFrame
    location: class TestSimpleForm
         JFrame f = new JFrame();
                        ^
    /media/disk/projects/numbered/all/TestSimpleForm.java:24: cannot find symbol
    symbol  : variable JFrame
    location: class TestSimpleForm
         f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                                    ^
    13 errors
    Exited: 256

  • How to make a long animated button

    Hello
    Does anyone know how to make a animation on a button when you
    put your curser over or click the button longer then just a few
    frames. in other words to extend the over or down parts of the
    button animation.
    Thanks a lot.

    how about using attachMovie() to attach a bullet hole MC
    onPress. Just draw a png image, convert to a MC and then attach it
    at the mouse coordinates when clicked. although your 'can' should
    also be a MC button.

Maybe you are looking for

  • 2nd drive unformatted and not restored after attempting restore from a system image

    I created a system image, which included drive C (where Windows is installed) and drive G (where some installed Windows programs are located).  I then ran into a situation where I wanted to restore from the system image.  With my first attempt, this

  • Searching in Adobe Acrobat Pro XI

    I have found that the adobe acrobat pro xi does not do a good job on searching for keywords. I tested 1 document on acrobat 9 standard, X pro & standard and XI pro & standard. I searched the same word on all versions and every version worked except f

  • Cost of transport management system module ??

    Hello, I'm looking for an estimate on the implementation of an SAP Transport management module. Does anyone have a clue what this module cost ? And what time it takes to implement on an existing SAPR3 system ? Thanks

  • Gnome won't start for regular user

    I've got Xorg installed, and KDE.  These both work fine for regular users.  I decided to put Gnome on the box and play with it, and it loads fine for root.  When I log in as a regular user and try to start Gnome, it comes up with an ugly desktop, a s

  • Corrupted photo files in received emails

    Wonder if anyone is having a similar problem.  My wife and I each have a Gmail account.  The setup is that mail goes to an iPhone and a MacBook Air for me and an iPhone, an iPad and a MacBook Pro for my wife. When we receive some emails with photo at