Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~4K People Reached
About Me

BSc Computer Science Student

Interests
Football, Cars, Pool, Socializing, Java
PC Specs
P4 2.4GHZ 760 MB DDR RAM Fast and Furious!
Favorite Forums
Favorite Tags

14 Posted Topics

Member Avatar for shantuli

I hope this helps, the main stages are as follows: 1. Read In a String literal 2. Create a Calender object 3. Set up arrays for day names and month names 4. Get the current values of the date using the Calender.get(XYZ) methods 5. Based on these values get the …

Member Avatar for Raja Goswami
0
1K
Member Avatar for JavaBean

This link may help you to understand how to compile and run java programs. The only thing is I cant find which windows operating system its for, probably windows 98, 2000. However it can be easily adapted to windows xp! [URL=http://homepage.eircom.net/~pugsleypaul/java/setup.htm]LINK[/URL]

Member Avatar for stultuske
0
513
Member Avatar for Elektro

Ok guys, I kinda have what you are looking for. The only change is that my text file does not contain any brackets or commas i.e (20,20) = 20 20. The x1 coordinate is entered then SPACE then y1 coordinate entered, then TAB then x2 coordinate is entered then SPACE …

Member Avatar for masijade
0
366
Member Avatar for rickste_r

Hi peeps, I was wondering if anyone could help me. Im using a [B]JEditorpane[/B] to display a html page in. What I want to do is to change the font colour of the html page. I have tried to use the [B]setCaret()[/B] method, but to no avail. Anyhelp would be …

Member Avatar for server_crash
0
65
Member Avatar for Dark
Member Avatar for Dark
0
166
Member Avatar for Elektro

I am not allowed to write the whole program for you, however I can help you out in certain areas(more to do with actual programming). It is up to you to decide on what kind of game to make. I would start off by creating a spider/brain storm diagram with …

Member Avatar for nanosani
0
161
Member Avatar for Hjays

Ok , you want something like this: Class StringProg has the 2 methods you require: --------------------------------------------------------------- public class StringProg { String s; int count = 0; //constructor public StringProg(String sIn) { s = sIn; } //method to diplay string public void displayString() { System.out.println ("\nYour String: " + s); } …

Member Avatar for Iron_Cross
0
177
Member Avatar for rita161

Hi rita, I can recommend two books to purchase : [B]1. Java In Two Semesters[/B] [I](ISBN: 0077098048)[/I] This book is excellent for starters, I would highly recommend this book! It may take time to complete the exercises in the book, but its all worth it at the end. I would …

Member Avatar for rickste_r
0
105
Member Avatar for nanosani

[I]freeMemory() - [/I] [B]Returns the amount of free memory in the Java Virtual Machine[/B] [I]totalMemory() [/I] [B]Returns the total amount of memory in the Java virtual machine[/B] Click on the java sun link for more information: [URL=http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html]Java Sun Link[/URL] Hope that Helps!

Member Avatar for rickste_r
0
133
Member Avatar for Bill T
Member Avatar for shantuli

This code should help you out....... The key points are : 1. Using Math.Random class ------------------------------------------ //generate 2 random numbers between 1-6 int rand1 = (int) (Math.random() * 6) + 1; int rand2 = (int) (Math.random() * 6) + 1; //calculate the total int total = rand1 + rand2; //print …

Member Avatar for rickste_r
0
848
Member Avatar for Elektro

I have posted something similiar to what you require, follow the link: [URL=http://www.daniweb.com/techtalkforums/thread8559.html]LINK [/URL] That should help ya!

Member Avatar for rickste_r
0
114
Member Avatar for shantuli

Ok, the String class is a very important tool in java. Make yourself famaliar with it. Go to this Weblink to revise some of its properties. [Weblink](http://docs.rinet.ru/WebJPP/ch10.htm) Your code should be simliar to this.... ------------------------------------------------------------------------ public static void main(String[] args) { /*1) Find the 5th caracter in the string " …

Member Avatar for rickste_r
0
121
Member Avatar for jabrongr81

Ok we have three classes = *Box*, *BoxVector* and *BoxTest*. The Box class simply creates a Box object: //create a Box object, and have return methods to return values class Box { private double width; private double height; private double length; //constructor public Box(double widthIn, double heightIn, double lengthIn) { …

Member Avatar for rickste_r
0
94