aspose file tools*
The moose likes Java in General and the fly likes List entry code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

List entry code

Chris Lavery
Ranch Hand

Joined: Nov 30, 2004
Posts: 54
i am trying to create code that will create a most recently used menu with a mximum of 10 items. it also must not allow for the same file to be noted more than once and every time an item is opedned it goes to the top of the list and the others drop down a place.
my problem so far is withthe constructor.
the following are my fields:

// --------------- FIELDS --------------

private static final int MAX_ITEMS = 10;
private int i;

Cansomeone please help with a constructor
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Please don't post the same question in more than one forum. Someone may waste their valuable time answering your question here when Stan is already on the case in the Beginner's forum.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: List entry code