32,199 Topics
| |
The goal of the project is to calc based on age and gender there rental rates for cars. but something is going terribly wrong T-T. I am receiving the following errors in homework for java class. ----jGRASP exec: javac -g RentalRate.java RentalRate.java:112: error: illegal start of expression public static String … | |
My project scope is on android forensic. 1. After extracting all the information from an android phone, the information is saved to an excel file. Currently, I'm trying to transfer all the data saved in the excel file to MySQL database in Java. 2. After which, implement a feature that … | |
Hello, I have a small issue. I am encrypting the data in J2ME using DES. When I send the data to the server, the encrypted text which has special characters is changed into "?" (question mark) and because of this the decryption doesnt work, it gives bad padding exception. How … | |
I'm working on a homework my OOP class and I just can't figure out this last part. The assignment calls for us to write five different classes with parent class StaffMember. I'm pretty sure I've that at the subclassess (Volunteer, HourlyEmployee and FullTimeEmployee) correct so I'm not going to post … | |
Hi co-programmers, We're currently doing a simple conversion of a jsp to java format. I think we we're able to somehow force our way for a java program to hold our jsp program, but unfortunately we are having a slight problem. We're getting this exception: Exception in thread "main" javax.script.ScriptException: … | |
| I have problem with selecting text, In this code it only selects one and finds one, hot to make it to find more? [CODE]public void actionPerformed(ActionEvent e) { if(e.getActionCommand().equals("ResetAll")) { area.setText(""); search.setText(""); found.setText("0"); } else if(e.getActionCommand().equals("Exit")) { JOptionPane.showMessageDialog(frame, "Good-Bye","218 HW #5", JOptionPane.INFORMATION_MESSAGE); System.exit(0); } else if(e.getActionCommand().equals("Clear")) { area.setText(""); } else … |
I'm planning on developing a call center/call tracking software for an IT helpdesk for my Final year project. The system should: 1. Auto-generate ticket numbers 2. have a database of users (agent just puts in ID number and the rest of the fields populate) 3. Be able to search for … | |
| I have problem with do while loop I need something like this [CODE] What do you want to do? 1 Create a new account 2 Deposite funds 3 Withdraw funds 4 Show Balance 5 Show Interest 6 Show Summary 7 Quit Enter Option: 2 Which account <1 to 2> do … |
I'm working on a program for an intro to java class and am supposed to use the following interface: [CODE]public Interface Animal{ //The animal is first supposed to "speak" and then it gets to eat //As long as the food supply lasts public void feed(); //The animal eats public void … | |
Caused by: org.apache.maven.artifact.installer.ArtifactInstallationException: Fa iled to install artifact com.jarus:AndroidAgentApp:apk:0.0.1-SNAPSHOT: C:\Users\ Sarath\mavendependencies (Access is denied) at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(Default... what does this mean? i am trying to install a new dependency for my android project. | |
I need to create a print statement as "n" is being popped from the stack, just like I have one for when it is being pushed on to the stack. I understand what is happening on that final return when in the base case, but I don't know how to … | |
Hi! My project has two text file:input and output java.util.NoSuchElementException: No line foundread exception Exception in thread "main" java.lang.NullPointerException at java.io.Writer.write(Writer.java:140) at nfa2dfa.NfaToDfa.OutputFile(NfaToDfa.java:217) at nfa2dfa.Main.main(Main.java:30) I don't know what they mean?! | |
I am building a GUI for school, aside from the coding issues (that I can't figure out). I need to add a logo of a planet. I found a cute little pic, resized it and downloaded it to my computer. Got it uploaded to Netbeans ...but I can not figure … | |
Hello. I'm currently a 10th grader who's been sitting in front of the computer for hours trying to figure this assignment out. First, my teacher gave me a reverse integer problem. He wants us to reverse the numbers `12345, 10001, 1200, and 5`, and display in in the output. The … | |
[code]import java.sql.*; public class GetAllRows{ public static void main(String[] args) { System.out.println("Getting All Rows from a table"); Connection con = null; String url = "jdbc:mysql://localhost:80/"; String db = "Flights"; String driver = "com.mysql.jdbc.Driver"; String user = "root"; String pass = "pass"; try{ //Class.forName(driver).newInstance(); con = DriverManager.getConnection(url+db, user, pass); try{ Statement … | |
I have written a class to read a text file and write the data into a 2D array of max records x 12 fields. Now that I have this working, I need to be ablel to call this array from my other classes to perform different tasks on the data. … | |
Hello everyone! I am new to this forum and a beginner programmer. I wish to develop a small social networking site using JSP/Servlet and other useful java technologies. Your help is needed a s I am not much aware of the SDLC process. Need your help starting from the basics … | |
Hello Everyone, Am facing problem am using RAD IDE, Java Version 1.6.0_30 from Sun Microsystems Inc. the program are executing successfully and showing output in IDE. But when am trying to compile the program outside the IDE the java program compiling the program and generating .class file but it is … | |
Hey Does anyone know a good tutorial to understand web services under Java using WSDL? Most are pretty confusing and at the end offer no source sample code to test it out. Thanks | |
how can i add components to Jpanel from another class | |
Hey guys, right now I have an Employee style java program that is basically for adding Employee data to a .txt file, I have all of that down pat, I have also got my program to automatically set the highest ID + 1, so I don't have to find the … | |
The attached image is the example of .xls file that I want to import those data to mysql database using Java. Any help I get will be very much appreciated. | |
Hi, in my java project Employee Payroll, I am supposed to include a Ideal-Time window and maintain log for that ideal time for particular Employee... On the basis of which salary deduction or bonus to the employee will be calculated... For maintaining log, we will need JDBC; but for creating … | |
i got a problem whenever i give the username of less than 4 character in java GUI then tha userlist from python server is regularly updating my UserList textField in JAVA GUI but when the character exceeds more than 3 that UserList textField is not updated rather the user list … | |
Hi, I am using NetBeans as my IED to make game in JAVA i want to make a line on left hand side this is the code i wrote: Body staticplatform = new Body (world, PolygonShape.makeBox(50, 7), Body.Type.STATIC); staticPlatform.setPosition(new Vec2(-0, -200)); how can i make this line on right hand … | |
Hello, I have an 'Add' method that validates JTextFields to ensure data has been entered into them as well as checking that certain fields only contain digits. This works perfectly for my add method. But when I try to import it into my 'save' method which is seperate to the … | |
Hey, I was having trouble making my vector print out randomly generated numbers in ascending order. Can I please get some help?. This is my assignment "Write a program name count.java that will use a Vector to store 10,000 randomly generated numbers (ranging from 1 to 99) Now sort the … | |
example i will enter timein: 1:30 timeout: 5:00 how to know their time difference?in timeformat or how to accept a timeformat input from the user | |
Is there is any way or method to get the content of pdf row by row/line by line which help to convert pdf to word using itext api?????????? | |
I want to run an exe file in my project. I mean when I run my codes,a specific executable file run. How can I do that? |
The End.