peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

@simranjit kaur

  • Please do not PM request to other members, address your questions to appropriate forum section.
  • When asking for help proper request description is highly beneficial as you avoid being taunted for lousy request, you make it clear what you up-to and we have better insight of what you trying to achieve.
  • I would recommend to drop that word "codification" as it is freaking out some people as you already seen and replace it by code sample/example/tutorial.
  • Lastly keep in mind we will try to help you as much as we can, but we will not do whole your work and we will help you only when time allow us (urgent, asap, help - will get you no closer to solution)
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I wouldn't call it reasonable advice. There are too many students dependent on their IDE and if somebody force them work on different IDE or from command line they are lost.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Hmm, that is strange. Would you mind to upload your Flash work project file *.fla and the data file?

PS: To add attachment you need to be in advanced editing option (press Go Advanced, if you did not already do so) and bellow post area you will find Manage Attachments option that will allow you to upload

NeoKyrgyz commented: Thanks for trying to help +1
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

That makes the entire thread useless.

Unfortunately original poster was ignorant to forum rules and posted in various sections just to advertise his site. In the process of removing links we overlooked fact that post is useless. After another member reply to it, this post could not be removed.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

where is the icons

Don't you see below the actual post following comment

Last edited by Narue : 4 Hours Ago at 14:56. Reason: removed fake signature

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Hey, I came across this site, try it out hope it will help you.
http://www.databaseapplications.com.au/jtest.html

Hi,

This link will help you to design your application:
http://pareeksha.sourceforge.net/

Working on final graduation project doesn't mean that you take pre-existing tool, feed some text input and submit it. If that would be case any "monkey" could get degree (not that some university allow some weak links to finish them...)

@eedirex you need to asset situation at hand and clearly outline what you need to/will do. For example: I will create examination system. In this system modules/subjects are associated with student profiles, two students in same year taking same course path may or may not have same set of modules/subjects on their exams (therefore you need to provide well structured database where student ID=personal details are nicely matched with modules he/she is taking). Traditional exam are based on fixed set of questions so everyone has to answer same questions. However in my systems there are multiple options for questions and students will be presented with dynamically generated exam paper (you need to create database to hold number of questions. Questions have to be easily grouped under number of sub-topics from which your algorithm will make selection. This selection together with student ID and the answers have to be stored somewhere for checking either automated or human checking. I would go with human check as there is another opportunity how you will present data collected data, how you will allow …

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You need to expand description of "online test application"...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

The code is great but it copy just the text.

The pdf doesn´t have the word format and headers :S

That would be because we been discussing just simple example how to get POI and iText talking together. It is on everyone who wish to use it to extend the application functionality to get maximum out of it.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

With your project advertisement you just broke this forum record of reopening oldest post, which is now 4 years and 5 months. Sorry for sarcasm, couldn't resist.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Now this ill-mannered thing you did..

Thanks a lot for your help. I need to get this done by 11 am tommorow because its my final for the class. Everything you said to me doesent really make sense because im so behind do you think you can finish it for me? I can paypal you some money for it if you want but i just need to pass this class id really appreciate it. Thanks!

If I received only one I may leave it be, but to get 3 is too much. Shame on you and you deserve to fail.

Salem commented: Well said! +30
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Just create two separated classes that extends JPanel add necessary components as need it. Then display them depending on selected action in your JFrame.

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Dunno about nice formatting, but hey you asked for it Apache POI - Java API To Access Microsoft Format Files

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

So much for grateful thank you. Next time make sure you provide full facts as not to cause another misunderstanding of what you try to do...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You have general flaw in the logic. The values collected by JOptionPane will never get out of your while loop. To add the values to array you need to add each new grade to array inside while loop.
Also I would suggest to use ArrayList instead of size limited Array, that way you do not have to worry about exceeding Array limit and always you can convert ArrayList to simple Array with help of API

PS: Above posted code will not compile because you use wrong array

// Method to sort Grades from Low to High
	public void sort(String tempArray[])
	{
		// Loop to control number of passes
		for (int pass = 1; pass < tempArray.length; pass++)
		{
			for(int element = 0; element < tempArray.length - 1; element++)
				if (tempArray[element].compareTo(tempArray[element + 1])>0)
				{
					swap(/*grd*/tempArray, element, element + 1);
				} // end if
		} // end for loop
		addTextToTextPane();
	}  // end sort()
BestJewSinceJC commented: very helpful in this thread... +5
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Ezzaral commented: Clear and right to the point. +21
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You better work harder on your school assignment as this may compile but will never run.
Next, there are some design flows. You have static values. What happens when you decide to use different values? You will need to re-write large portion of your code. Therefore introducing a way to read in values would be handy. Based on that hard coded values in for loops need to be replaced by variables (also please correct your logic of for loops). You need to come up with way to work out what will be the lowest possible value and maximum value for these variables. There is possibility of same result for more then one combination, you need to considerate that. Lastly, to print all combinations is pointless. Print only these that much result pattern.

Salem commented: Lots for the OP to think about, though I rather suspect it's fallen on deaf ears. +29
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
  1. Is there any problem between you and use of code tags that are required by this forum?
  2. If you took time to read previous replies you found find that
    • Post is old and revoked by somebody who just seek quick solution to his school assignment or plunge the hole in what ever he told his employer about his experiences and knowledge
    • Use of Ajax was mentioned, but considered as of topic or different point of implementation in this scenario, therefore not discussed
Salem commented: Well said +20
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Not that I do not want to help, but I did not get what you trying to do...

Salem commented: I lost interest at the lack of code tags, but since you've got the keys to the dungeon, perhaps.... +29
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Some coding would be welcome, reading from magic ball to locate your code issues is difficult these days ;)

If you can provide some code we will try to help you...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

OK, guys fun is over, no need to push it further.

@Zass101 if you actually took your time to read some rules of this forum you would found We only give homework help to those who show effort on top of Java section and therefore you would not posted such twaddle

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
Salem commented: Nice +29
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Design specific class to hold only menu items and all it needs (action listeners) and just add it to frames as you need it. If you design it properly you will also able to add some menu items to specific menu sections on the go as you need or do you need code example?

BestJewSinceJC commented: Good suggestion :) +3
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

There is only one array involved that you need to use. Video class represent an object that has to be stored in array.
I'm not gone do Video class for you as that is simple and judging by assignment topic you should be familiar with it. So assuming you already created your Video class this is skeloton of what you supposed to do

public class VideoTest {

    public static void main(String[] args){
    	Video[] video = new Video[5];
    	video[0] = new Video("Fast and Furious", 1);
    	video[1] = new Video("Save private Rayne", 5);
    	
    	printVideoList(video);
    	printByTitle(video);
    	printByRating(video);
    }
    
    private static void printVideoList(Video[] video){}
    
    private static void printByTitle(Video[] video){}
    
    private static void printByRating(Video[] video){}
}
  1. printVideoList() - uses just simple loop mechanism to print the list
  2. printByTitle() - need to be first sorted by title and then printed out
  3. printByRating() - need to be first sorted by rating and then printed out

Two things, if you clever you will reuse printVideoList() to help you out after sorting. Two, few days ago I made a post in regards of simple sorting that can be reused too...

VernonDozier commented: Good examples +12
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Last few days I'm having problem open daniweb page.

Anybody else with same issue?

nav33n commented: I thought of starting a thread on the same topic, but most of my threads have gone unanswered! So, I gave it a miss :) +11
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

That is very broad topic and you do better reading about it in any of Java Web development books like Head first servlets & JSP, Java JEE tutorials and NetBeans tutorials for Web Application building

Salem commented: An excellent display of patience with the person who needs to go do some reading for themselves rather than waiting to be spoon-fed all the way +29
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Not possible. I can help you fix errors if you get any, but you need to do your application on your own.

Salem commented: Gotta love the "I want to learn" followed by the "please do it for me" schtick from some people +29
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You may consider to have look on this article JSP database connectivity according to Model View Controller (MVC) Model 2 . Idea is fairly similar instead of passing a word to search in database you pass login details. Depending on certain factors the user account is either found or not found which make out for the first redirection (same as if the searched word was not matching with any image tag/description), secondly if account found depending on group to which account belongs appropriate page is showed ( so in case of flower you may provide automated link-queries to sub groups like rose, tulip etc. and still show few images). So this the general idea...

stephen84s commented: back to self promotion again :P +7
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You can do it in MIDlet, but I will say keep it in another class as that way your code would be easier to manage. Scrolling down hundred of lines is unpleasant sport

Ezzaral commented: Helpful posts in this thread! +19
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You forgot to give it an instance to which the method should be called

Main kpge = new Main();
        KeyPair kp = kpge.generateKeyPair(999);
        PublicKey pubKey = kp.getPublic();

However with your current code you just complicating your life. Do it like this

public class Generator {
    
    public PublicKey getPublicKey() throws Exception{
    
        Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
        KeyPairGenerator keyGenerator = KeyPairGenerator.getInstance("DSA");
        SecureRandom rng = SecureRandom.getInstance("SHA1PRNG", "SUN");
        rng.setSeed(seed);
        keyGenerator.initialize(1024, rng);
        KeyPair kp = keyGenerator.generateKeyPair()
        PublicKey pubKey = kp.getPublic();
        System.out.println("-- Public Key ----");
        System.out.println("   Algorithm=" + pubKey.getAlgorithm());
        System.out.println("   Encoded=" + pubKey.getEncoded());
        System.out.println("   Format=" + pubKey.getFormat());
        return pubKey;
    }
}

When you call Generator method getPublicKey() make sure you do it inside try/catch statement and take care of any exceptions

PS: Please in mind I cannot guaranty that above code will work 100% as I just simplified code provided by you

darkagn commented: Another very helpful thread by you :) +4
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I played around with your code and there is strange behaviour that I'm little baffled. I think that maybe somebody with depth knowledge of Java would be able to explain.
From your short code it is not clear why ever would you like to change text inside TextBox (I never need it to do so because of following). Under normal circumstances you will either pass text directly to TextBox constructor to be showed on the screen or collect text from this class. This class is normally placed on screen only accompanied by commands and does not really work in the same fashion as you may know TextArea or JTextArea in JSE that you collect data from one place and drop them in TextArea that is part taking in the GUI form. I think TextBox.setString(String) method will be deprecated with new release of Java Microedition.
So if you want to place any text into TextBox you need to do it in constructor TextBox(String title, String text, int maxSize, int constraints)

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

I do not want to sound rude, but you sound as classic example of drag&drop programmer that just got stack with his project because he is simply not able modify that crucial section of code need it.

I start every one of my projects with class that holds only main() method and nothing else. Something like this

package guifilereader;

/**
 * Created by IntelliJ IDEA.
 * User: Peter
 * Date: 03-Mar-2009
 * Time: 18:33:25
 */
import javax.swing.SwingUtilities;

public class GUIFileReader {

    public static void main(String[] args){

        SwingUtilities.invokeLater(new Runnable(){
           public void run(){
               ReadersGUI reader = new ReadersGUI();
               reader.init();
           }
        });
    }
}

This gives me flexibility of quickly and easily change starting frame by modifying 2-3 lines depending on import statement. Like this

SwingUtilities.invokeLater(new Runnable(){
           public void run(){
               LoginForm loginForm = new LoginForm();
               loginForm.init();
           }
        });

After that I would deploy background processes (form validation, connection to DB, retrieving DB result and acting on the result). SO if everything goes right I will open application, else return back to login frame

stephen84s commented: Ahh ..... we both arrived at the same conclusion (drag n drop programmer) only via different paths, :P +7
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Before anybody else step into this I will said don't do it.
IMtheBESTatJAVA blaming this on the community will not work. You are fully aware of the rule We only give homework help to those who show effort. The above "pretty interesting java problems" does not include any details of what you may think is the out come of this code execution. Given your previous history (yes people keep an eye on other people posting history) and no reply to obvious accusation even though you read our replies you could step in and state your intentions, but you did not do so.

Next time do us and your self favour, provide some possible problem solution and not just copy and paste whatever from wherever assignment.

Now we can continue discussion on top if you want to provide some comments on code, otherwise we may close this post down. Your call...

stephen84s commented: excellent reply +7
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Homework by may search, from Palo Verde High School (home page) and teacher name is Ms. Chang( class site)

stephen84s commented: Very Nice Catch +7
Salem commented: Excellent detective work +29
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Your post been moved from Introduction to JSP as it belongs here.
On top of the JSP section is sticky post JSP database connectivity according to Model View Controller (MVC) Model 2, which should help you get started with Java web development in regards of database connectivity, link is here

stephen84s commented: Well you kept your cool else I would have had a few words o say regarding his "fast solution" request." +7
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Is there something wrong with JSP database connectivity according to Model View Controller (MVC) Model 2 that is at the top of JSP section, you can view it here

stephen84s commented: I guess you should highlight and decorate that thread so that its more visible +6
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

You two do not really know where to stop teasing. Why do you constantly mock all new comers? Don't you think that one person saying "No, we will not do it for.." is clear message that if other side does not show some effort will get nothing out here?
verruckt24 you been already asked to stop this is polite way.
Consider this as last warning message for all of you. One post with adequate reply is enough!

If you feel there are not enough quality post here you are more then welcome to start your own thread and discuss what is you current project, how do you go about etc.

javaAddict commented: quite right +5
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If you check this tutorial you should be able to find answer to your question

stephen84s commented: :P There you go advertising your thread again +5
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

There are two ways how to get about this problem

1. One general listener for associated components like now in your case ItemListern

public void itemStateChanged(ItemEvent e) {
	
		if(e.getSource() == choice1) {
			if(choice1.getSelectedItem().equals("a")) {
				System.out.println("CORRECT!"); }
			else {
				System.out.println("WRONG!");
			}
			choice1.setEnabled(false);
		}
		else if(e.getSource() == choice2) {
			if(choice2.getSelectedItem().equals("b")) {
				System.out.println("CORRECT!"); }
			else {
				System.out.println("WRONG!");
			}
			choice2.setEnabled(false);
		}
	}

2.Each components handles his own events, in this case you can remove "implements ItemListener" from start of your class

choice1 = new JComboBox(new Object[]{"a","b","c","d"});
		x.gridx = 0;
		x.gridy = 3;
		con.add(choice1, x);
		choice1.addItemListener(new ItemListener(){
			public void itemStateChanged(ItemEvent ie){
				if(choice1.getSelectedItem().equals("a")) {
					System.out.println("CORRECT!"); }
				else {
					System.out.println("WRONG!");
				}
				choice1.setEnabled(false);
			}
		});
		
		choice2 = new JComboBox(new Object[]{"a","b","c","d"});
		x.gridx = 0;
		x.gridy = 5;
		con.add(choice2, x);
		choice2.addItemListener(new ItemListener(){
			public void itemStateChanged(ItemEvent ie){
				if(choice2.getSelectedItem().equals("a")) {
					System.out.println("CORRECT!"); }
				else {
					System.out.println("WRONG!");
				}
				choice2.setEnabled(false);
			}
		});

Preferences in usage are on the programmer. For long time I was going with first option, but now I turned to second as it is easier to find in the code and it does avoid complication of if/else if/else statements inside (one can get easily lost in that web)

PS: You are not closing frame properly you need to add this to your JFrame f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); let say after layout declaration
PS2: Please start using code tags as [code] YOUR CODE HERE [/code] or [code=Java]YOUR CODE HERE [/code]

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

LG developer section http://developer.lgmobile.com/

geoffy0404 commented: great help since i started on this site. +1
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

This works fine.

import java.io.File;
import java.io.IOException;

/**
 * Delete a file from within Java
 * 
 * @author Ian F. Darwin, http://www.darwinsys.com/
 * @version $Id: Delete.java,v 1.5 2004/02/09 03:33:47 ian Exp $
 */
public class Delete {
  public static void main(String[] argv) throws IOException {

    // Construct a File object for the backup created by editing
    // this source file. The file probably already exists.
    // My editor creates backups by putting ~ at the end of the name.
    File bkup = new File("C:\\test.txt");
    // Quick, now, delete it immediately:
    bkup.delete();
  }
}

Is there anything else you do with the file before deleting? Like using for temporary writing?

PhiberOptik commented: Lots of help thanks! +1
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Test class as suggested

public class Test
{
	private String question;
	private String optionA;
	private String optionB;
	private String optionC;
	private String answer;
	
	public Test(){}
	
	public Test(String quest, String oA, String oB, String oC, String ans)
	{
		setQuestion(quest);
		setOptionA(oA);
		setOptionB(oB);
		setOptionC(oC);
		setAnswer(ans);
	}
	
	private void setQuestion(String str){ question = str;}
	public String getQuestion(){ return question;}
	
	private void setOptionA(String str){ optionA = str;}
	public String getOptionA(){ return optionA;}
	
	private void setOptionB(String str){ optionB = str;}
	public String getOptionB(){ return optionB;}
	
	private void setOptionC(String str){ optionC = str;}
	public String getOptionC(){ return optionC;}
	
	private void setAnswer(String str){ answer = str;}
	public String getAnswer(){ return answer;}
}

Your re-done code, I made change to name( class name starts with capital letter any every other word in the name should start with capital too hence new class name SwingQuestionnaire) and also renamed some variables as to make it easier to work with it. Original names jcomp1 - jcomp6 are meaningless and difficult to remember which one is what

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;

public class SwingQuestionnaire extends JPanel implements ActionListener{
    private JLabel titleLabel;
    private JLabel questionNumLabel;
    private JButton nextButton;
    private JLabel questionLabel;
    private JRadioButton jrbA;
    private JRadioButton jrbB;
    private JRadioButton jrbC;
    private int score;
    private int qNum = 0;
    private Test[] test = new Test[3];


    public SwingQuestionnaire() {
        //construct components
        JSeparator line1 = new JSeparator (JSeparator.HORIZONTAL);
        ButtonGroup group = new ButtonGroup();
        //int score;
        initializeTest();
        titleLabel = new JLabel ();
        questionNumLabel = new JLabel();
        
        questionLabel = new JLabel ();
        jrbA …
Ezzaral commented: Nice example. +16
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Guys, lately many of you become more jabbing, pushing and aggressive in the responds to most of the questions asked on the forum specially if the request

  • list homework in copy&paste style
  • no coding
  • or incoherent requests

I do understand that you maybe tired of responding to trivial questions, but is there really need to go on-and-on. One request for closer specification or supporting coding is enough. Think about it...

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

If you checked out very first post of JSP section, there wouldn't be any need for this post...

stephen84s commented: Tsk... Tsk... Tsk ... What is daniweb coming down to ..... Shameless self promotion even from a Moderator :P +4
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Use of code tags [code] YOUR CODE HERE [/code]
or
[code=Java]YOUR CODE HERE [/code]

stephen84s commented: kind of late dont you think, I already blackmailed him in to using them :P +3
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Guys stop arguing, original poster did not show here for 32 days as now. From that you can draw your own conclusion. What I see, the question has been asked, pointers in appropriate direction showed, but poster did not try to take it any further. Either he give up on it or some other forum give him full solution.
What I would really like to see here is more in deep discussion of programming issues. Seeking advice on best programming practice, other ways to handle given task, tips & tricks. This is what is really missing here. We may start to drop in some mini-projects and ask others on their opinion on provided solution.

stephen84s commented: ok..ok.. I put all my weapons down :P +3
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

Actually, he wasn't asking about how to organise his web apps. He was asking a very simple question about database connectivity.

vivek_web:
Is your DSN definitely set up correctly? Also, try adding username/password details into the connection URL. For example:
jdbc:odbc:db;ID=username;PWD=password

He need to be pointed in more appropriate direction same as you. Recommending DB connectivity from view (JSP) is very bad thing to do. You may learn about it once you start doing larger projects, no just petty school assignments. Sooner you start using correct model less you will suffer...

stephen84s commented: Another lost soul of a "JSP" developer :'( +3
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

There is no such thing as applet for mobile phones, maybe you talking about MIDlet. For starting resources check this post.
If you have any more questions, please provide more in detail description of the problem

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

fName, lName are local variable of addIndividuals() method, therefore you can not use them outside of this method. Hence the zipCode, by some miracle made it (because of the zipCode = zipCode; which may be pure coincidence)
You have to either pass these values as parameters to your toString() method or declare fName, lName in the same manner as zipCode on the start of your class. Sorry, difficult to judge as the code is real mess :S

peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

There is number of programming languages available for mobile development

  • C# under .NET Compact Framework for Windows CE - easy to learn, fast development, large number of devices available however not portable and most of available libraries have to be acquired for larger amount of money (nothing new in Microsoft driven library development)
  • Symbian C++ - based upon the C++ with variety of own approaches to coding, numerous free libraries available, huge community support however I found difficulties to work with the language because of messed up API, with each new version there are portability issues
  • Java Microedition - in contrast to C# and Symbian, JME is portable to all devices expect iPhone so you have huge number of devices to test your application. As it is Java based with having previous experiences with Java anyone will progress fast. Well based industry support with libraries constantly being reviewed and update as necessary plus huge community support. Main disadvantage is JME is not able query underlying phone OS as C# and Symbian, therefore for example you can not launch your application on phone start up or start the application on some phone event
  • Android - new platform which seen release of new device just this October, as stated on their website "Applications are written using the Java programming language and run on Dalvik, a custom virtual machine designed for embedded use, which runs on top of a Linux kernel." Is one of the item on my To-Do list, but not …
stultuske commented: damn you're good :) well, either that or you spend a lot of time on Google +3
Ezzaral commented: Good info. +15
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster

All what John wants is just you to re-create Color class, but call it Colour as not to clash with original class. The exercise aims for you to show your understanding the concepts of creating new classes through variety of constructors as described per assignment. With set of accessors and setters methods to manipulate values stored by this class.

Notes for teaching week 3,4 & 5 is exactly what you will need it. If you want to pop in the library Deitel's book Java How to Program (6th Ed) and chapter 3 is again useful material to look into. So apply John's notes of dice to your assignment and you will do just fine

PS: The program is not GUI, you may learn about GUIs in the Event-Driven Programming module in second semester;)

jasimp commented: it's a small world after all +9