Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!

Bart Sullivan

Greenhorn
+ Follow
since Feb 28, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bart Sullivan

Hi there, I'm trying to use the Runtime class to do some compiling. The following code works fine under a windows environment but not under linux. Any suggestions?
public static void main( String args[] ){
Runtime r;
r = Runtime.getRuntime();
try{
r.exec("javac /home/bart/vf/*.java");
}catch (Exception e){System.out.println(e);};
}

Thanks
BArt
22 years ago

Originally posted by Paul Wheaton:
I've removed and added stuff in applets. But I'm not using Swing, just the AWT. That shouldn't make a difference. If you are using a layout manager, you might need to force the layout manager to reshuffle stuff.


So if I have:

Panel panel;
Button button;
later on in the code...
Panel.add(button);
Panel.remove(button);
These should both work with a Panel.repaint(); ??
22 years ago
could someone post the simplest code for getting a swing applet up and running under netscape? I know it's something to do with < embed >.
Thanks,
BART
22 years ago
Hey gang, great site eh?
I'm trying to change the content of a panel, depending on the user's choices throughout their stay in my applet.

Is there a way to add/remove buttons, jtables, and lists in a panel after the panel has been initialized? So far I can remove but not add...
thanks for any help.
Please email me.
Bart
22 years ago