Search Results

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: rickste_r
Forum: Java Feb 8th, 2005
Replies: 1
Views: 2,100
Posted By rickste_r
Hi peeps,

I was wondering if anyone could help me. Im using a JEditorpane 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...
Forum: Java Aug 4th, 2004
Replies: 1
Views: 7,453
Posted By rickste_r
Hi rita, I can recommend two books to purchase :

1. Java In Two Semesters (ISBN: 0077098048)
This book is excellent for starters, I would highly recommend this book! It may take time to complete...
Forum: Java Aug 1st, 2004
Replies: 1
Views: 2,627
Posted By rickste_r
freeMemory() -
Returns the amount of free memory in the Java Virtual Machine

totalMemory()
Returns the total amount of memory in the Java virtual machine

Click on the...
Forum: Java Jul 30th, 2004
Replies: 3
Views: 3,591
Posted By rickste_r
Ok , you want something like this:

Class StringProg has the 2 methods you require:
---------------------------------------------------------------

public class StringProg
{

String s;...
Forum: Java Jul 30th, 2004
Replies: 5
Views: 17,909
Posted By rickste_r
Have a look at the file attached, a simple version of NoughtsAndCrosses. You have to get yourself familiar with using 2-Dimensional Arrays though! :confused:

This should get you started.
Forum: Java Jul 30th, 2004
Replies: 5
Views: 17,909
Posted By rickste_r
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...
Forum: Java Jul 30th, 2004
Replies: 6
Views: 4,296
Posted By rickste_r
The link only contains a picture! More information would be useful!
Forum: Java Jul 29th, 2004
Replies: 5
Views: 3,729
Posted By rickste_r
Ok, try this , it may help!

------------------------------------------------------------------
public static void main(String[] args) throws IOException
{
//create a bufferedReader object...
Forum: Java Jul 29th, 2004
Replies: 5
Views: 3,729
Posted By rickste_r
Are you going to type the 2 numbers in? Or do you want them to be generated?
Forum: Java Jul 29th, 2004
Replies: 1
Views: 7,054
Posted By rickste_r
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....
Forum: Java Jul 28th, 2004
Replies: 18
Views: 74,766
Posted By rickste_r
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...
Forum: Java Jul 28th, 2004
Replies: 1
Views: 5,062
Posted By rickste_r
I have posted something similiar to what you require, follow the link:

LINK (http://www.daniweb.com/techtalkforums/thread8559.html)

That should help ya!
Forum: Java Jul 28th, 2004
Replies: 16
Views: 5,679
Posted By rickste_r
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...
Forum: Java Jul 27th, 2004
Replies: 3
Views: 16,788
Posted By rickste_r
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...
Forum: Java Jul 27th, 2004
Replies: 1
Views: 2,896
Posted By rickste_r
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...
Forum: Java Jul 27th, 2004
Replies: 2
Views: 49,402
Posted By rickste_r
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...
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC