Java problem
1
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();
}
}
2
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.
3
Name:
Anonymous
2007-09-30 22:38
ID:qXK2ZLvu
HOW DO I MONITOR OBJECT?
4
Name:
Anonymous
2007-09-30 22:42
ID:MvMfHpeL
5
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.
6
Name:
Anonymous
2007-09-30 23:04
ID:Og+eBZdX
Let's see:
HOW DO I ADDED LISTENER?
7
Name:
Anonymous
2007-09-30 23:12
ID:Heaven
sudo rm -rf java*
8
Name:
Anonymous
2007-09-30 23:25
ID:d62COXnG
Password:
9
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
10
Name:
Anonymous
2007-10-01 0:10
ID:lVKCKtwK
'sudo' is not recognized as an internal or external command,
operable program or batch file.
11
Name:
Anonymous
2007-10-01 0:51
ID:T6RClyVZ
>>6
YOU MEAN HOW DO I DO SYNCHRONOUS PROGRAMMING, FUCKTARD
12
Name:
Anonymous
2007-10-01 1:07
ID:TUj6x1rr
Are you serious? lrn2JOptionPane.showMessageDialog()
13
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
14
Name:
Anonymous
2007-10-01 8:29
ID:Vrbd2eBu
myButton.addListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
synchronized(this) {t.notify();
}
}
}
15
Name:
Anonymous
2007-10-01 8:31
ID:Vrbd2eBu
16
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.