Results 1 to 3 of 3
  1. #1
    xpandaxlover is offline Member
    Join Date
    Apr 2010
    Posts
    2
    Rep Power
    0

    Default how to finish this?

    //
    //march 22,2010
    //period 4
    import javax.swing.*;
    import java.awt.*;
    public class Display10 extends JPanel
    {
    private JLabel label;
    private int last, next;
    public Display10()
    {
    setLayout(new GridLayout(1, 1));
    next = 5;

    label = new JLabel("5");
    label.setFont(new Font("Serif", Font.BOLD, 100));
    label.setHorizontalAlignment(SwingConstants.CENTER );
    label.setForeground(Color.blue);
    add(label);
    }
    private void pickNext()
    {

    /************************/
    /* */
    /* Your code goes here. */
    /* */
    /************************/

    }
    public boolean guessHigh()
    {
    pickNext();
    return next > last;
    }
    public boolean guessLow()
    {
    pickNext();
    return next < last;
    }
    }

  2. #2
    mchammer11 is offline Member
    Join Date
    Apr 2010
    Posts
    14
    Rep Power
    0

    Default

    hmm..lets post the same non-question twice.
    what is your problem exactly?

    and no, nobody wants to do your hw

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. help me to finish my project..
    By syedabu in forum NetBeans
    Replies: 1
    Last Post: 07-19-2010, 10:13 PM
  2. how to finish this?
    By xpandaxlover in forum New To Java
    Replies: 1
    Last Post: 04-09-2010, 08:42 PM
  3. I know there's an error, let me finish typing!
    By Stravant in forum Eclipse
    Replies: 1
    Last Post: 12-26-2009, 04:26 PM
  4. Finish Java Application
    By ojsimon in forum Jobs Offered
    Replies: 8
    Last Post: 12-07-2009, 05:25 PM
  5. Next, Finish Buttons !!!
    By pele in forum SWT / JFace
    Replies: 1
    Last Post: 07-14-2007, 06:22 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
  •