Posts
 
Reputation
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
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

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
531
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
383
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
68
Member Avatar for Dark
Member Avatar for Dark
0
173
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
173
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
187
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
108
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
144
Member Avatar for Bill T
Member Avatar for shantuli

We use the Math.random class to generate a number from 1 to 6. We do this again to generate the second number. We have a total variable that gets the total of the 2 random numbers. -------------------------------------------------------------------- public static void main(String[] args) { //variables to hold numbers for the die …

Member Avatar for rickste_r
0
860
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
124
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
131
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
100

The End.