32,204 Topics
| |
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 … | |
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. | |
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 … | |
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 … | |
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 { … | |
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 … | |
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 | |
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 … | |
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 … | |
| 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 … |
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 … | |
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 … | |
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 … | |
| 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 … |
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... … | |
[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] | |
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 … | |
[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? | |
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 | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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.*; … | |
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 … | |
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. |
The End.