From: Charles R. <creis@u.washington.edu> - 2004-03-25 03:14:00
|
Has anyone replied to your other questions yet? I apologize if not.. Mark Guzdial wrote: > If one has runaway code (e.g., infinite loop) in DrJava, is there any > way to stop it (short of aborting the application)? Yes-- just click the Reset button on the toolbar (or choose "Reset Interactions" from the Tools menu). This will abort any code running in the Interactions Pane without forcing you to quit DrJava. > Setting the class path in DrJava from the Preferences is great -- no > messing with system/shell variables! But we have had a few interface > problems with it: > - I found that I have to select the folder that I want to include from > the parent folder. If I enter the desired folder and then select the > folder, the folder name appears twice in a non-existent path, e.g., > "C:\Documents and Settings\Mark Guzdial\My Documents\java-code\java-code" This is partially due to some quirky behavior in Sun's Swing library, but there might be ways to improve how DrJava handles this situation. Folks at Rice-- can you look into this? > - I have found strange behavior (and maybe this is just Java and not > DrJava) in that sometimes, I can choose the folder where the .jar files > live, and other times, I have to select the specific .jar files. For > example, I am using the JMusic package with DrJava. I had to exactly > specify "D:\jmusic\jmusic.jar" to get DrJava to find the jmusic.jar > file, but the instruments were find-able with "D:\jmusic\inst\" I > haven't figured out when I need to do each. Yes, as Corky mentioned, .jar files always need to be specified by name, while .class files are specified by the folder containing them. Hope that helps, and sorry if this is redundant! Charlie |