Search:

Type: Posts; User: tabutcher

Search: Search took 0.37 seconds.

  1. Replies
    1
    Views
    1,280

    Thread Sleep, Timer, Button Question

    hiya guys,

    At the moment I'm using thread sleep to pause the timer but this will also make the buttons unresponsive during the time the thread is asleep. Is there a simple way around this??? Any...
  2. Replies
    2
    Views
    1,801

    passing string into method

    hiya,

    briefly what i want to do is pass a string into a method and use a variable holding the string in place of the string itself.



    public void actionPerformed(ActionEvent e)
    {...
  3. Replies
    0
    Views
    499

    Basic Animation

    hiya,

    could someone post a short applet code demonstrating the use of a swing timer to move a square bit by bit across the screen . Or point me to a basic tutorial.

    thanks
  4. Replies
    4
    Views
    1,540

    Drawing circles with smoother lines?

    hiya,
    just like to get some information on drawing circles.
    the output from the code below displays a circle but the lines are broken.

    thanks



    import java.awt.*;
    import javax.swing.*;
  5. Thread: JButton help

    by tabutcher
    Replies
    4
    Views
    3,298

    Re: JButton help

    thanks you helloworld922
  6. Thread: JButton help

    by tabutcher
    Replies
    4
    Views
    3,298

    Re: JButton help

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.applet.*;

    public class JButtonTest extends JApplet implements ActionListener
    {
    JButton btn1, btn2, btn3;...
  7. Thread: JButton help

    by tabutcher
    Replies
    4
    Views
    3,298

    JButton help

    hi,
    I've run into a problem with JButtons. When the applet runs the buttons are not visible until there is a mouse-over, if you resize the window the buttons disappear again until you put the mouse...
  8. Replies
    2
    Views
    4,379

    Re: applet menubar

    thanks
    much appreciated :)
  9. Replies
    2
    Views
    1,066

    Re: radio buttons stop working

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.applet.*;

    public class Digit extends JApplet implements ItemListener, ActionListener
    {
    int digit, length;...
  10. Replies
    2
    Views
    1,066

    radio buttons stop working

    hi,
    I've just noticed a problem while testing my app.
    I have a set of radio buttons that change the text color when it is clicked but noticed they stop working when I click on restart from the...
  11. Replies
    2
    Views
    4,379

    applet menubar

    hi,
    how do i create a menubar for an applet?

    thanks
  12. Replies
    0
    Views
    964

    Simple Input Dialog Question

    Hi,
    would like to know how to limit an input dialog box to except only one character. For example if you type '3' any further input after that will not occur.

    thanks in advance
Results 1 to 12 of 12