Search:

Type: Posts; User: amahara

Search: Search took 0.07 seconds.

  1. Replies
    2
    Views
    11,499

    Re: how to destroy JPanel?

    thx for the answer copeg, i tried what u suggested by adding JPanel(x) to JPanel(y)
    however, the JPanel(y) did not draw it self in JPanel(x) :confused:, so im still stuck with my old way of calling...
  2. Replies
    4
    Views
    2,691

    Re: need help with Timer and sound

    well once again i thank u for your explanation :D
  3. Replies
    2
    Views
    11,499

    how to destroy JPanel?

    i know maybe this is a very easy question,
    but until now i still unable to destroy a JPanel

    here is my problem, i have a Menubar, and a JPanel inside a JFrame,, what i want is everytime i click...
  4. Replies
    4
    Views
    2,691

    Re: need help with Timer and sound

    thx for the explanation copeg :D,
    so java need to create new separate thread to handle multiple task at once

    btw what happens with the created thread after it finished it's task?
    will it stay in...
  5. Replies
    4
    Views
    2,691

    need help with Timer and sound

    hey everyone,

    can someone help me on this problem
    i have a Timer and a JButton in my application, and everytime i click on the button
    it will play the sound file, however everytime it play the...
  6. Replies
    5
    Views
    9,360

    Re: need help with ActionListener,JPanel,JFrame

    wow, thanks for your explanation copeg, this solved the problem :D
    :D:D:D
  7. Replies
    5
    Views
    9,360

    Re: need help with ActionListener,JPanel,JFrame

    thanks for the info copeg, i tried using pack() as you suggested, but somehow it resize my JFrame dimension
    so can i stop it from resizing itself?

    and just a quick question, can i use KeyListener...
  8. Replies
    5
    Views
    9,360

    Re: need help with ActionListener,JPanel,JFrame

    never mind, i already find out that im missing JFrame.show();
    under JFrame.add(new AL_test());
  9. Replies
    5
    Views
    9,360

    need help with ActionListener,JPanel,JFrame

    hey everyone,

    can someone help me on this problem
    this is the problem, i have one instance of JFrame that implements an ActionListener
    and from this JFrame i need to call one instance of JPanel...
Results 1 to 9 of 9