32,204 Topics
| |
I am getting an error message "Exception in thread "main" java.lang.NoClassDefFoundError:Projectta import javax.swing.*; import java.awt.*; import java.awt.event.*; public class projectta extends JFrame { private static final int WIDTH = 400; private static final int HEIGHT = 300; private JLabel directionsL; private JtextField textTF, messageTF; private JButton submitB, resetB, exitB; private … | |
i need to create a basic drawing tool with basing drawing function 1:it can draw Rectanle,Circle,Line and i also want to select these shapes on mouse click. 2:it can draw picture and select it like regular shapes. 3:Upon selection i also want to move them within drawing area. 4:it can … | |
Hello folks, I have a program that uses a linked list to implement a stack to convert a string from infix notation to postfix notation, and then to evaluate it. Well, the conversion part works just fine, but I have encountered a problem when trying to evaluate it. In my … | |
hi Friends, i m serching a j2ee job.but i don't have a good projects.and it's url also...because many company asked abt the clients...plz send me as soon as possible.. thank u. | |
Hi, I'm quite new to the forums. This is my first year in this class so I have lots problems and is beginner. sorry about that. anyway, i am trying to look for help to help me with my next project which i need to due sometime next week.. I … | |
Where can I find some really good tutorials for starting to learn java? Thanks Dan | |
hello, I am a new to this site. I have been having trouble at school with my computer science class. Now i have an assignment due this Friday November 11,2007 and I need someone's help. I am in Intro to Java programming and i use Dr. Java. I am a … | |
Hello guys, Hope ur listening. I need my code to generate 6 random numbers for each line, instead of just 1. Furthermore, there should be no duplicate numbers on any particular line. So far I have gotten this code to print only a single number per line, so I need … | |
Help! I am losing my mind trying to display images in my JSP pages -- something that is rather simple, otherwise complicatied in JSP! Here is the code, what am I doing wrong?!?! [code] <img src"../images/situations/pic.gif" alt="pic" /> [/code] | |
hi i have wrote this progaram in java. it finf the palidrome numbers and print it. its by threads it has some errors and i can t run it. please help me. package palindromen; import java.lang.Integer; import java.lang.String; public class Main { public Main() { } public static void main(String[] … | |
Hello! I have problems saving values from checkboxes in the database. My jsp page contains several checkboxes (representing values from a static database table). When I choose one or a few checkboxes in my jsp, the values are passed to my SimpleFormController and they should be saved through the onSubmit … | |
I am working in windows xp i want to create a java application that will go to our server which is linux server(Red hat) stablish a connection between both system.Login into the that system read a file do some operation execute some commands and take a file a send it … | |
Here's the backstory real quick: Class project in my java class to write a program to help the lab assistants manage the students who need help. Trying to use a PDA in the project. Here's the question: How do you get JVM and .jar files to run on a Dell … | |
Ok, I made some changes. I am down to 1 complilation error and I can't figure out what to do. Here is the error message: C:\Documents and Settings\Triffee\My Documents\Math316.java:87: reached end of file while parsing } //end CountPlusFive method ^ 1 error Tool completed with exit code 1 [COLOR="Red"]I have … | |
Ok, I am getting 2 errors on line 65 it says class or interface expected and again on line 65 saying { expected. The assignment is to Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number … | |
this is the homework I have to do [QUOTE] This homework is due in week 3. You must work on the program outside the formal laboratory sessions. The program must be ready to be executed at the start of the scheduled laboratory session. Remember you may be asked to explain … | |
I currently have a small Java project on my local setup (Im using Tomcat). I want to get this out on the internet, but not many hosts offer Java. Im not really looking for the cheapest host out there, but Im not very rich either. I just want something reliable, … | |
Hello: I am working with the Lempel Ziv algorithm which is a data compression algorithm. I have to read text from an input file and create a dictionary and a sequence of code numbers. Then I have to decode the generated sequence of numbers and generate the original text. I … | |
Could someone find an obvious reason this while loop performs once and then breaks? I don't think the condition on the while loop is dropping it out. I must be when I call the formatted writers but I 'm not sure how to make it stay in the while loop. … | |
Well I did not have a problem with my last program assignment which involved me making the Student class that I attached below, But in my new assignment i have too Write a program that will use the Student class developed in the previous assignment to provide a menu-based interactive … | |
Hi, I am relative new to Swing development, so please be patient... I have created a scrollable table and would like to add (at runtime) a JComponent (for example a chart linked to the table) that would sit on top of the table and would also scroll aong with the … | |
I'm new at Java and I'm tryin to create a Login screen that prompts the user to enter a username and a password and then allows them into the program. Is it true that I cant use the "switch" on a string and only if else statements? If it is … | |
Hi I want to implement a program where client sends a file to server and server displays the message from the file. I have attatched my java files for reference | |
What in the world am I doing wrong? Can someone please help me. I am especially lost on the last method. I am supposed to use two classes to perform one of three math operations depending on the user's choice. Use if statements to allow the user to choose which … | |
I am newer to java and working with JFrame for the first time. This is what I have wrote so far. import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; public class contact extends JFrame implements ActionListener { public contact() { ImageIcon usIcon = new ImageIcon("image/usIcon.gif"); JTextField First = new JTextField(10); … | |
I am new to java and having issues. package components; import java.awt.*; import java.awt.event.*; import javax.swing.*; /* FrameDemo.java requires no other files. */ public class ContactApp { /** * Create the GUI and show it. For thread safety, * this method should be invoked from the * event-dispatching thread. */ … | |
hi everyody,i need ur help.I am able to send subject and text as mail to the recepient but iam unable to send hyperlinks in th text.plz suggest me how to send |
The End.