31,001 Topics
|
|
Hello, I want someone to comment off the following coding so that I can produce appropriate javadocs. Thanks. Here's the coding: import java.awt.*; import java.awt.event.*; import java.awt.geom.Ellipse2D; import java.util.Random; import javax.swing.*; public class ShellGame extends JPanel implements ActionListener { final int ROWS = 10; final int COLS = 10; final … |
|
hi, i need some help with this black jack game. it has a server and a client part. the server is supposed to handle the cards and be automatic, and the client is handled by the user. i want the server to shuffle the deck at the beginning, and when … |
|
I'm pretty new to Java and GUI programming, so I have been looking at Swing for GUI programming and I have been looking at javazoom's projects for audio references. I'm currently working on creating a progress/seek bar in Swing however I'm not really sure what I should set the max … |
|
Where is a good place to start learning about Java? The tutorials are no help to me, because I know nothing about Java. Please help me out. |
|
I'm a little confused about plug-ins like Tritonus and the JMF. Do plug-ins have to be installed on the user's computer to actually run the program? Are they like libraries that can simply be imported (like JLayer)? And what about Java Sound SPI (like those by Javazoom) do they work … |
|
public class Generator { static Random rnd= new Random(); private static void generator() { double zahl = 0; double min = 0.0;// minimum number double max = 1.0;// maximal number int x = 0; // number of numbers you want to output System.out.print("How many numbers: "); x = Eingabe.liesInt(); //User-input … |
|
I try to run but I don't can. > write a Java Program that calculates the length of a hypotenuse of a right > triangle.the method should take two arguments of the double and return the hypotenuse as double. import java.io.*; public class Hypotenuse { public static void main(String[] args) … |
|
Hi everyone, i am building a secure online voting system for my project, i really need some tips on how i can go about encrypting the information stored in a database which contains the votes submitted by the candidates. I was told by my project supervisor to try and implement … |
|
hi, How many libraries does java has for gui part of an application? I know about 2 of them, swing and AWT, but I dont knw the difference between the two? thanks :mrgreen: |
|
|
Hi, I so close to getting this to work. Basically, I trying to wrap my program up in a jar file. So that wen i doulbe click it, it executes. Much like c/c++ programs do. I can jar it up from the command line, but when i double click it … |
I try to run this program but I don't can. write a Java Program that calculates the length of a hypotenuse of a right triangle.the method should take two arguments of the double and return the hypotenuse as double. import java.io.*; public class Hypotenuse { public static void main(String[] args) … |
|
I have a weird question. I'm trying to access a .txt file from a java applet, which would reside locally. When running this with the applet viewer, everything works fine. When you click on the .html file, however, you get an accesscontrolexception. I find it weird that the applet viewer … |
|
Hi, I m Sushanti here. I m doing a project for making and receiving telephone calls through PC. I have connected my telephone to my PC's full duplex voice enabled modem. I m using javax.comm package for the same. The problem i m facing is that i m able to … |
|
Hello, im new to this forum. I have an assignment for class that I am really confused with, please can you guys take a look and help me with the code or point me in the right direction, I am not asking anyone to do it for me...I ofcoarse wouldn't … |
|
I have a JTree, the renderer uses JLabels. If I setOpaque(false), then I get display issues with highlighting tree nodes/leafs, so I keep the rendering of the jtree opaque. I'd like to display an image for the background and have the text from the jtree elements displayed over top of … |
|
hi everyone, say i have three text boxes in jsp form. and i want them to be written in database row by row, how would that be done? thank you ps I posted it here because nobody is answering it in jsp... |
|
Hi Everyone, I'm trying to create an instant messaging program, but for some reason the client and server won't connect. My code is below. Thanks in advanced for helping me. By the way, the client and server program are one in the same. A radio button gives you the option … |
|
i have a bunch of images 1.jpg, 2.jpg etc.. I have a class called banner and wondering how to get it to randomised threw the pics? Thanks |
|
|
Hello I need help and fast, time is running me out. [B]StudentMark class[/B] A StudentMark object hasd three attributes:moduleNo(a string),studentName(a string) and mark an (int). There is a constructor which registers a student (studentName) with a module number (moduleNo) at the time of construction. There are methods that enable new … |
I am doing a project where I have the find the smallest value and the smallest object. In this project, you will write two methods. The first will take an array of int and will return the smallest value in the array. It will have a declaration as follows: int … |
|
I just started both RMI and CORBA programming, yup normal basic Hello World from available tutorial at google achieve. But apparently none of them works. So could anyone pls let me know what or which software should i use ? current im having netbean 4.0 which wont work for both … |
|
hi I have a block which is : try{ ........... try{ ............ catch{ ...... catch{ ..... finally{ .... try { ..... catch{ .... but i get errors. why is that? thank you |
|
hello~everybody! I am a beginner of Java, I want to create a CA(Certificate Authority) that issues a x.509 certificate when user sends his/her identity to CA (registration). I know there is a X.509 API for JAVA,but i don`t know how to use it! Who can tell me how should i … |
|
I have an interesting question, I'm helping someone can help me out with this. I have been playing with the JavaSound API and I have come into contact with the FloatControls (pan and gain). Basically I know these controls only work if the line supports them. I have been working … |
|
hi, i have my program here [url]http://xiaobo.midnight-grove.net/doc.zip[/url] since i am new to Java, i would like some help in positioning the labels and text area and the button(everything!!!) test data: enter "91173" into the text field. |
|
hi everyone, I have to talk about the java's architecture in general. Do you guys know what to talk about? I already talked about how simple and how oop etc it is.... anything else I can add? thanx |
|
I am getting the following when I run deploytool in command prompt Starting Deployment tool, version 1.3.1 (Type 'deploytool -help' for command line options.) Could not connect to localhost -------------------------------- |
|
I have been having this weird problem with this small part of code: [code] if(isURL) File audio = new File(name); else URL audio = new URL(name); [/code] Now isURL is a pre-declared boolean and name is a pre-declared string. I have all the proper imports but for some reason or … |
|
hi, i need someone to look at my homework and give me comment where and how should i begain with. Choose one of the stack implementations and implement a method with this specification: Object itemAt (int n) //precondition: 0<=n and n<size() //postcondition: the return value is the item that is … |
|
Hi all , I'm a Java newbie ..... Currently , I'm having a Java project on programming to send and receive data between two computers with the support of USB dongles ... But I really dont know where to start ... Do you guys have any advices or sample codes … |
The End.