Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
51% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
3
Posts with Downvotes
1
Downvoting Members
3
~11.8K People Reached
Favorite Forums
Favorite Tags
Member Avatar for StarZ

How come this program doesn't run? Well.. not just this program, all my other ones. There are no mistakes, I wrote the code as this textbook says but its not running and its giving this error (on dr java): 1 error found: File: (no associated file) [line: (no source location)] …

Member Avatar for stultuske
0
426
Member Avatar for StarZ

hi.. so basically my program works like this.....first frame > buttons > another frame > more buttons > lead to another frame ... but a few problems are preventing me from doing this. p.s. I don't want to use the cardlayout because I want my buttons like a column, and …

Member Avatar for musthafa.aj
0
102
Member Avatar for StarZ

sooo i finally got the new "pop up" frame after a button is clicked. so than after the user clicks the button and new frame pops up i try to add some stuff and buttons to that new frame.. but it doesn't show. it's just a black frame. I don't …

Member Avatar for StarZ
0
3K
Member Avatar for StarZ

HI there, so my program so far only has buttons... can someone modify my program so when i press a button there will be another popup page, and so on? thanks ! p.s. my program right now only has buttons but the buttons does not do/go anywhere. [code]import javax.swing.*; import …

Member Avatar for gunjannigam
0
213
Member Avatar for StarZ

hi, I was wondering how can i make a new frame after the password is entered(if it's correct). Like if the user enters the correct password than another brower/frame will open. This is the program: [code]import javax.swing.*; import java.awt.event.*; import java.awt.*; public class password { private static String password = …

Member Avatar for Mandana_bgh
0
115
Member Avatar for StarZ

Hi, so I want to make this kind of "webpage" thing with GUI and how can go to another "page" not open another frame when I click on one of the buttons. Like in my program one of the buttons are "Sign In" and when the user clicks it I …

Member Avatar for musthafa.aj
0
226
Member Avatar for StarZ

I'm suppose to do this using sorting algorithm..so it asks to creat a friends database application that maintains a file of friend objects that contain names, telephone numberrs, and email adresses..etc. The friends application should load friend records from a file and then allow the user to add new friends, …

Member Avatar for javaAddict
0
1K
Member Avatar for StarZ

Hi, I've read the rules for this website and i'm aware that we should not expect people to do our homework. But I really need help on this program.. and I'm not sure how to start it, and it's last minute help please. I'm suppose to do this using sorting …

Member Avatar for P00dle
-3
105
Member Avatar for StarZ

hi, I've recently downloaded Java on my computer I think I downloaded the "windows app" one. When I try to launch drjava, this errors pops up and it says: An error occurred in Dr Java: java.lang.ArrayIndexOutOfBoundsExceptions:-1 You may wish to save all your work and restart Dr Java. I've downloaded …

Member Avatar for masijade
0
253
Member Avatar for StarZ

This program is suppose to merge the two files by taking one element at a time from each, and the third file should contain the numbers from both file from lowest to highest. Data1: 11 25 36 45 56 78 90 Data2: 1 3 5 7 54 32 78 99 …

Member Avatar for Alfredtwo
0
145
Member Avatar for StarZ

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 …

Member Avatar for BestJewSinceJC
0
98
Member Avatar for StarZ

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 …

Member Avatar for BestJewSinceJC
0
375
Member Avatar for StarZ

Does someone have the solution for this? I know this isn't homework serice I have no idea where to start off....... I don't want a game of life applet, just simple codes that can compile and run. pm, post if you do. thanks so much. Can someone help me make …

Member Avatar for BestJewSinceJC
0
95
Member Avatar for StarZ

I've got the codes all done; so its looks like this: [code]public class RightTriangle { public static void main(String[] args) { Triangle shape = new Triangle(); shape.setBase(4.0); shape.setHeight(5.0); System.out.println("The base of the right triangle is " + shape.getBase()); System.out.println("The height of the right triangle is " + shape.getHeight()); System.out.println("The area …

Member Avatar for StarZ
0
162
Member Avatar for StarZ

I got the first part correct but how do I put the get height into the second part? Like would I just repeat everything the base did.. like "private double height" " public void setHeight " etc... [B]The design is this: [/B] RightTriangle variables: base, height methods: setBase - changes …

Member Avatar for BestJewSinceJC
0
715
Member Avatar for StarZ

It keeps highlighting the line "super(r);" I can't find whats wrong with it.... The Error says: 1 error found: [B]File: C:\Documents and Settings\HP_Administrator\My Documents\Anna - java\Disk.java [line: 14] Error: C:\Documents and Settings\HP_Administrator\My Documents\Anna - java\Disk.java:14: cannot find symbol symbol : constructor Circle(double) location: class Circle[/B] The contructor code is: [code]/** …

Member Avatar for Ezzaral
1
139
Member Avatar for StarZ

I copied this code from the textbook, so the code should have no mistake? I typed the contructor file(I think thats what its called) and the actual codes. So the code looks like this: [code]public class TestCircle { public static void main(String[] args) { Circle spot = new Circle(); spot.setRadius(5); …

Member Avatar for StarZ
0
401
Member Avatar for StarZ

I'm a newb in Java. how do I make the loop stop when the user enters 0. Is the codes right so far? I can't seem to run it, theres 1 error saying (no source location) The output is suppose to look like this: 1. show total in bank. 2. …

Member Avatar for Grn Xtrm
0
126
Member Avatar for StarZ

Hi all. I'm making a program about 'reading and writing text files' The assignment I have to do is suppose to look like this: [url]http://i39.tinypic.com/5554wi.jpg[/url] But I can't figure it how to make it so when it keeps looping until the user types in 'break' and it will list the …

Member Avatar for vegaseat
0
175
Member Avatar for StarZ

the topic is writing/reading text files, but i got this simple question. how do i make this program so it will look like this: [url]http://i39.tinypic.com/5554wi.jpg[/url] i can't figure it out. - to make it keep looping and asking "enter your name or break to exit" continue the question until the …

Member Avatar for vegaseat
0
192
Member Avatar for StarZ

yea, this is long.. but how do i make this repeat? At the end it's suppose to ask "do you want to do this again, y for yes, n for no" where yes is repeat from the beginning and no is exit. I think i messed it up............................ someone help? …

Member Avatar for jrcagle
0
2K
Member Avatar for Norbert X

Okay so I'm trying to do this programming assignment and my random function isn't working. It's exactly the same as in my other assignments, but it's not working, and I've spent hours searching it. Can someone help me? [code=syntax]import random repeat = 0 while repeat != "no": random = input("How …

Member Avatar for Norbert X
0
130
Member Avatar for StarZ

This is program i made (basic mash); I want to make it so that the program will ask if you want to repeat it again. "n" = exit. and anything else makes it repeat.....can someone help me? I'm not sure how to do it ... [code=syntax] x = 0 import …

Member Avatar for StarZ
0
93
Member Avatar for StarZ

As the title says, I need help on how to generate random numbers. Like say, if the program asks the user "How many random numbers do you want?" and the user enters "4" It would generate 4 random numbers. How do I do that? the programs outputs random numbers on …

Member Avatar for StarZ
0
226
Member Avatar for StarZ

This is a assignment I have to do for school. The program is about attack and defend. This is how it suppose to look like when it outputs: [url]http://i43.tinypic.com/bew6q.jpg[/url] Mine is basically done accept the part where it says "Your Health is:" the health is suppose to be "health = …

Member Avatar for jlm699
0
123
Member Avatar for StarZ

Starting on basic functions for python, and this is a assignment that I have to do... but I keep getting a Error.. but I tried, and still don't understand what is wrong. here is what it's suppose to output:[url]http://i39.tinypic.com/r1mv69.jpg[/url] This is what I've done: [code=syntax]def function1(french): print "Bonjour, comment allez-vous …

Member Avatar for lllllIllIlllI
0
102
Member Avatar for StarZ

This is a basic Mash program assignment I have to do but I have a few problems, and I don't know how to edit it. It is suppose to look like this: [url]http://i43.tinypic.com/inv0gj.jpg[/url] but mine look slightly different: (copy and paste the code to ur python to check if you …

Member Avatar for sneekula
0
584
Member Avatar for StarZ

This is an Assignment I have to do, I did everything but just don't know how to loop it. The part where it says "You need to pick a number from 1-3" I want it to loop even if the user entered a wrong key. Because right now, if the …

Member Avatar for StarZ
0
116
Member Avatar for StarZ

Hello, I'm Still a python beginner. I've got this Assignment, and I think I've finished half of it. Can anyone help me out on this assignment. The codes I have done already are: [I]The assignment asks to: Make a program that prints a list of 5 items in your house …

Member Avatar for Murtan
0
136
Member Avatar for StarZ

i have just been learning python(tuple) at school. And this is my first assignment. I can't seem to figure it out. The assignment is on this website: [url]http://schools.tdsb.on.ca/danforthcti/python/main.html[/url] Go to lesson 8>scroll down>its called programming Assignment 9. Can someone help me out? It's simple enough right? thank you!

Member Avatar for vegaseat
0
155