Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #2K
~10.2K People Reached
About Me

Student

Favorite Forums
Favorite Tags
java x 54

16 Posted Topics

Member Avatar for LevelSix

I'm trying to create two car objects, that move across the frame, in opposite directions, at different heights so they don't collide. This type of programming is new to me, and after following the only example I'm provided with, I still can't get this to work. All the code I …

Member Avatar for Rosayu
0
3K
Member Avatar for LevelSix

I need to write a program that draws the next iteration if a koch snowflake, when a button is clicked. It begins with a equilateral triangle. The program uses an ArrayList, Polygon, and GeneralPath, as I found these imports in the starter code. I think I may also be supposed …

Member Avatar for BestJewSinceJC
0
961
Member Avatar for LevelSix

I'm running Windows Vista Home Premium 32bit on my main machine. Randomly it will drop its internet connection and display that it is connected to "Network 9", and has local access only, and indeed the computer has no working internet connection. A reboot of the network adapter temporarily fixes the …

Member Avatar for LevelSix
0
328
Member Avatar for BestJewSinceJC

As far as the name part goes, you could have your box constructor also take a string variable, which is the team name. Then you could use the drawText method to draw the team name, linking the coordinates to the x, y of the box.

Member Avatar for BestJewSinceJC
0
160
Member Avatar for grisha83

You use a for loop in your increment method, so it prints out both lines. Removing the for loop and using a simple println will take out the duplicated line. Just be sure to increment the day. [CODE]public void increment(int arg1, int arg2, int arg3) { int i; month = …

Member Avatar for grisha83
0
124
Member Avatar for luwenbin

There will be no code. This isn't a homework completion service. Post the code you started or ask direct questions, no one here will do the work for you, but they will help you if you ask the right questions.

Member Avatar for javaAddict
0
136
Member Avatar for smsamrc

So, a superscript? [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/awt/font/TextAttribute.html"]http://java.sun.com/j2se/1.4.2/docs/api/java/awt/font/TextAttribute.html[/URL] May be of use.

Member Avatar for smsamrc
0
757
Member Avatar for hollywoood69

What it appears you need to do is simply create one array, of type Video. Video will be a class you have to write, simple enough: Constructor with the two parameters and then return methods. Once this class and the arrays are constructed you can construct new Video objects and …

Member Avatar for javaAddict
0
389
Member Avatar for king_786

He mentions needing to use a for loop, not recursion. At least that is how I took it. Taking user input is easily done using a Scanner.

Member Avatar for tux4life
0
244
Member Avatar for LevelSix

Hello, I'm not sure if all of this is even completely possible, but I'm sure some of you will be able to tell me. What I want to do is set up a desktop pc running linux (Kubuntu 8.10 possibly, a buntu of some sort anyways), which will have two …

0
73
Member Avatar for LevelSix

"Write a program to display a linked list graphically. Draw each element of the list as a box, and indicate the links with line segments. Draw an iterator as in Figure 15-3. Supply buttons to move the iterator and to add and remove elements." The elements of the node appear …

Member Avatar for quuba
1
2K
Member Avatar for LevelSix

Write a simple graphics editor that allows users to add a mixture of shapes (ellipses, rectangles, and lines in different colors) to a panel. Supply commands to load and save the picture. Basically it wants a program with a buttons for New, Load, Save, Rectangle, Line, Ellipse, Red, Green, Blue, …

Member Avatar for Ezzaral
0
305
Member Avatar for LevelSix

Is there a way that after you store something, such a Rectangle, to an object variable, say, Object x, that you can then look at object x, and determine it is indeed a rectangle, allowing you to use Graphic methods such as draw on said object?

Member Avatar for LevelSix
0
130
Member Avatar for LevelSix

Basically, I need to write a program that takes a user input for multiple text files, and then prints them out into one file. I usually try not to pose questions here back to back, but alas, I need the help this time round. What really has me baffled is …

Member Avatar for LevelSix
0
1K
Member Avatar for LevelSix

The task: Write a program that asks the user for a file and counts the number of characters, words, and lines in that file. Then the program asks for the name of the next file. When the user enters a file that doesn't exists, the program prints the total count …

Member Avatar for LevelSix
0
479
Member Avatar for LevelSix

Question: Write a program that draws a clock face with a time that the user enters in two text fields (one for the hours, one for the minutes). I have Followed my example code, and come up with 3 classes. Clock, which sets the outines for drawing clock objects, ClockViewerFrame …

Member Avatar for LevelSix
0
141

The End.