Search:

Type: Posts; User: SyntheticD

Search: Search took 0.31 seconds.

  1. Replies
    0
    Views
    408

    Why Graphics objects don't overlap.

    class FirstDrawPanel extends JPanel
    {
    public void paintComponent(Graphics g)
    {
    g.setColor(Color.WHITE);
    g.fillRect(0, 0, this.getWidth(), this.getHeight());...
  2. Replies
    5
    Views
    737

    Re: Button Won't Stop Animation.

    Any theories on the "somehow" part.. I had some code in there, but when I clicked the button, it freezed. That's why I removed it.
  3. Replies
    5
    Views
    737

    Button Won't Stop Animation.

    package four.work.course;

    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Graphics;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    // import java.util.Random;
    ...
  4. Replies
    3
    Views
    620

    Re: Stopping Graphics Animation.

    I tried that, but when the button is clicked to stop the animation, program "freezes"
  5. Replies
    3
    Views
    620

    Stopping Graphics Animation.

    protected void retrace(boolean check)
    {
    while (status == true)
    {
    for (counter = LOOPBACK; counter <= frameCW4.getWidth(); counter++ )
    {
    for (counter = LOOPBACK; counter <=...
  6. Replies
    5
    Views
    488

    Re: Runtime Error

    Hey,

    but I get this, same codes..
    I'm using Eclipse, there's a link above to the results Im getting.
  7. Replies
    5
    Views
    488

    Misbehaving JFrame, JButtons, when button has been clicked.

    problem solved.
  8. Replies
    4
    Views
    416

    Re: Interaction between components.

    Wrong post.
  9. Replies
    4
    Views
    416

    Re: Interaction between components.

    What you told me, gives me expected behaviour.. but.. when the button is clicked, another button pops up, and I now have two buttons. Why is that ?
  10. Replies
    4
    Views
    416

    Interaction between components.

    problem solved.
Results 1 to 10 of 10