32,199 Topics

Member Avatar for
Member Avatar for Intelrate
Member Avatar for Intelrate
0
96
Member Avatar for poggie

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 …

Member Avatar for stultuske
0
110
Member Avatar for johntayler

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

Member Avatar for stultuske
0
72
Member Avatar for laki234

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

Member Avatar for ~s.o.s~
0
145
Member Avatar for mahaboob Basha

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

Member Avatar for masijade
0
231
Member Avatar for goyofoyo

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 …

Member Avatar for stultuske
0
89
Member Avatar for goodluck4287

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 …

Member Avatar for Fuze
0
238
Member Avatar for Dan Bois

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

Member Avatar for quuba
0
98
Member Avatar for zatin

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

Member Avatar for ~s.o.s~
0
1K
Member Avatar for architact

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

0
63
Member Avatar for miso66

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 …

Member Avatar for peter_budo
0
104
Member Avatar for jbennet

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 …

Member Avatar for masijade
0
100
Member Avatar for nopaso

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 …

Member Avatar for nopaso
0
144
Member Avatar for kitsune

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 …

0
44
Member Avatar for Laidler

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 …

Member Avatar for Laidler
0
119
Member Avatar for Laidler

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

Member Avatar for Laidler
0
172
Member Avatar for java_programmer

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

Member Avatar for masijade
0
37
Member Avatar for allang

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 …

Member Avatar for allang
0
107
Member Avatar for cproud21

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 …

Member Avatar for Antenka
0
139
Member Avatar for KPS

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 …

Member Avatar for Antenka
0
116
Member Avatar for MxDev

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 …

Member Avatar for dickersonka
0
91
Member Avatar for mahaboob Basha

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

Member Avatar for peter_budo
0
1K
Member Avatar for eve.olambo

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

Member Avatar for stultuske
-2
123
Member Avatar for cybernaut09

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 …

Member Avatar for stephen84s
0
120
Member Avatar for poggie

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 …

Member Avatar for stultuske
0
140
Member Avatar for VernonDozier

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 …

Member Avatar for VernonDozier
0
168
Member Avatar for BestJewSinceJC

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 …

Member Avatar for BestJewSinceJC
0
92
Member Avatar for AdventureX

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 …

Member Avatar for vee_liang
0
113
Member Avatar for carlcarman

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 …

Member Avatar for carlcarman
0
155
Member Avatar for miso66

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

Member Avatar for miso66
0
155

The End.