No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
All I want to do is have my GUI .java program compile code that the user specifies. [CODE] Process p = Runtime.getRuntime().exec("javac theirJavaFileName.java"); [/CODE] Whenever I run this, I simply get: [CODE] java.io.IOException: Cannot run program "javac theirJavaFileName.java" CreateProcess error=2, The system cannot find the file specified [/CODE] When I … |
|
Hey everyone, thanks for reading. Basically, I am using the netbeans GUI developer, and when I add a button on a jframe (We will call this JFrame1), I have the button create an object of type JFrame, called JFrame2. Now, JFrame2 contains a loading bar with updated progress information on … |
|
[CODE] private void depositButtonActionPerformed(java.awt.event.ActionEvent evt) { AdminLoginPage adminLogIn = new AdminLoginPage(users.get(accountNumber).userName, "deposit", users.get(accountNumber).balance, Double.parseDouble(depositAmountTextField.getText()), users); adminLogIn.setVisible(true); customUserDetails1.setText("Welcome " + currentUserName + "! You Have $" + (adminLogIn.getBalance()) + " Available."); depositAmountTextField.setText(null); } [/CODE] AdminLoginPage is a JFrame Constructor Class that displays a certain users account information and asks for an … |
|
Hey everyone, and thanks for taking the time to read my post. Basically, I have a JFrame called "loginPage", that, well, is a login page. If a user logs into this page with the correct credentials, a new JFrame object called accountDetails opens (Or is constructed). Now, Is there a … |