32,204 Topics

Member Avatar for
Member Avatar for princestasnley
Member Avatar for 7233trebor

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 …

Member Avatar for masijade
0
336
Member Avatar for Azeem Alam

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 …

Member Avatar for masijade
0
86
Member Avatar for jmasta

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 …

Member Avatar for jmasta
0
1K
Member Avatar for atularvin23184

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.

Member Avatar for ithelp
0
52
Member Avatar for nyczalex

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 …

Member Avatar for nyczalex
0
145
Member Avatar for dantheman3141

Where can I find some really good tutorials for starting to learn java? Thanks Dan

Member Avatar for dantheman3141
0
73
Member Avatar for TSRgeneral

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 …

Member Avatar for jwenting
0
126
Member Avatar for Java_P
Member Avatar for paydfody

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 …

Member Avatar for jwenting
0
120
Member Avatar for smacklby

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]

Member Avatar for peter_budo
0
106
Member Avatar for Rx7
Member Avatar for jopeter

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[] …

Member Avatar for jopeter
0
192
Member Avatar for snah1

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 …

Member Avatar for jwenting
0
133
Member Avatar for d_salil

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 …

Member Avatar for jwenting
0
69
Member Avatar for toadzky

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 …

Member Avatar for jwenting
0
114
Member Avatar for TCMIMS16

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 …

Member Avatar for ~s.o.s~
0
113
Member Avatar for ukankissthis

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 …

Member Avatar for peter_budo
0
137
Member Avatar for piers

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 …

Member Avatar for piers
0
170
Member Avatar for petzoldt01

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, …

Member Avatar for peter_budo
0
76
Member Avatar for galanshi

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 …

Member Avatar for jwenting
0
42
Member Avatar for ceyesuma

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. …

Member Avatar for sb7000
0
94
Member Avatar for Hyiero

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 …

Member Avatar for galanshi
0
119
Member Avatar for Gregory Mieczni

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 …

Member Avatar for iamthwee
0
99
Member Avatar for thejunkie

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 …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for itsjustme82

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

Member Avatar for masijade
0
118
Member Avatar for TCMIMS16

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 …

Member Avatar for jwenting
0
106
Member Avatar for #1Basser

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); …

Member Avatar for jwenting
0
83
Member Avatar for #1Basser

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. */ …

Member Avatar for #1Basser
0
101
Member Avatar for balagangadharm

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

Member Avatar for Paul.Esson
0
1K

The End.