List creation - invisible output problem

the method in question is appendItem(Object obj) in the ObjList class.
The ObjList class:
import java.util.NoSuchElementException;
public class ObjList {
     protected Node              list;   // Link to start of list;
     /** Creates a new (empty) ObjList. */
     public ObjList() {
          this.list = null;
     /** Returns the length of this ObjList. */
     public int length() {
          Node ndcur = this.list;     // Currently scanned node.
          int i = 0;                    // Index of current node nd.
          while (ndcur != null) {
               // Count one more item, and move on to the next one.
               ++ i;  ndcur = ndcur.tail();
          // i is index of the null item at the end of the scan,
          // which is also the number of non-null node links scanned.
          return i;
     /** Inserts the given object at the front of this list. */
     public void prependItem(Object obj) {
            Node n = new Node(obj, list);
            list = n;
     /** Inserts the given object at the end of this list. */
     public void appendItem(Object obj) {
            Node t = new Node(obj, null);
            list.setTail(t);
     /** Returns the item at position i in this list. */
     public Object getItemAt(int i) throws NoSuchElementException {
                Object obj = null;
          return obj;
     /** Inserts the given object into this list at position i
      * (so that the item previously at position i, and any
      * items at later positions, are all moved up by one position).
     public void insertItemAt(Object obj, int i)
     throws NoSuchElementException {
          if (i == 0)
               // "insert at 0" is just "prepend".
               this.prependItem(obj);
          else {
               // ASSERT: 1 <= i;
               // TBD
     /** Deletes the item at position i from this list. */
     public void deleteItemAt(int i) {
          if (this.list == null)
               throw new NoSuchElementException(
                    "deleteItemAt("+i+"): list is empty!");
          // ASSERT: list is non-empty.
          // TBD
     /** Returns a string representation for this list. **/
     public String toString() {
          // Represent the list as one item per line,
          // plus header/footer...
          final String EOL = System.getProperty("line.separator");
          // Use a string buffer to build the result.
          StringBuffer str =
               new StringBuffer("----ObjList:start----"+EOL);
          // Scan the nodes, generating one line for each.
          for (Node nd=this.list; nd!=null; nd=nd.tail())
               str.append(nd.head()).append(EOL);
          str.append("----ObjList:end----"+EOL);
          return str.toString();
     /*########  Node class definition.   ########*/
     /** The list Node class definition is essentially as in
      * the lecture notes.
     protected static class Node {
          private Object      h;          // head
          private Node        t;          // tail link
          public Node(Object hd, Node tl) {
               this.h = hd;  this.t = tl;
          public Object   head() { return this.h; }
          public Node     tail() { return this.t; }
          public void     setTail(Node tl) { this.t = tl; }
}The Main class:
public class IntList extends ObjList implements IntListSpec {
    /** main() -- basic IntList checking method. */
    public static void main(String[] args) {
    IntList intlist = new IntList();
    intlist.prependItem(1);
    intlist.prependItem(2);
    intlist.prependItem(3);
    intlist.appendItem(1);
    intlist.appendItem(2);
    intlist.appendItem(3);
    System.out.println(intlist.toString());
//        // e.g. ...
//          // Create a list of size 1 million -- if this takes a long time
//          // then the constructor that takes an array parameter is
//          // not as efficient as it could be.
//        int[] million = new int[1000 * 1000];
//        System.out.println("List of a million --- start creation.");
//        IntListSpec ilm = new IntList(million);
//        System.out.println("List of a million --- created.");
//        System.out.println();
          // Release the large data items.
//        million = null;
//        ilm = null;
          // etc., etc.
/*########  IntList Constructor and Instance Methods.  ########*/
    /** Creates a new (empty) IntList. */
    public IntList() {
        super();
    /** Creates a new IntList containing the given values, in order. */
    public IntList(int[] values) {
        this();
          // TBD
          // (add successive values from the array into the list, but
          // do it efficiently!)
     /** Inserts value n at the front of this list. */
    public void prependItem(int n) {
   // Delegate this one to our superclass.
        super.prependItem(new Integer(n));
     /** Appends value n at the end of this list. */
    public void appendItem(int n) {
        // Delegate this one to our superclass.
  //      super.appendItem(new Integer(n));
     /** Finds and returns the value at position i in this list. */
    public int getIntAt(int i) {
//        // Delegate this one to our superclass.
      return i;//((Integer)(super.getItemAt(i))).intValue();
     /** Inserts value n at position i in this list. */
    public void insertIntAt(int n, int i) {
        // Delegate this one to our superclass.
  //      super.insertItemAt(new Integer(n), i);
     /** Deletes the value at position i in this list. */
    public void deleteIntAt(int i) {
        // Delegate this one to our superclass.
  //      super.deleteItemAt(i);
     /** Returns a one-line display string for this list. */
    public String toString() {
        // Represent this list as a single-line string
          // (which may be inconvenient when the list is big!).
        StringBuffer str = new StringBuffer("<");
        if (this.list != null) {
            str.append(this.list.head());
               Node cur = this.list.tail();
            while (cur != null) {
                str.append(" " + cur.head());
                    cur = cur.tail();
        str.append(">");
          return str.toString();
}The interface class:
import java.util.NoSuchElementException;
* NB  In the method definitions below; the index i is assumed
* to be non-negative; if it is too big for the given operation
* then a NoSuchElementException should be thrown.
public interface IntListSpec {
    // List operations, as in the "Linked Data Structures"
    // lecture.
     /** Inserts value n at the front of this list. */
    void prependItem(int n);
     /** Appends value n at the end of this list. */
    void appendItem(int n);
     /** Finds and returns the value at position i in this list. */
    int getIntAt(int i) throws NoSuchElementException;
     /** Inserts value n at position i in this list. */
    void insertIntAt(int n, int i) throws NoSuchElementException;
     /** Deletes the value at position i in this list. */
    void deleteIntAt(int i) throws NoSuchElementException;
     /** Returns a one-line display string for this list. */
    String toString();
}My problem, as implied by the subject, is that when outputting the contents of this list after the 6 operations, only prependItem is being shown. Bear in mind that we were given all the code (degree course at uni) other than the prepend method, the append method, and all other places marked 'TBD'.
Any help would be appreciated. I think what is happening is that 'list' doesn't know it has these extra items on the end, although I thought list.setTail(t) should have sorted that.
Anyhow, many thanks in advance.

You're not linking the previous tail with this new item you're trying to append.
This is not a Java related question. It is an algorithm question. You don't have your algorithm correct, and we're not here to do your homework for you.

Similar Messages

  • Drop List-Visible/Invisible Drop List

    Here is my senario.
    I have a drop-down list with two items:ITEM_A,ITEM_B
    Also I have two others Drop-down lists:ListItem_A,ListItem_B
    The presence for these two drop list is invisible.
    This that I like to achive is when a user select ITEM_A for example,Drop list(ListItem_A)to become visible or if they select ITEM_B for example,Drop list(ListItem_B)to become visible.
    Thank and HAPPY NEW YEAR

    Dear Thomas, Thank you very much for your help, this problem works now. As you can tell, I have no idea of JavaScript. What do I have to add to the code for the following:
    My drop Down List (DD0) has 3 options (Values 0,1,2) If I select 0 (which is the Default value), it should leave the 2 other DD-Lists (DD1 and DD2) invisible.
    If I select 1, it should only show DD1 and if I select 2, it should only show DD2.
    Here is the code that I entered under the change event of the first list (DD0), but it doesn't work:
    if (form1.Main.Vessel.Table1.Row2.DD0.rawValue == 1)
    form1.Main.Vessel.Table1.Row2.DD1.presence = "visible";
    else if (form1.Main.Vessel.Table1.Row2.DD0.rawValue == 2)
    form1.Main.Vessel.Table1.Row2.DD2.presence = "visible";
    else
    form1.Main.Vessel.Table1.Row2.DD1.presence = "hidden"; form1.Main.Vessel.Table1.Row2.DD2.presence = "hidden";
    What do I need to change? And Thank you very much for the quick help! If you'd like to, I can also send you the form.

  • Macbook mini DVI to DVI output problems

    hi
    I've been using a samsung syncmaster 22" with my macbook for about a year now with no problems using the mini DVI to DVI connection
    then earlier this week i used a different DVI cable to plug my playstation 3 into the screen, when i plugged the computer DVI cable back into the screen lots of red/pink pixels have taken over the screen and when the desk is nudged red lines flash up
    i thought it might be either the DVI cable or the mini DVI to DVI adapter and replaced both to no avail, i have also tested all the cables on other screens/with other computers, and tested the screen with my playstation. Screen and cables all work fine so i think it must be some kind of output problem, but cant work out what it could be seeing as nothing would have happened to the port on the actual computer whilst changing connections on the samsung screen
    sorry for the long winded post, really wanna know what the problem is here

    Hi cbeth,
    welcome to macbook forum.
    For your friend macbook, try to press F7 back and forth to switch between mirror and expanded mode.
    Try to update your macbook hardware firmware and software using software updater and repair permission after that...application/utilities/disk utility/repair permission.
    Also reset your PRAM and PMU.
    Open your friend system preference / display and try to compare and set yours similar to hers, including resolution, color depth, refresh rate.
    Good Luck.

  • Autorization of Sales District and Price List Creation to the User

    Dear Experts,
    At Present the end user (customer) is sending the request of New Sales District and Price List Creation to SAP SD Consultant and the consultant creates the same in Development Client SPRO through T code OVR0 etc. and then transports the same to Quality and Production Server. This Process takes a lot of time
    We want to provide the direct access of Sales district and Price List creation to the user in PRD.
    Kindly Let me know what is the best way in which we can handle this situation.
    Regards,
    Ranjan Singh

    Are you sure you want to do that? You will create inconsistencies between the systems which will jepardise future tests. I suggest you just train end-user to do the procedure him/her self. I don't think it costs so much time to transport a couple of requests.

  • Mac mini audio output problems

    This is similar to a problem that appeared before, but with a different twist.
    On 4 July all was well. On 5 July I switched on and there was no "chord" from the Mac. When I collected my mail - no sound from my speakers (which are part of my screen). Logged on to a couple of sites - no sound.
    The System Profiler, under the "Audio (Built In)" category, says: "No Built-in Audio." I know that's wrong because it's always worked before and when I plug my headset in it works fine.
    When I go to the Sound preferences panel in System Preferences, it finds the headset but if I unplug that it finds nothing.
    I tried running the hardware test (by putting in the OS X install disc and holding D during startup.) It couldn't find a problem.
    So, as far as I can see, audio output is fine for the USB headset output but not for the others. Is there a simple fix? The nearest Apple store is about 200 miles away and I don't fancy the idea of posting the Mac off.
    (And I think it's still under warranty for a couple more weeks.)
    Mac mini   Mac OS X (10.4.10)  

    hello mini users with the "no audio output" problem
    it seems that there are faulty output jacks in the macbook and the mac mini
    there are two things you can try:
    i tried everything and began thinking about what new software i had installed. it was "macam" which enables you to use older webcams on OSX. i needed that to use my webcam on skype.
    macam installs a file called "macam.component"
    if you have the same, do this - take that file out of:
    (your hard drive)/library/quicktime - macam.component
    and just put it on your desktop
    restart, then in your sound pref's choose your audio output (if doesn't work restart again)
    the first time i took it out, i had my sound back instantly, another time i had to choose audio output in sound prefs. you kind of have to try different things. after you get your sound back, you can put back "macam.component" to use your webcam.
    it seems macam causes the problem, the two can not work at the same time.
    the second thing: if you dont have "maccam" try plugging and unplugging output jack a few times and restarting until you have sound.
    the problem still could be with the OSX 10.4.10 update / quicktime...or maybe even a hardware problem like others with macbooks were saying (with the red light), not sure.
    people with macbooks and who have the red light on, say to use a paperclip to turn off the switch inside.
    my mini does not have a red light on. i tried using a paperclip but it doesnt work.
    hope this helps, beleive me i feel your pain!!!!
    what good is a computer without sound?
    extremely annoying problem that i hope apple looks into and fixes
    -andrew

  • Delimited output problem at the time of writing in to text file

    Hi ,
    I am using matrix stayle design for my reports when i am generating reports in delimited format i am getting Delimited output problem(DR.Watson ERROR) at the time of writing in to textfile.

    Hi,
    Try with new desformat delimiteddata which is available with Report 6i patch 11.
    Thanks
    Oracle Reports Team

  • Source List creation

    Dear Gurus,
    Here in client place we are havng one material(Aluminium) with different dimensions. They are maintaining material codes as per the dimensions. They are purchasing the material from Three vendors.When creating source list they need to assign the materials to the vendor automatically, instead of entering it. Is there any possibility for doing this?. kindly solve this doubt of mine.

    HI,
    First Maintain Info Records between those materials and Vendors. Then go to Source list creation - ME01 and click on generate records button (ctrl+F7). Then vendors will come automatically.
    Hope it helps.
    Regards,
    sai.

  • I would like to know the list of possible output (export) file codec from FCP X. For example, can I export  in F4V or FLV format?

    I would like to know the list of possible output (export) file codec from FCP X.  For example, can I export  in FLV format?  Where do I find the list, which gives me all the details about it?  Or is there only one output codec? Thanks

    That's an excellent analogy. While FCP cannot export FLV. It is possible to do a very simple substitution. If you export a QuickTime movie using the .mov suffix with the H.264 codec, you can change it to FLV simply by changing the suffix to .flv. This is an acceptable format for Flash movies on most web sites, if that's where you're trying to go.

  • AME can i create a Rule type List Creation and category For Your Info?

    Hi,
    I have created two rules.
    1st rule create the list of approvers to approve the leaves i.e. supervisor then department head.
    Till this every thing is going fine transaction are getting approved by both approvers and leave is crated in Application.
    Now I create 2nd rule to send FYI notification to HR Administrator.
    When employee Appling for leave it shows the list of approvers correctly i.e. supervisor, department head as approvers and HR Administrator FYI notify.
    Now HR Administrator opens the notification and close the notification and Approvers approved the transaction. PPROBLEM IS Transaction is not getting close and hence leave is not getting create in application._
    Edited by: SHEIKHG on Aug 28, 2009 9:11 PM

    No I have not customized the workflow. becuse the notification have all details if the rule is list creation. But if rule type is post-chain-of-authority approvals or pre-chain-of-authority approvals then the notificaiton has no useful info.
    Thats why I want to use Rule Type List creation for FYI notification. But when i do so my transaction is not getting complete.

  • Premiere Elements 12 output problem

    I am having problems outputting my project. Different errors messages.  One says transcoding error.  Another time it says export error.  Other times it crashes. And then the program won't even open. 
    Any suggestions?
    bwatson9

    Steve,
    First, thank you for your prompt response.  This is the first time I have used Premiere Elements 12.  I don't seem to have a manual for the software.
    The product was bought with my new computer.  I am using windows 8.1 (64-bit) with Intel Core i7-4770 CPU @ 3.40GHz.  I have 12 GB of installed RAM.  I have 1TB hard drive of which this is the first project I done. 
    I have checked to make sure that I am getting all Windows and Microsoft Updates.  I even manually went to Windows Update and installed the optional updates.
    The project is a 20 min. video using mostly photos and 2 small video clips.  The project is saved in its own folder.
    When I go to the timeline in Expert view I do see an orange-yellow line above the timeline.  It runs the whole length of the project.
    I understand from reading the FAQ's that each photo cannot be larger than 1000 x 750 pixels.  I will check that and reduce their size.  Is there anything else that I need to do?
    Where can I find a manual?
    Thanks,
    bwatson9
    Date: Sun, 23 Mar 2014 06:31:03 -0700
    From: [email protected]
    To: [email protected]
    Subject: Premiere Elements 12 output problem
        Re: Premiere Elements 12 output problem
        created by Steve Grisetti in Premiere Elements - View the full discussion
    A lot depends on a lot.
    What operating system are you using? What processor do you have and how much RAM and how much free space is on your hard drive?
    How long is your project? What model of camcorder is your video coming from and what format and resolution is it?
    Have you ensured that your project file is saved to its own folder, with no other project files in this folder?
    When you add your video to your timeline in Expert view, do you see a yellow-orange line above the clips, along the top of the timeline? This indicates a mismatch between project settings and video specs.
    If you are on a Windows computer, have you set up your computer to get both Windows and Microsoft Updates -- and have you manually gone to Windows Update and ensured you have even the optional updates that don't install automatically?
    When did you last run Disk Cleanup and Disk Defragmenter?
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6234402#6234402
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6234402#6234402
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6234402#6234402. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Premiere Elements at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • HT201317 My photostream in windows 7 PC does not shows any pic. when i click on slide show it start showing me slide shows of pic but when i try to copy files i cant do as no photo is viewd in list mode. This problem has arised since IOS is updated.

    My photostream in windows 7 PC does not shows any pic. when i click on slide show it start showing me slide shows of pic but when i try to copy files i cant do as no photo is viewd in list mode. This problem has arised since IOS is updated.I reinstalled my icloud and checked if icloud sharing is ON. I can see pic in my photo stream in PC only in slide show mode. While in list mode it shows pics before i actually click on photostream folder. My phone memory is out becose of bunch of photoes. How do i copy my photostream photoes.

    Hi all.  I can’t tell you how to solve your iCloud 3.x issues.  Heck, I don’t think they’re even solvable.
    But if you had a previous version of iCloud that was working correctly then I can definitely tell you how to solve the “iCloud Photo Stream is not syncing correctly to my Windows 7 PC” problem.  …without even a re-boot.
    Log out of iCloud 3.0 and uninstall it.
    Open My Computer and then open your C:\ drive.  Go to Tools/Folder Options and click on the View tab.  Select the “Show hidden…” radio button and click on OK.
    Open the Users folder.
    Open your user folder
    Open ProgramData (previously hidden folder)
    Open the Apple folder – not the Apple Computer folder.
    Open the Installer Cache folder
    In Details view sort on Name
    Open the folder for the newest entry for iCloud Control Panel 2.x – probably 2.1.2.8 dated 4/25/2013
    Right click on iCloud64.msi and select Install.
    When finished, the synching between iCloud and your PC will be back to working perfectly as before the 3.0 fiasco.  The pictures will be synched to the same Photostream folder as before the “upgrade”.  Now all you need to do is wait until Apple/Microsoft get this thing fixed and working before you try the 3.x upgrade again.
    I think the iCloud 3.0 software was written by the same folks who wrote healthcare.gov with the main difference being that healthcare.gov might eventually be made to work.
    For those of you who hate to go backwards, think of it as attacking to the rear.  Which would you rather have, the frustration of no synching or everything working on an older version?
    Good luck…

  • Graphic output problems in most programs - triangles ...

    - often at scrolling in the Finder
    - it appears spontaniously and dissappers/flicker if mouse is moving ...
    - in some programs it is permanent for example 3D Coat
    - different often and strong in different programs - in some there is no problem (5% - for example ZBrush)
    - Mountain Lion does not fix it - only some changes - for example Quicktime (not Fullscreen) a big triangle in the down left
    - little greeen/red pionts, like defect Pixels, in little groups are appearing too! - Photoshop, Final Cut Video Output...

    A screenshot give you a copy of what is actually sitting in the screen buffer.
    So this is not an "output" problem. That stuff has been messed up in the screen buffer.
    to draw the mouse cursor, the area around the pointer must be re-constructed. That is why moving the mouse cursor seems to "repair" it.

  • Print Output problem in ECC6

    Hi Friends,
    I am getting print output problem in ECC6.
    In VF03 I am giving issue output for invoice printing. Whenever I am presseing issue output one screen is coming for selecting output type. I have selected one output type and I pressed print preview then in print preview one item and corresponding amounts it is showing properly for the first time. But the problem is after the print preview if I come back and again if i press print preview button values are not getting refreshed and same item is repeated for twice and the amounts are also getting added. Again for the third time if i come back and again if i press print preview one more item is getting repeated and the amounts are also getting added which should not suppose to happen.
    What could be the problem and how to resolve it?
    Rewarded,
    Steve

    Hi,
    clear those variables in the program .
    Regards,
    Bharat.
    Reward points if helpful

  • J Option Pane Output Problem

    Hi guys,
    I am new to Java and I am having trouble compiling this program via which I can calculate the number of months to pay off a loan.
    I am not sure why it is not compiling and would really appreciate some solutions or suggestions
    Thanks a lot.
    import javax.swing.JOptionPane;
    public class Final
    public static void main(String[] args)
    String LoanAmount;
    String Months;
    String AnnualInterestRate;
    String MonthlyPayments;
    double balance;               
    double interest;
    double payment;
    int months=1;
    LoanAmount=JOptionPane.showInputDialog("Enter Loan Amount:");
    AnnualInterestRate=JOptionPane.showInputDialog("Enter Interest Rate:");
    MonthlyPayments=JOptionPane.showInputDialog("Monthly Payments:");
    balance=Double.parseDouble(LoanAmount);
    interest=Double.parseDouble(AnnualInterestRate);
    payment=Double.parseDouble(MonthlyPayments);
    months=Integer.parseInt(Months);
    while (balance>0)
    {balance=(balance+(interest/12)*(balance))-payment;
    months=months+1;
    JOptionPane.showMessageDialog(null, "Number of Months ", +months);
    Edited by: Java1001 on Sep 15, 2009 11:45 PM

A: J Option Pane Output Problem

Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
You are passing 3 parameters -- a null, a String and an int -- to the JOptionPane#showMessageDialog method. In the [_API_|http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html], do you find a variant of this method that accepts these three parameters?
db

Use code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
You are passing 3 parameters -- a null, a String and an int -- to the JOptionPane#showMessageDialog method. In the [_API_|http://java.sun.com/javase/6/docs/api/javax/swing/JOptionPane.html], do you find a variant of this method that accepts these three parameters?
db

  • Creation of Control Problem: List of application EJB is empty

    Hello ! Could anybody assist me to solve this problem ?
    When I try to create EJB Control I can't receive list of application EJB. I'm receiving message no resources found in corresponding dialog for ejb's list. I can't understand what happened with application because some days before I created ejb controls without any problems.

    Hi
    Which version of workshop are you on? Version: 9.2.1
    Also do you have ejb projects in the application that
    contains EJB's?I have ejb project with ejbs, list with ejb was displayed before
    For the application EJB list, we are looking through
    all of the EJB projects, but only look at those
    defined as EJBGen beans. We don't look at any
    standard EJBs, whose metadata is defined in
    descriptors rather than annotations. This is an
    pending enhancement request.Where EJBGen beans setting must be set ? May be in some internal workshop setting file ? ;-) :-E
    >
    Do you see any error in the error log view when you
    access the EJB list? (Windows -> Show View -> Other
    -> PDE Runtime -> Error Log)No any error messages appear when I'm trying to access the EJB list
    >
    Vimala-Version: 9.2.1
    I have ejb project

  • Maybe you are looking for

    • IOS App 8.1.5 Remote Desktop can't connect to Windows 7 Pro after upgrade. Error 0x00000507

      Nothing has changed between my network, Windows 7 computer or my iPad besides the upgrade of the ios app software to 8.1.5.  Did not used to have any issues connecting but now when I try to connect, I get the above error when logging in. I have tried

    • Sort Order Inconsistency Between iPhone OS and Mac OS

      In any application (Address Book, Bento, Excel sheets, etc.), items are sorted alpha-numerically (letters followed by characters and numbers) on the iPhone, but they are sorted numero-alphabetically (characters and numbers followed by letters) in the

    • F-03 clearing gl a/c

      Hi All, When iam clearing GL A/c This is Message is comming  Ex.rate diff.accts are imcomplete for account 0019121801 currancy BRL. Plse tell how to slove this Regards, Thiru

    • Find Prior Month Sales Per Salesman?

      I have salesmen throughout the country. Each salesman sells in a particular state. I want to total up each salesman's invoice sales for the prior month (I will also do this for: July 2010, %Difference between July 2011/July2010, YTD 2010, YTD2011, an

    • Links at the top of the page do not work, neither does arrow to move up

      Using the browser, when I move the cursor over the links at the top of the page they appear to be inactive. Also the arrow at the right top (right most column) does not move the page up. Everything below the top 5-7 lines work fine. Other browsers wo