Results 1 to 3 of 3

Thread: BlueJ

  1. #1
    luigihs is offline Member
    Join Date
    Oct 2012
    Posts
    6
    Rep Power
    0

    Question BlueJ

    Help me I trying to do this BlueJ I should do

    public void setColor(String color){
    view.setColor(color);
    }

    but It doesnt let me compile I suppose to change color :/
    This code says that helps me to set the colour of the rectangle used to display this bar. Parameters:
    color - the new colour for the rectangle ...

    Cheers!

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,015
    Rep Power
    20

    Default Re: BlueJ

    What class is the parameter 'color' suppose to be for the setColor method on 'view'?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,244
    Rep Power
    19

    Default Re: BlueJ

    Please find and go through the Forum Rules, particularly the third paragraph.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. bluej help
    By fatooma92 in forum New To Java
    Replies: 3
    Last Post: 03-06-2012, 03:36 PM
  2. bluej help
    By xpanhol in forum Java Applets
    Replies: 4
    Last Post: 01-29-2012, 12:46 AM
  3. BlueJ - UML
    By Nghi97 in forum New To Java
    Replies: 5
    Last Post: 11-28-2011, 11:03 AM
  4. Need help with blueJ
    By samd89 in forum Other IDEs
    Replies: 6
    Last Post: 12-06-2010, 04:59 PM
  5. BlueJ 2.2.0
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 07-07-2007, 02:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •