32,204 Topics

Member Avatar for
Member Avatar for hannahabigail.lewis

Can I get help writing a program for a 12 sided and 10 sided die and rolling snake eyes?

Member Avatar for JamesCherrill
0
85
Member Avatar for sk8ergirl

call method from another class Hi , I'm almost done with my practice paper I have done with the first part and now I'm working in the second part I came to this question and I stopped and didn't know how to call method from another class here is the …

Member Avatar for ObSys
0
205
Member Avatar for anglwthnati2de

Hi I want to be able to change the name of the JFrame I am working on. It is currently named SwimmingPoolVolumeCalculator. When I go the Company Tab and enter in a name, I want that name to be shown as the new Title of the JFrame. How can i …

Member Avatar for ObSys
0
1K
Member Avatar for yavindu

Are there any online resources to learn Java BCD ,if there are please send me some links. Thanks.

Member Avatar for JamesCherrill
0
43
Member Avatar for anandschiru

How to add an integer no to a date so tat i can a new date foe ex: date=10/11/2012 no=5 newdate=15/10/2012 **Any body plz help to solve the problem**

Member Avatar for anandschiru
0
301
Member Avatar for expresado

Hello, I would need some help/suggestions for my java project. it has to create object - "skrynka"="closet". Closet has Shelfs("poličky"). There should be for example Users = 3 cups(differenced by color). I need to move cup on shelf and than autocreate new cup on the "start" place. Problem is that …

Member Avatar for JamesCherrill
0
98
Member Avatar for sandrannola

Inline Code Example Here import java.util.*; public class DiceGame { public static void main(String[] args){ Random myRand = new Random(); Scanner myScan = new Scanner(System.in); double money = 10.00; int temp2 = myRand.nextInt(6)+ 1; int temp3 = myRand.nextInt(6)+ 1; int roll = temp2 + temp3; int choice = 0; boolean …

Member Avatar for DJSAN10
0
239
Member Avatar for nHulk

Please let me know godds books for web development using Jsf,Spring,Hibernate I am beginner to learn these technologies...and i am currently working on web development using these technologies...so let me know the easy and best books to learn these technologies. Books should include complete core concepts in simplified way....please help …

0
102
Member Avatar for ct_hunny

Hello I’m struggling in how to create simple pie chart (for dashboard). Since I’m new in jsp, and I have no basic how to connect the chart with database. Any idea or any solution.

0
76
Member Avatar for rampage12345

Hello all, I would really appreciate some help. I have an assignment for my class that is due where the objective is for the program to recognize the holiday when a specific date comes around. The easy ones are holidays that fall on a specific date every year, examples such …

Member Avatar for rampage12345
0
377
Member Avatar for sk8ergirl

Hi , I'm almost done with my practice paper I have done with the first part and now I'm working in the second part I came to this question and I stopped and didn't know how to call method from another class here is the question "In the Assignment9Form class, …

Member Avatar for Taywin
0
216
Member Avatar for minimee120

Here's what I have so far. I have one class Directory.java and another class DirectoryWithObjectDesign.java I need help editing my code that when executed, it will be prompted by 3 commands. Find, Delete, and Add. If asked to find, the user will input find then("stringhere"), then the program will search …

Member Avatar for Taywin
0
4K
Member Avatar for Kathy0410

My issue is creating the interface payable and making it compile properly. I have to modify an example out of the book such that is shows polymorphism using an different interface called Payable. This is what I have for my interface: interface Payable { //----------------------------------------------------------------- // Creates a staff of …

Member Avatar for Kathy0410
0
134
Member Avatar for HibaPro

hey everybody i need an answer of this question plz as soon as possible , write a method named season that takes two integers as parameters representing a month and day and that returns a string indicating the season for that month and day. Assume that months are specified as …

Member Avatar for HibaPro
-1
94
Member Avatar for fonzi

Hey guys, I am curious on how to start automated testing, and what kind of software or scripts would i need to test java, c , c ++, c#, or python code. Also does anyone now any good well explained videos or websites out there, i tried searching on google …

Member Avatar for Schol-R-LEA
0
312
Member Avatar for fonzi

Hey guys, I am curious on how to start automated testing, and what kind of software or scripts would i need to test java, c , c ++, c#, or python code. Also does anyone now any good well explained videos or websites out there, i tried searching on google …

Member Avatar for Taywin
0
149
Member Avatar for Swiftle

Hey, I made a small program for the k-clusters algorithm. In the current state though, I'm unable to erase the position of the centers from the previous itterations. If I use paintComponent(g) my jPanel will move down to the right and I have no idea why. (as shown here: http://tinypic.com/r/2eba0j8/6 …

Member Avatar for Swiftle
0
1K
Member Avatar for gassa94

hi i need help creating a program using arrays. this is what is assigned and i cant figure much of it out ! please help! The single field (instance variable) for this class is a array of type char named seats[] with 10 elements. The first five elements (0 to …

Member Avatar for Taywin
0
100
Member Avatar for rohittripathi

hi everyone I have created one web page for website, these having four main Div but i have to do Show Div and Hide some Div using javascript or jquery in css. **Four main Div are:-** 1) **header** 2) **banner** 3) **Content** 4) **footer** :- on the website two div …

Member Avatar for JorgeM
0
155
Member Avatar for panchahima
0
54
Member Avatar for Ravish.Ahmad.Khan

Hi! I am new to java and I'm trying to make a **Stop Clock** which shows time in minutes, seconds and mili-seconds. I've attached the zip file with this thread which includes the source code and other files required to run the program. The *problem* which I'm facing is that …

Member Avatar for Schol-R-LEA
0
226
Member Avatar for Atlanta15Braves

I need a program that will return an integers factorial, but only when the number entered is between 0 and 20. I have the code to disregard anything below 0 and above 20, but something with my math and/or syntax is off and I dont fully comprehend how to fix …

Member Avatar for JamesCherrill
0
266
Member Avatar for BablooDabloo

how can i shyow this output using a single for loop? `0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20` `0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 …

Member Avatar for stultuske
0
185
Member Avatar for manraj kaur
Member Avatar for FUTURECompEng

Currently this method has a run time of O(N^2) and I am trying to get it to O(N). Any suggestion as to where I should start? public void removeAll(e removeNum) { node nodeToFind = this.find(removeNum); while(nodeToFind != null) { this.remove(nodeToFind); nodeToFind = this.find(removeNum); } } Thanks

Member Avatar for JamesCherrill
0
296
Member Avatar for efth

Let's say I have an array/arraylist(doesn't matter) with the following content: 2, 2, 2, 4, 5, 5, 8, 8, 8. How wold I go about counting the different values, in other words; how would I find out that there are 3 twos, one 4, 2 fives and 3 eights. How …

Member Avatar for piyush09
0
316
Member Avatar for sk8ergirl

this is practice is require to create 3 class when I click load button I should get flight number ,day,time, destanation , pilot , co pilot I should get this http://s17.postimage.org/52smv6jl9/screenshot_A1.jpg every thing seem to be right I didn't get any red lines , but I can't find where is …

Member Avatar for Schol-R-LEA
0
82
Member Avatar for badboy515

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Drawing.Drawing2D; /* * @(#)fractal.java - Fractal Program Mandelbrot Set * www.eckhard-roessel.de * Copyright (c) Eckhard Roessel. All Rights Reserved. * 06/30/2000 - 03/29/2000 */ //import java.awt.*; //import java.applet.*; //import java.awt.event.*; /** * @version …

Member Avatar for ddanbe
0
266
Member Avatar for edensigauke

I have been working with Java a longtime, but my main problem is this. Everytime i try to set my classpath, set my path variables, all works well, until i think of adding a new package from elsewhere. Disaster breaksout, such that i have to recode the entire package for …

Member Avatar for edensigauke
0
233
Member Avatar for PinoyDev

Good day! I just need a little help on how to create this program the precise way. Example if the user will enter 123450, it should output the sum of all individual integers, in the example the result must be 15. If the user will enter a character or a …

Member Avatar for JamesCherrill
0
149

The End.