32,199 Topics
| |
Hi. Do you know any websites providing free Java assessment tests? | |
Need some help where to start...what to do???? The objective of this program is to simulate playing the game of Bingo. A Bingo card basically consists of a 2-d array of 5 rows and 5 columns containing integers. The first column contains integers in the range 1-15, the second column … | |
Hi I am John Tayler, new to this topic. This is a my first post. I want to make a website, will anybody tel me from where to start. Ive selected dreamweaver 8 to build my site. Is this suitable tool? Any tutorial about dreamweaver will be appriciated. Tayler | |
hi can anybody tell me how ti skip blank spaces in java.Is there any function for that.Or we have to write code for that. thanks | |
Hi iam developing one application where i need to to send simple sms from to tomcat server .. can any one help me in this.. if possible plz send me the sample code...how to configure port number and mobilenumber.. thanks&Regards Basha | |
hey everyone i am pretty new to programming and i need a little help with a code that i am writting it is a pacMan and i need it to open and close its mouth but i am not sure how to do that i started an array with the … | |
I need to make a java app that computes and prints mean and standard deviation for a list of integers x1 through xn. If anyone can help out, point me in the right direction even, that would be awesome, I get intimidated by these math problems when it comes to … | |
Every time i try and run this program it gives me an error saying "cannot find symbol constructor AnimationThread" The error occures on line 26 I was woundering if someone could please please help me with this Thx!! import java.awt.*; import java.applet.*; import javax.swing.*; import java.awt.geom.*; import java.util.concurrent.*; import java.awt.event.*; … | |
I have a Person Class, binarySearch needs to be performed on surnames. I need help with binarySearch algorithm. This is what I have so far: public class Person implements Comparable { private String firstName; private String lastName; public Person(String firstName, String lastName) { this.firstName = firstName; this.lastName = lastName; } … | |
Hello, I am trying to develop a calender using the flash's built-in date chooser component, what I want to do is that I want to pass an array of dates to flash from javascript and then disable that dates in the calender component, Please help me in doing this. Thanks | |
Hi guys! I wrote program, which read data from file(you can modify this file) and than it paints in to JPanel containing Canvas.But it doesn't work. [COLOR="Red"][B]class MainWindow:[/B][/COLOR] [code] package my; import my.MyCanvas; import my.Rectangle; import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import javax.swing.*; import javax.swing.border.*; import katka.Circle; import … | |
Okay, i have two classes. One needs to access (public) methods within the other . If i declare [code]ClassB objectName = new ClassB(); [/code] in one method of class A , then use objectName.methodname() in that method then it works fine. Butif i then try and call objectName.methodname() from another … | |
I was looking at this wobbly java applet and wanted to make it a link on my website, hot do I do that so it uses the "#Bottom" link to go to the bottom of the webpage its on: [url]http://www.javascriptkit.com/java/java13.shtml[/url] I found this forum from that website, so I apologise … | |
Hi all, I'm developing a chat application using multicast in netbeans. i did the send and receive classes and it works fine by its on, but when i want to call them in the GUI it gives me the messages when i have to push the send button and i … | |
ok heres my code [CODE]import java.util.Scanner; class TestTelevisionV3 { public static void main(String [] args) { Television tv = new Television (4, 8, true); tv.printImage(); Scanner myInput = new Scanner(System.in); String Input1 = myInput.next(); String s1="P"; String s2="C"; String s3="V"; String s4="Q"; do { tv.printImage(); System.out.println(""); System.out.println("Press P to turn … | |
import java.util.Scanner; class TestTelevisionV3 { public static void main(String [] args) { Television tv = new Television (4, 8, true); tv.printImage(); System.out.println(""); System.out.println("Press P to turn Power On or Off"); System.out.println("Press C to Change the Channel"); System.out.println("Press V to Change the Volume"); System.out.println("Press Q to quit"); System.out.println(""); Scanner myInput = … | |
Hi, While loading IBM WebSphere6.1.0, I am getting the following error suitable JVM not found. Run again with parameter is:javahome. I am using java 1.5 and it is installed in c:\Program Files\Java1.5 and my JAVA_HOME set as "c:\Program Files\Java1.5". Could anyone please help regarding this? Thanks in advance... | |
I put together a simple color chooser and havce one other thing I want to accomplish but can't figure out. I want the individual scrollbar to change color to reflect the amount of that particular color ie red (255,0,0) Also, in playing with this I have realized that it is … | |
The following applet that I have displays a house with two windows and a door that are colored in black. I want to display these items with window panes in them to show that they are open when the user clicks on them. I know that I need to use … | |
im creating a java program using Jgrasp and im completely stuck on how to apply my random operator to calculate two random numbers? heres my code: //Import Random Generator import java.util.Random; import java.util.*; //Program name class TimesTableTestTimer {//open main public static void main(String[] args) {//Create while loop to restart char … | |
I've a simple question, i wonna make a program using access database to store the entered data and making some calculations on it to get the total income per day and per week, how could i backup the old data and save it in a separate database at the runtime … | |
i have a jsp it has two fileds..mobileno and password..when i enterd values its storing in DB.But when iam retriving its retriving and comparing only with newly inserted values only.. it is comparing only last inserted values in Db only ..here is my code.. package com; import java.io.*; import java.util.*; … | |
develop a simple application that when run welcomes the users and tells them the name of the last person to run the application, this information should be retrieved from a file. Use the Class Loader and Properties classes to load the file | |
I am creating a login page , where when user enters his username and password the the request is sent to the servlets first and then validation is done in a javabean . If validation results true then user is forworded to another page otherwise he remains on the same … | |
Hey all, I need some help with an application which needs to read data into an array using methods and then write it back out into a 5x5 table so i would read int 25 digits say: 0 1 2 3 4 5 6 7 8 9 0 1 2 … | |
I am working on a program where there are several tasks that take time that users can implement. I would like a progress bar to pop up to inform the user how far the task has gotten. When the user presses a button on the main frame, I want a … | |
I have two programs, one is a GUI and the other is a normal (non GUI) program. How do I make a method in the non-GUI program wait until a JButton on the GUI gets clicked before continuing? (No while loops) This is frustrating since I'm fairly certain somebody here … | |
We have been given a task to do the following:- Write a class LectureTheatre that has the following attributes (properties): lectureTheatreName / maxOccupancy / layoutStyle (the lecture theatre may be either flat or tiered) For example:- lectureTheatreName : Frankland LT ... or ... Fylde LT2 ... or ... George Fox … | |
This is part of an ongoing project and up to now i've been able to figure things out. This insallment is: 1. Create an instance array called employees that will hold Employee elements. 2. Modify your loop to create a new element in the employees array for each employee entered … | |
Hi guys! I am new to java and I have a little problem with ma Java code. My application should read and paint an Image from file. The information about the image are in text format and the image can be composed of rectangles and circles. An example: rectangle { … |
The End.