hi, hear is some code that might help. haven't tryed running it from any command line yet. import java.util.*;
public class FirstProgram { public static void main(String[] args) { System.out.println("Hello out there."); System.out.println("I will add two numbers for you."); System.out.println("Enter two whole numbers on a line:"); int n1, n2; Scanner keyboard = new Scanner(System.in); n1 = keyboard.nextInt( ); n2 = keyboard.nextInt( ); System.out.println("The sum of those two numbers is"); System.out.println(n1 + n2); } }----- Original Message ----- From: "Jamal Mazrui" <empower@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Friday, January 11, 2008 10:08 Subject: Re: edsharp problems
I'd like to resolve these problems. The most helpful way to me is if you can specify reproduceable examples as much as possible. For example, what sequence of keystrokes seems to always produce the problem of Escape not exiting the menu system? I just tried with EdSharp and Windows Xp, and did not experience the problem. I do recall it happening occasionally though, and think it may be a JAWS issue that can be solved by Alt Tabbing to another application and then Alt Tabbing back. Can you post (or directly send me) a small code sample that illustrates the problem of brace counting? EdSharp makes the assumption that if the compiler produces no error messages, the compilation was successful, so it says "Done" as confirmation. This generally works as long as the .NET Framework finds the compiler on the Windows search path. Make sure you can compile the code on a command line. Then tweak the CompileCommand setting in the Configuration Options dialog (Alt+Shift+C) so that it matches the command line syntax that worked. It may be that the default setting references a library you are not using or that your code needs command line references that are not in the default setting. If you develop a default setting that works better for Java programming, please let me know and I will adjust the EdSharp settings accordingly. I do not know Java well, so the default setting is currently based on a small program I did. In case that is of interest, it is available at http://www.EmpowermentZone.com/j_fruit.zip Please also make sure you are using the latest EdSharp version and that you re-initialized the default settings with Alt+Shift+0. Let me know how it goes. Jamal On Fri, 11 Jan 2008, Alex Parks wrote:Date: Fri, 11 Jan 2008 10:49:44 -0500 From: Alex Parks <mehgcap@xxxxxxx> Reply-To: programmingblind@xxxxxxxxxxxxx To: programmingblind@xxxxxxxxxxxxx Subject: edsharp problems Hi all, i am trying EdSharp for the first time, on xp, and am having some problems. First, I cannot use escape to get out of the menus; I have to select something just to get back to my file. Second, I tried the brace counter thing (I had a .java file opened) and I was told that there were no left and 2 right, which is not correct at all; there are an even number of both and many more than 2. Finally, I tried the compile and was told it was done, but I have only a command line java compiler and this code will not compile yet. Why was I told that the compile was done, indicating success? Thanks for any help. Have a great day, Alex __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind__________ View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind