Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Java problem

Name: Anonymous 2007-09-30 22:30 ID:vwW1/T2w

Ok here is some sudo code is this actually possible to do in Java. And if so how thanks.

Class FooBar{
foo(){
       mybutton = new mybutton();
       while (true){
 someMeathodTopauseLoopUntilActionPerformedIsCAlledINMyButton();
       print(hi);
       }
    }
}

Class myButton{
   ActionPerformed(){
       restartLoopInFooBar();
   }
}

Name: Anonymous 2007-09-30 22:36 ID:Heaven

Who the fuck cares? It's Java. Go fag up some Java board with your pointless stupid dickery.

Name: Anonymous 2007-09-30 22:38 ID:qXK2ZLvu

HOW DO I MONITOR OBJECT?

Name: Anonymous 2007-09-30 22:42 ID:MvMfHpeL

>>1
pseudo

Name: Anonymous 2007-09-30 22:45 ID:Heaven

>>4
Fuck. And I was hoping for some enlightening discussion of the sandbox, capabilities versus ACLs, confinement, fault isolation, that sort of thing.

j/k, Java is too shitty to do this stuff.  I'm waiting for Coyotos, I suspect I'll be able to run Duke Nukem Forever on it.

Name: Anonymous 2007-09-30 23:04 ID:Og+eBZdX

Let's see:

HOW DO I ADDED LISTENER?

Name: Anonymous 2007-09-30 23:12 ID:Heaven

sudo rm -rf java*

Name: Anonymous 2007-09-30 23:25 ID:d62COXnG

Password:

Name: Anonymous 2007-09-30 23:51 ID:vwW1/T2w

OP here. tear tear. No help. Oh well someone else directed me too http://java.sun.com/j2se/1.4.2/docs/guide/misc/threadPrimitiveDeprecation.html
no luck still though

Name: Anonymous 2007-10-01 0:10 ID:lVKCKtwK

'sudo' is not recognized as an internal or external command,
operable program or batch file.

Name: Anonymous 2007-10-01 0:51 ID:T6RClyVZ

>>6
YOU MEAN HOW DO I DO SYNCHRONOUS PROGRAMMING, FUCKTARD

Name: Anonymous 2007-10-01 1:07 ID:TUj6x1rr

Are you serious? lrn2JOptionPane.showMessageDialog()

Name: Anonymous 2007-10-01 7:59 ID:Heaven

class FooBar {
    void foo(){
        final Thread t = new Thread() {
            public void run() {
                while(true) {
                    synchronized(this) {
                        wait();
                    }
                    print(hi);
                }
            }
        };
        myButton = new MyButton();
        myButton.addListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                synchronized(t) {
                    t.notify();
                }
            }
        }
        t.start();
    }
}

ENTERPRISE QUALITY

Name: Anonymous 2007-10-01 8:29 ID:Vrbd2eBu

        myButton.addListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                synchronized(
this) {t.notify();
                }
            }
        }

Name: Anonymous 2007-10-01 8:31 ID:Vrbd2eBu

>>14s/\<t\>/this

Name: Anonymous 2009-03-06 8:45

Java i ahev a   long doc and   i make programs   wF my API   if you dont   even have Console   in front of   all your friends   btw IM the   best i have   a dream that   all things can   be better implemented   with goto than   a bunch of   assholes trying to   code the most   elegant solution for   this in Java   you can use   glDrawPixels to draw   some triangles on   the screen Well.

Don't change these.
Name: Email:
Entire Thread Thread List