Article View: borland.public.jbuilder.java.language
Article #19046Re: Executing code in a window
From: Andrew Bennett [ Borland ]
Date: Tue, 17 Mar 1998 00:00
Date: Tue, 17 Mar 1998 00:00
30 lines
1633 bytes
1633 bytes
luvmusic@alum.mit.edu wrote: > > In Smalltalk, and VisualAge for Java (I think), you can go to a window, type > in some valid code, highlight it, right mouse button, and click on "execute" > to execute that code. Is there anything similar in JBuilder? It is an > excellent and very useful feature to have in order to quickly unit test any > code you have written without writing a test driver for it. > If your class can stand by itself, you can run it by itself from the IDE and not have to worry about a stub class or soemthing that loads it. But no, there's no way to highlight a few lines of code and have that run. Java doesn't quite work like that. Andrew -- Andrew Bennett abennett@borland.com Due to my workload, personal email more than likely won't get a reply. Support options are detailed at http://www.borland.com/devsupport/ I am unable to answer support questions via email at this time. Check http://www.borland.com/devsupport/jbuilder/ for FAQs and additional JBuilder support related help.
Technical Details
Message-ID:
<350EBA75.2AB84FBD@borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6em7ng$hq0$1@nnrp1.dejanews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,c43352af740830b0 X-Google-Attributes: gidf74b3,public From: "Andrew Bennett [ Borland ]" <abennett@borland.com> Subject: Re: Executing code in a window Date: 1998/03/17 Message-ID: <350EBA75.2AB84FBD@borland.com> X-Deja-AN: 334975340 Content-Transfer-Encoding: 7bit References: <6em7ng$hq0$1@nnrp1.dejanews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Borland JBuilder -- http://www.borland.com/jbuilder/ Newsgroups: borland.public.jbuilder.java.language