32,204 Topics

Member Avatar for
Member Avatar for rakheeindia

plz help me in resolving a error:applet started:applet not initialized [code=java] import java.awt.*; import java.awt.Button; import java.awt.Label; import java.awt.TextField; import java.applet.*; import java.applet.Applet; import java.awt.event.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; //<applet code="prg9.class" height=600 width=500> </applet> public class prg9 extends Applet implements ActionListener { String str=" "; TextField tf[ ] = new …

Member Avatar for rakheeindia
0
74
Member Avatar for Jishnu

Hello, I've downloaded the setup of Netbeans-6 IDE JavaSE for Windows from Sun's website. When I run the setup, it says, "Error starting program: A required .DLL file, USERENV.DLL, was not found". Has anyone faced this problem before? Please guide me.

Member Avatar for jbennet
0
117
Member Avatar for smartdetect

v got a final year proj. which reqs us to build a network monitoring kinda tool initially we are just planning to do a basic boot failure detection of the client m/cs....atleast for this semester....then add better functionalities to it. 1) can anyone suggest how do v go about doin …

Member Avatar for ddbhai
0
167
Member Avatar for ushi324

Hi All, Please tell me a good research idea to do a good project for my final year within 6 months. This is for my BSc Software Engineering degree. Its going to be an individual project and it would be great if its a research idea. :S I'm good in …

Member Avatar for manishmannan
0
112
Member Avatar for vortex24

Hi, I am working on code to have a drop down menu from which you can pick items and add a button with that course. Unfortunetally, I can't get the button to display. And help is greatly appreciated. [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; public class ComboBoxFrame extends JFrame { …

Member Avatar for BestJewSinceJC
0
90
Member Avatar for StarZ

I'm supposed to merge a ordered data of two files into a third file, keeping the data in order. I'm suppose to create a MergeFiles application that merges the integers ordered from low to high in two files into a third file, keeping the order from low to high. Then …

Member Avatar for BestJewSinceJC
0
100
Member Avatar for whiteyoh

Hi all, Im trying to get my head around object persistance, yet im getting nowhere. All i have found is examples of stuff to do with databases. Can somebody offer an explination for an idiot please. Regards Paul

Member Avatar for kvprajapati
0
161
Member Avatar for chandini.david

Hey!! I am trying to make a 2-player game; where one player plays after the next. I have used socket programming in the code; so that, when the client (player 1) clicks on the window, the co-ordinates are sent to the server (player 2) and vice-versa. (For now, both player …

Member Avatar for chandini.david
0
211
Member Avatar for gotm

So one of the problems I have been having with my programs is the length of time it takes to print out a pixel map into the XPM file. I tested it with like : 500 rows and 2 columns -- 1 second 500 rows and 10 columns -- a …

Member Avatar for BestJewSinceJC
0
115
Member Avatar for sravan953

Hey All, I have been asked to do a project on Java at school. We are still learning it at an elementary level... Many decided to do the project on things like ticket booking, banking and stuff... whereas I wanted to do something innovative and so decided that my topic …

Member Avatar for BestJewSinceJC
-2
322
Member Avatar for tom.t

I have been asked to find the inefficiency in a piece of pseducode. I've looked at it but can't see it. IF count > 10 THEN WHILE x < 0 DO INPUT x ENDWHILE ENDIF My understanding: Count is evaluated. If count is <10, the app moves onto the next …

Member Avatar for tom.t
0
127
Member Avatar for kolibrizas

Hello, I am having a difficulty in passing a barrier of JAVA graphics generating. I hope you could explain some things to me, cause I have noone to help me and it is hard to get help in internet, because I feel like missing something important. The thing is I …

Member Avatar for kolibrizas
0
130
Member Avatar for kjiu

Hello, I have a problem.How I must add QMainWindow to my code, because the error is: [COLOR="Red"]Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method menuBar() is undefined for the type Calendar[/COLOR] [CODE]package Kalendarz; import com.trolltech.qt.gui.*; import com.trolltech.qt.core.*; import com.trolltech.qt.gui.QMenu; import com.trolltech.qt.gui.QAction; import com.trolltech.qt.gui.QApplication; import com.trolltech.qt.gui.QColor; import com.trolltech.qt.gui.QIcon; import …

Member Avatar for kjiu
0
139
Member Avatar for krusso88

For a computer networking course I was given a project to make a Mail User Agent. We were given a few completed classes, but one of them is giving an error. Here is the part of code in question: [CODE] try { Envelope envelope = new Envelope(mailMessage, serverField.getText()); } catch …

Member Avatar for santiagozky
0
191
Member Avatar for Clawsy

Hello, I am trying to design an java desktop application. My question is: Is there a way to change the whole look? From example different titlebar, different jFrame, buttons... (designed with PNG images, transparency, etc.). Is it possible? If so, how? In VB or C# I can easely change those... …

Member Avatar for Clawsy
0
818
Member Avatar for abalasuriya

[CODE]public class Test { static Test t = new Test(); public static void main(String[] args) { Test a = new Test(); System.out.println(a.t); }}[/CODE] This results stack overflow why[code][/code]

Member Avatar for MoZo1
0
114
Member Avatar for santiagozky

Hello everyone, first of all, I dont know if this should be in the java or the jsp forum. I put it here since is a web related question. I am making a report module for a web page using java. For this I will use a jquery plugin called …

Member Avatar for santiagozky
0
152
Member Avatar for hanzooi

[IMG]http://i64.photobucket.com/albums/h200/chimine/Untitled-2.jpg[/IMG] it will then pop up this screen. [IMG]http://i64.photobucket.com/albums/h200/chimine/Untitled1-1.jpg[/IMG] how to do it?

Member Avatar for hanzooi
0
111
Member Avatar for rameshnerella

i am new to this kind of programming. please help me,. i got an IP address (32bits) & 3 int (32 X 3 = 96bits) totaling for 128bits i.e., 16bytes. my problem here is, how to club them all together to create a 16byte string. please help. thanks in advance

Member Avatar for mruthyunjaya
0
146
Member Avatar for roshnal

I have made a address book software with vcard ans csv support and a really nice interface. i have found no bugs so far. If i sell this software about how much should i charge? And does anyone know a site where i can get paid for my software?

Member Avatar for javaAddict
0
224
Member Avatar for jrosh

I did this .. [CODE] String filename = "tempoutfile.txt"; String tablename = "table1"; try{ Connection con = DriverManager.getConnection("jdbc:mysql://localhost/Test","root",""); Statement s=con.createStatement(); ResultSet r=s.executeQuery("SELECT * INTO OUTFILE '"+ filename + "' FROM " + tablename); }catch(SQLException se){System.out.println(se.getMessage());}[/CODE] But I can't find the file that is created!! When I run the query in …

Member Avatar for masijade
0
370
Member Avatar for Sandar Khin

Hi all, Pls help me .I want to make multile JLabel or JTextField with multiple Link in Marquee.I can do only one.Here is my code [code=java] import java.awt.*; import java.io.IOException; import java.util.*; import javax.swing.*; import java.awt.event.*; public class MovingText extends JFrame implements ActionListener{ JLabel label; JLabel label2; JLabel label3; public …

0
138
Member Avatar for Ryujin89

I am trying to create a program that has a class with a method that accepts a charge account number as an argument. Then the method should determine if the account number is valid by comparing it to the list of accounts in a text file (Accounts.txt). Then method should …

Member Avatar for BestJewSinceJC
0
1K
Member Avatar for StarZ

I'm supposed to merge a ordered data of two files into a third file, keeping the data in order. I'm suppose to create a MergeFiles application that merges the integers ordered from low to high in two files into a third file, keeping the order from low to high. Then …

Member Avatar for BestJewSinceJC
0
415
Member Avatar for LKH

how to create a mutlipication table in java program for example: enter x=5 enter y =6 output is: 1*6=6 2*6=12 3*6=18 4*6=24 5*6=30

Member Avatar for eggmatters
-3
190
Member Avatar for geek_till_itMHZ

I have a Java Program that I need to create that will show five random images selected form my image folder of 50 images. upon clicking a button the program should select 5 new random images. I have most of it figured out except for my ActionListener. Is it possible …

Member Avatar for Ezzaral
0
160
Member Avatar for jakx12

Ok so what i want to be able to do is connect to a mysql database. Here's my code so far: [CODE] Connection connection = null; try { // Load the JDBC driver String driverName = "postgresql-8.4-701.jdbc4.jar"; // MySQL MM JDBC driver Class.forName(driverName); // Create a connection to the database …

Member Avatar for masijade
0
525
Member Avatar for treyd

I have to write a program that has a tic tac toe board. When you click it, it should go from one image to another. My code compiles fine, but it doesnt run. I get some errors: Exception in thread "main" java.lang.NullPointerException at TicTacToe3.<init>(TicTacToe3.java:27) at TicTacToe3.main(TicTacToe3.java:41) My code: [CODE]import java.awt.*; …

Member Avatar for treyd
0
125
Member Avatar for jko2326

I have my program working but, I need to cut out the repeated code. How do I change this part of my code to pass arguments to a user defined method? I'm lost. I really have no clue exactly where to start on this. Basically when a user clicks a …

Member Avatar for jko2326
0
141
Member Avatar for GradStudent

I am a beginner with Hibernates. I added the appropriate files / Jar to my Project in netbeans ide 6.7.1. My Hbm file has multiple <class> </class>.. and i get this error. errororg.hibernate.InvalidMappingException: Could not parse mapping document from resource Customer.hbm.xml Was wondering this issue is associated with multiple <class>tags.

Member Avatar for GradStudent
0
90

The End.