n00bfest.com
Home Forum phpBB3 Shoutbox Servers Teamspeak Admins Donate FAQ
Sign Up
Stats Contact Us!

 

View unanswered posts | View active topics It is currently Tue Jul 21, 2026 5:35 pm



Reply to topic  [ 7 posts ] 
 Java help 
Author Message
n00bfest Council
User avatar

Joined: Mon Jul 05, 2010 1:18 am
Posts: 1740
Post Java help
So I'm at the last end stretch with my java class and I'm wondering if anybody is good at writing stuff in java that can help me along the rest of the way. I'm basically not being taught by the teacher and the people in the lab are useless. If I hadnt taken a similar easier course before this one I would be having more problems than I am now... Anybody up for it?

_________________
http://steamcommunity.com/id/Hito1220/wishlist
http://www.twitch.tv/hito1220


Mon Nov 07, 2011 11:30 am
Profile
[n00b] Member
User avatar

Joined: Sun Oct 25, 2009 7:12 pm
Posts: 3663
Location: Mt Hood, Oregon
Post Re: Java help
Do you have specific questions that you can post here? Or do you need like a hand holding session where you work thru several things?

I have mostly javaSCRIPT experience which isnt totally separate from java, but it's different enough. I'm sure plenty of folks here know java though.

_________________
BAN Log:
Player [[n00b] Reborn''] [STEAM_0:1:456925]
Time 02/21/2010 @ 17:17:03


Mon Nov 07, 2011 12:10 pm
Profile
n00bfest Council
User avatar

Joined: Mon Jul 05, 2010 1:18 am
Posts: 1740
Post Re: Java help
Well I was planning on posting some questions as they come... Might even post one tonight

_________________
http://steamcommunity.com/id/Hito1220/wishlist
http://www.twitch.tv/hito1220


Mon Nov 07, 2011 12:31 pm
Profile
[n00b] Member
User avatar

Joined: Sun Oct 25, 2009 7:12 pm
Posts: 3663
Location: Mt Hood, Oregon
Post Re: Java help
Cool this could be fun & educational for a bunch of people. Post away, I'm sure you'll get help.

_________________
BAN Log:
Player [[n00b] Reborn''] [STEAM_0:1:456925]
Time 02/21/2010 @ 17:17:03


Mon Nov 07, 2011 12:46 pm
Profile
[HNIC] Stзamroller ω

Joined: Sun Apr 25, 2004 11:00 pm
Posts: 13453
Post Re: Java help
Shredder knows java extremely well. I'd reach out to Reborn and fomenta too.

_________________
Image

I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
-- Hunter S Thompson


Mon Nov 07, 2011 1:50 pm
Profile WWW
[n00b] Member
User avatar

Joined: Sun Nov 27, 2005 12:00 am
Posts: 981
Location: ATX
Post Re: Java help
If I'm online and bored and see your post I can help you out.

_________________
[n00b] madcoweater {n4b}

nubs 4 breakfast


Tue Nov 08, 2011 12:08 am
Profile
n00bfest Council
User avatar

Joined: Mon Jul 05, 2010 1:18 am
Posts: 1740
Post Re: Java help
K was wondering if anybody could explain how JFrame works in Java... here is an example from a lab assignment we had.

In today’s lab you will learn about:
Dynamic Data Structures in Java
Graphical Design Using the Java Swing Library
Problem Description
Write a program that will design and display a graph based on the specifications defined in an array of points. It should have the following appearance: (Pic not able to be shown... weird...)

You will need to define two classes: (1) a simple Point class that has instance variables (int) for the x and y coordinates of a two-dimensional point, and (2) a GraphDisplay class that extends JFrame and has the following code in it:

import java.awt.*;
import javax.swing.*;
One instance variable that is an array of Point items, defined as
private Point[] node = new Point[7]; // 7 points is enough to test the program
Create a window of size 400 x 400 pixels with the title "Graph Display" and a background color of LIGHT_GRAY. To do this, define a constructor for your GraphDisplay class that calls the constructor for JFrame via
super("Graph Display");
and then sets its size via
setSize(400, 400);
Enter the points of the graph as (x, y)
node 0 = (360, 40)
node 1 = (25, 25)
node 2 = (100, 150)
node 3 = (250, 100)
node 4 = (370, 370)
node 5 = (50, 350)
node 6 = (210, 210)
At each node[i], draw a GREEN circle of size (15, 15)
At each node[i], enter a text label of i. For example, at node[4], put the label "4".
Draw lines from node[0] to node[1], [1] to [2], [2] to [3], [3] to [4], [4] to [5], [5] to [6], and [5] to [3].

_________________
http://steamcommunity.com/id/Hito1220/wishlist
http://www.twitch.tv/hito1220


Tue Nov 08, 2011 9:44 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.