Problem with JPanels -- probably a simple fix?

Hi all,
I feel really silly, but I cannot for the life of me figure out why my program is acting the way it is. I need to make two windows that are almost identical, except one has an extra panel of 3 buttons on top. For some reason, though, the bottom panel that's supposed to show up on both windows, even though I clearly add it, does not appear, and I can't figure out why. Can anyone give me a quick hand? I posted a SSCCE after my message.
Thanks,
Jezzica85
import java.awt.BorderLayout;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Test {
     public static JFrame one, two;
     public static void main(String[] args) {
          JPanel bottomPanel = new JPanel( new GridLayout( 0, 2 ) );
          for( Integer i = 0; i < 2; i++ ) {
               JButton button = new JButton( i.toString() );
          JPanel panel = new JPanel( new GridLayout( 0, 3 ) );
          for( Integer i = 0; i <= 2; i++ ) {
               JButton button = new JButton( i.toString() );
               panel.add( button );
          one = new JFrame( "One" );
          one.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
          one.add( bottomPanel, BorderLayout.SOUTH );
          one.setSize( 770, 580 );
          one.setLocationRelativeTo( null );
          two = new JFrame( "Two" );
          two.add( bottomPanel, BorderLayout.SOUTH );
          two.add( panel, BorderLayout.NORTH );
          two.setSize( 770, 580 );
          two.setLocationRelativeTo( null );
          two.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
          one.setVisible( true );
          two.setVisible( true );
}

You can't add the same component to two containers. Think about it: have you seen a method getParent () in the API? Now if your code worked the way you hoped it would, what wouldbottomPanel.getParent ()return?
Perhaps you could make a private JPanel getBottomPanel () method that returns a new bottomPanel andone.add ( getbottomPanel (), BorderLayout.SOUTH );
two.add ( getbottomPanel (), BorderLayout.SOUTH );db

Similar Messages

  • Problem with Jpanel repaintingl

    Hi!
    I have a problem with Jpanel.
    First , I add a Jscrollpane to the panel and I don't
    see it.
    Second, I have a paint method in the Jpanel and I do there some painting but when I exe the application I can see the panel painting only when I put the mouse cursor
    on the place where the panel need to be.
    It is very strange.
    Help me.
    Yair.

    Example code??
    Can't tell what's wrong otherwise.
    First , I add a Jscrollpane to the panel and I don't
    see it.Have you added anything to this JScrollPane? Unless you set the scroll bar policies to always on you won't see anything if you haven't added anything to the scrollpane.
    Also, if you're only adding this scrollPane to your JPanel initilise it with
    JPanel whippet = new JPanel(new BorderLayout())
    .. then when you add your scrollPanel to your JPanel do this to make sure its added slap in the in middle of it:
    whippet.add(yourScrollPanel, BorderLayout.CENTER);
    Bit more info please - duuuuuuuuuuuuuuuude (man, "Finding Nemo" was well funny didn't you think.. anyways, that's besides the point.... could just be my 8 year old mental age though.. who knows.)?

  • Problem with JPanel.updateUI()

    Hello,
    i have a problem with updateUI(), here's a simple example what's wrong. just compile and run the following piece of code and look what happens after 2 seconds: the left panel will be decrease its width after calling updateUI(), but why? is it a bug of updateUI() or is it my fault?
    import java.awt.*;
    import javax.swing.*;
    public class Test extends JPanel
            private JList m_list;
            private DefaultListModel m_listModel;
            private JPanel m_buttons;
            public static GridBagConstraints creategbc (int x, int y, int w, int h, int wx, int wy, int f)
                    GridBagConstraints gbc = new GridBagConstraints();
                    gbc.gridx = x;
                    gbc.gridy = y;
                    gbc.gridwidth = w;
                    gbc.gridheight = h;
                    gbc.weightx = wx;
                    gbc.weighty = wy;
                    gbc.fill = f;
                    gbc.insets = new Insets(5, 5, 5, 5); // kleinen Rahmen ziehen
                    return gbc;
            public Test ()
                    GridBagLayout gbl = new GridBagLayout();
                    setLayout(gbl);
                    GridBagConstraints gbc;
                    initButtons();
                    gbc = creategbc(0, 0, 1, 1, 20, 100, GridBagConstraints.NONE);
                    gbc.anchor = GridBagConstraints.NORTH;
                    gbl.setConstraints(m_buttons, gbc);
                    add(m_buttons);
                    initList();
                    JScrollPane sp = new JScrollPane(m_list);
                    gbc = creategbc(1, 0, 1, 1, 100, 100, GridBagConstraints.BOTH);
                    gbl.setConstraints(sp, gbc);
                    add(sp);
            public void addItem (String item)
                    m_listModel.addElement(item);
            public void initList ()
                    m_listModel = new DefaultListModel();
                    m_list = new JList(m_listModel);
            public void initButtons ()
                    m_buttons = new JPanel();
                    m_buttons.setLayout(new GridLayout(4, 1, 0, 20));
                    m_buttons.add(new JButton("Neu"));
                    m_buttons.add(new JButton("Bearbeiten"));
                    m_buttons.add(new JButton("L�schen"));
                    m_buttons.add(new JButton("Abfrage"));
            public static void main (String[] args)
                    JFrame f = new JFrame();
                    Test t = new Test();
                    f.setContentPane(t);
                    f.setSize(600, 450);
                    f.setVisible(true);
                    try
                            Thread.sleep(2000);
                    catch (Exception e)
                    t.addItem("Hallo");
                    t.updateUI();

    Hello,
    i have a problem with updateUI(), here's a simple
    example what's wrong. just compile and run the
    following piece of code and look what happens after 2
    seconds: the left panel will be decrease its width
    after calling updateUI(), but why? is it a bug of
    updateUI() or is it my fault?updateUI() its called when the L&F is changed, there is
    rarely a case when you need to call updateUI().
    Why do you call updateUI() if you remove the call to updateUI()
    everything will work OK.
    merry xmas

  • Problem with JPanel in JFrame

    hai ashrivastava..
    thank u for sending this one..now i got some more problems with that screen .. actually i am added one JPanel to JFrame with BorderLayout at south..the problem is when i am drawing diagram..the part of diagram bellow JPanel is now not visible...and one more problem is ,after adding 6 ro 7 buttons remaing buttons are not vissible..how to increase the size of that JPanel...to add that JPanel i used bellow code
    JFrame f = new JFrame();
    JPanel panel = new JPanel();
    f.getContentPane().add(BorderLayout.SOUTH, panel);

    Hi
    JFrame f = new JFrame();
    JPanel panel = new JPanel();
    // Add this line to ur code with ur requiredWidth and requiredHeight
    panel.setPreferredSize(new Dimension(requiredWidth,requiredHeight));
    f.getContentPane().add(BorderLayout.SOUTH, panel);
    This should solve ur problem
    Ashish

  • Problem with JPanel and JDesktopPane

    Hi,
    I am having a problem with my app and I wonder if someone can see what I am doing wrong. I have a class that extends JFrame that holds a centered JPanel to draw on. There are also 3-4 other JInternalFrames that are in use.
    From what I have read to use JDesktopPane to organize the JInternalFrames, all you do is add the JInternalFrames to the JDesktopPane and setContentPane to be the JdesktopPane:
            Jpanel panel = new JPanel();
            JDesktopPane dm = new JDesktopPane();
            setContentPane(dm);
            dm.add(panel, BorderLayout.CENTER);
            dm.add(internalFrame1);
            dm.add(internalFrame2);
            dm.add(internalFrame3);But as soon as I add the panel to the JDesktopPane then my JPanel doesnt show up. As I had it before I was adding the panel to the content pane of the Jframe, and adding the JinternalFrames to the layeredPane like this:
            getContentPane().add(panel, BorderLayout.CENTER);
            lp = getLayeredPane();
            lp.add(internalFrame1);
            lp.add(internalFrame2);
            lp.add(internalFrame3);and this worked but the JInternalFrames behaved badly, not getting focus or moving to the top frame when clicked, which I guess is what JDesktopPane is supposed to do. But how do I get my original JPanel in my JFrame to show up when added to the JDesktopPanel?
    Am I missing something here?
    Thanks,
    Paul

    Thanks for your response. I will try that when I get home, although I will be surprised if that works because I am already using setPreferredSize() . It seemed to me that once a Jframe's content pane gets assigned to a JDesktopPane, then the JPanel no longer has anywhere to draw itself, as according to the Sun documentation, you can only add a JInternalFrame to a JDesktopPane.
    So I am thinking its not possible to have a JPanel as the content pane of a JFrame while having a JDesktopPane containing my JInternalFrames. Is this indeed the case?
    Thanks,
    Paul

  • Weird problem with jpanel vs jframe

    I'm using jmathplot.jar from JMathTools which lets me do 3d plotting. I used a JFrame to get some code to work and it worked fine. Here's the code that worked for a JFrame:
    public class View extends JFrame
        private Model myModel;
        private Plot3DPanel myPanel;
        // ... Components
        public View(Model m)
            myModel = m; 
            // ... Initialize components
            myPanel = new Plot3DPanel("SOUTH");
            myPanel.addGridPlot("Test",myModel.getXRange(),myModel.getYRange(),myModel.getZValues());
            setSize(600, 600);
            setContentPane(myPanel);
            setVisible(true);
    }Here's the class that starts everything:
    public class TestApplet extends JApplet
        public void init()
            //Execute a job on the event-dispatching thread; creating this applet's GUI.
            try
                SwingUtilities.invokeAndWait(new Runnable()
                    public void run()
                        createGUI();
            catch (Exception e)
                e.printStackTrace();
        private void createGUI()
            System.out.println("Creating GUI");
            Model model = new Model();
            View view = new View(model);
    }And here's the Model:
    public class Model
        private double[] myXRange,myYRange;
        private double[][] myZValues;
        public Model()
            createDataSet();
        public double[] getXRange()
            return myXRange;
        public double[] getYRange()
            return myYRange;
        public double[][] getZValues()
            return myZValues;
        private void createDataSet()
            myXRange = new double[10];
            myYRange = new double[10];
            myZValues = new double[10][10];
            for(double i=0;i<10;i++)
                for(double j=0;j<10;j++)
                    double x = i/10;
                    double y = j/10;
                    myXRange[(int) i] = x;
                    myYRange[(int) j] = y;
                    myZValues[(int) i][(int) j]= Math.cos(x*Math.PI)*Math.sin(y*Math.PI);
    }However, as you can see, my main class is a JApplet because ideally I want View to be a JPanel that I add to the applet. All I did was change "extends JFrame" to "extends JApplet" and changed:
    setSize(600, 600);
    setContentPane(myPanel);
    setVisible(true);to
    this.add(myPanel);and added these two lines to createGUI():
            view.setOpaque(true);
            setContentPane(view);When I run it however, it appears really really small. It seems like its drawing the panel to the default size of the applet viewer and doesn't resize it when I resize the applet. I don't know if it's a problem with the library or if I'm doing something wrong in my applet.

    However, as you can see, my main class is a JApplet because ideally I want View to be a JPanel that I add to the applet. All I did was change "extends JFrame" to "extends JApplet" and (...)What do you mean? View extends JApplet? I thought View was meant to extend JPanel in the end...
    When I run it however, it appears really really small. It seems like its drawing the panel to the default size of the applet viewer and doesn't resize it when I resize the applet.Or, the panel has its preferred size, and this latter is too small. Actually the panel has the size its container's layout manager awards it (taking or not the panel's preferred, minimum, and maximum sizes into account). See the tutorial on [layout managers|http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html] .
    In particular, this line adds the myPanel to a parent panel (presumably, it is in class View which extends JPanel, whose default layout is FlowLayout):
    this.add(myPanel);
    I don't know if it's a problem with the library or if I'm doing something wrong in my applet.Likely not (presumably the library interfers only in how it computes the Plot3DPanel's preferred size). There's an easy way to tell: try to layout correctly a custom JPanel of yours, containing only e.g. a button with an icon. Once you understand the basics of layout management, revisit the example using ther 3rd-party library.
    N.B.: there are a lot of "likely" and "presumably" in my reply: in order to avoid hardly-educated guesses especially on what is or isn't in your actual code, you'd better provide an SSCCE , which means reproducing the problem without the 3rd party library.

  • Problem with JDBC results calling simple stored procedure in VC 7.0

    Hi all,
    I am building a simple VC model which calls a stored procedure on a JDBC database. I have created the system in the portal, defined the alias and user mapping, the connection test is fine and the VC "find data" lists my bespoke stored procedure.
    The stored procedure is :
    CREATE PROCEDURE dbo.dt_getBieUsers
    AS
    select * from dbo.emailuserlink
    GO
    When I test it using query analyser, it returns 3 records each with the two fields I expect - user and email address.
    I drag the model onto the workspace in VC and create an input form ( with just a submit button ). i drag the result port out to create a table. This has no fields in it.
    I build and deploy as flex and the app runs, I click the submit button and SUCCESS! I get 3 records in my table each with 2 fields. The data is all correct. The problem with this is the fields are determined at runtime it seems.
    I go back to the table and add 2 columns "email" and "address".
    i build and deploy and run the app. Again I get 3 records, but this time the contents of all of the rows is not data, but "email" and "address". The data has been replaced by the header texts in all of the rows.
    Can anyone help? Why isn't the data being put in my columns as I would expect?
    I tried to build and deploy the app as Web Dynpro rather than Flex to see if it was a bug in Flex. The application starts but when I click the submit button to run the JDBC stored procedure I get a 500 Internal Server Error
    com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: No configuration is defined for the entry JDBCFunction
        at com.sap.tc.wd4vc.xglengine.XGLEngine.createComponentInternal(XGLEngine.java:559)
        at com.sap.tc.wd4vc.xglengine.XGLEngine.getCompInstanceFromUsage(XGLEngine.java:362)
        at com.sap.tc.wd4vc.xglengine.XGLEngine.getCompInstance(XGLEngine.java:329)
        at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngine.getCompInstance(InternalXGLEngine.java:167)
        at com.sap.tc.wd4vc.xglengine.XGLEngineInterface.getCompInstance(XGLEngineInterface.java:165)
    The JDBC connection I am using has a connection URL of jdbc:sap:sqlserver://localhost;DatabaseName=BIEUSERS
    and a driver class of com.sap.portals.jdbc.sqlserver.SQLServerDriver
    Can anyone solve my wierd problems?
    Cheers
    Richard

    Hi Richard,
    After you drag and drop the data service, right click on it and choose "Test data service". Then click on "Execute" and after you see the result on the right, click on "Add fields" button (inside the same window). Now you'll see that the fields are on the tabel. This is required only for JDBC data services, since this data (how the resultset is built) is not know in DT and it needs to be run firest - then analysed and only then you have to add the fields to the table).
    Regards,
    Natty

  • A familiar problem with a not so simple solution

    Hey all, I'm having a problem with my phone and I was hoping that someone could help me out. Now, this is a problem which I know has been posted on these boards before, but I was unable to find a solution in the threads that I've seen.
    The problem is concerning my podcasts, I'm receiving the "Not transferred because they cannot be played on this iPhone" message, this is happening for a few of my podcasts. The podcasts that are causing the problem are designed for the iPhone and downloaded through iTunes. I've tried several methods to "fix" these podcasts, including not having them in a playlist, and right-click and creating an iPhone version (then sync it as a movie - still won't work).
    I can sync most episodes of the podcasts that are having this problem, it's only a handful that don't work (though the number is steadily climbing). I'm not sure what else I can try. If anyone can help me with this, I'd be very grateful.

    what is the podcast? let me know and i'll try it on my iPhone, any maybe a few other users would be so kind as to try it out for you, too.
    Message was edited by: Sboq

  • Problem with BB10 that still not fixed...when will we see them fixed?

    there are some problem that I have noticed on the Verizon network that is Gimping my BB10 experience which is not making me happy
    1 The Verizon network is causing a big problem with remote file access. (still no update on a fix)
    2 The Verizon network is causing a problem with built in voice mail. (still no update on a fix)

    The newer versions of the BB10 OS software fix the first problem, however I use the free YouMail app (sideloaded app officially provided by the developer) for Virtual Voice Mail so I don't know about the problem with #2.
    You can load the official 10.2 OS upgrade that is being released worldwide onto your Verizon Z10.  The Verizon reps here will say you will void your BlackBerry warranty, but these are official OS's, not "leaks", so it will not.  Go to CrackBerry.com to find out how, it's not too hard to install unless you don't know anything about using a computer.

  • Problem with validation - can this be fixed?

    Hello I used an online tutorial to create an "express CSS
    menu" the menu looks really good but it does not validate and in
    IE7-Vista every page you try to access prompts an error that says
    "Problems with this webpage may prevent it from displaying
    properly.... error object expected..."
    Is there anyway for me to fix this and keep this menu??
    here is the link:
    http://122.252.5.31/~lisa927/index.html
    I did validate the menu example I used before I began but did
    not realize the example used doctype html 4.01 and I am using xhtml
    1.0, if I try to change my doctype to html 4.01 I get all sorts of
    errors so my question is can i make this menu validate in xhtml
    1.0???
    shontelle

    > <script type="text/javascript"
    src="p7exp/p7exp.js"></script>
    >
    That would be correct assuming the file is IN THE TEMPLATES
    FOLDER. It
    should not be.
    All links in the TEMPLATE file *should* be one of three kinds
    1. Relative to the template file, e.g.,
    <a href="../ (meaning that you must go up one level from
    the template folder
    to reach the root of the site, hence all other files, since
    none of them
    should be in the templates folder)
    2. Relative to the site root, e.g.,
    <a href="/ (meaning that one would begin looking for the
    linked file at the
    root of the site and follow the pathing from that point)
    3. Absolute, e.g.,
    <a href="
    http:// (meaning that the link is to a page
    external to the site).
    If you are seeing any other kind of link, then it hasn't been
    made properly.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "shonts" <[email protected]> wrote in
    message
    news:g16sce$a2k$[email protected]..
    > HI something very strange going on.
    >
    > the code in my template reads : <link
    href="../truestyles.css"
    > rel="stylesheet" type="text/css" media="screen" />
    > <script type="text/javascript"
    src="p7exp/p7exp.js"></script>
    >
    > but when all the child pages created from the template
    the code appears
    > <link href="truestyles.css" rel="stylesheet"
    type="text/css"
    > media="screen" />
    > <script type="text/javascript"
    src="Templates/p7exp/p7exp.js"></script>
    > <!--[if lte IE 7]>
    > <style>
    >
    > The file "templates" is added there is nothing in my
    templates folder but
    > templates.
    >
    > if you access
    http://122.252.5.31/~lisa927/p7exp/p7exp.js
    where the
    > template
    > tells you to you will see the file has been uploaded.
    >
    > any ideas why the "template" is being added to the code
    on child pages??
    >

  • Anyone know if the long standing duplicate files problem with File History has been fixed yet?

    There are loads of public threads about the duplicate files problem
    with Windows 8/8.1 File History backup system.
    From all the threads I've looked at, there seems to be no solution,
    and no acknowledgement from MS that they can even repro the problem
    (which surprises me considerably as there are so many people who
    notice the problem).
    Is anyone aware of whether MS (may) have fixed this for Win10?
    Are MS aware of the problem and if they're able to fix it?
    Dave - with many GB of duplicated files in File History :)

    Hmm, is that the attitude MS would recommend? :)
    Why would I care what Microsoft would recommend?
    Clearly you don't, and you appear to have missed my smiley. Calm down
    Noel, many of us are as annoyed by aspects of modern Windows as you
    are. :)
    I'm all about making Windows actually WORK/./
    Aren't we all? Windows is software I use too many hours every day, I
    along with many millions of others need it to work really well. You
    are not alone.
    When they implement something that doesn't work, and even if it did work doesn't do what's needed - and/beyond that/ they remove features people DO need (such as the GUI for Windows Backup), I see no wrong in advising people of the way things
    really are.
    File History essentially does work - it's saved me a couple of times
    in the past couple of weeks. It just has a highly annoying habit of
    creating 100% duplicates of some files for no apparent reason. If MS
    have fixed that I won't have any known complaints about it.
    If you don't like it, you don't have to use it. I generally like it, I
    just want to see that its fixed.
    Dave

  • Problems with compilation of a Simple JSP

    Hello!
    This is a typical newbie problem with starting off on JDeveloper 3.0 (JDK 1.1.8) and Oracle 8i (8.1.1). When I create a simple JSP (The "Hello World" Jsp given in the File | New | Web Objects option) and try to run it - it gives me the following error :
    java.io.IOException CreateProcess : cmd.exe /C start "" "C:\PROGRAM FILES\ORACLE\JDEVELOPER 3.0\myprojects\WebAppRunner.html" error = 0
    Obviously the JSP does not run.
    Any pointers about what might be wrong?
    Regards
    Mona

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mona Marathe ([email protected]):
    Hello!
    This is a typical newbie problem with starting off on JDeveloper 3.0 (JDK 1.1.8) and Oracle 8i (8.1.1). When I create a simple JSP (The "Hello World" Jsp given in the File | New | Web Objects option) and try to run it - it gives me the following error :
    java.io.IOException CreateProcess : cmd.exe /C start "" "C:\PROGRAM FILES\ORACLE\JDEVELOPER 3.0\myprojects\WebAppRunner.html" error = 0
    Obviously the JSP does not run.
    Any pointers about what might be wrong?
    Regards
    Mona<HR></BLOCKQUOTE>
    The above error message is likely due
    to JDeveloper looking for the NT command
    interpreter named CMD.EXE .
    I was able to run servlets with JDeveloper
    and Windows 98 by copying COMMAND.COM to
    C:\CMD.EXE, which was much easier to do
    than putting a new OS on my machine.
    Cheers,
    David

  • Probably a simple fix ...

    why doesnt my page look the same in the browser as it does in dreamweaver?
    < what it looks like in dreamweaver ... perfect
    < what it looks like in my browser ... all spread out and messed up
    there is probably something simple i am doing or not doing but i cannot figure it out hopefully someone can help me out
    thank you so so so so much!
    here is this page's code if needed:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Designs by Christina Mae  |  School { print }</title>
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <style type="text/css">
    <!--
    body,td,th {
    color: #A78462;
    body {
    background-image: url(../webimages/background.gif);
    background-repeat: repeat;
    float: inherit;
    -->
    </style></head>
    <body onload="MM_preloadImages('slices/school-motion/motion_rollover_09.gif','../slices/school- print/print_rollover_04.gif','../slices/school-print/print_rollover_06.gif','../slices/sch ool-print/print_rollover_10.gif','../slices/school-print/print_rollover_09.gif')">
    <table width="1024" height="384" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="221"><table width="221" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="221"><img src="../slices/school-print/print_01.gif" width="221" height="73" /></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_03.gif" width="221" height="71" /></td>
          </tr>
          <tr>
            <td><a href="../web&amp;motion/DESIGNS_motionweb.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','../slices/school-print/print_rollover_04.gif',1)"> <img src="../slices/school-print/print_04.gif" name="Image8" width="221" height="18" border="0" id="Image8" /></a></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_05.gif" width="221" height="33" /></td>
          </tr>
          <tr>
            <td><a href="../freelance/DESIGNS_freelance.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','../slices/school-print/print_rollover_06.gif',1)" ><img src="../slices/school-print/print_06.gif" name="Image11" width="221" height="21" border="0" id="Image11" /></a></td>
          </tr>
          <tr>
            <td><img src="../slices/school-print/print_07.gif" width="221" height="552" border="0" usemap="#Map3" /></td>
          </tr>
        </table></td>
        <td width="803"><table border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="655" nowrap="nowrap" bgcolor="#F9F3DE"><script type="text/javascript" src="swfobject.js"></script>
    <div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player.
    <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
    <script type="text/javascript">
    var fo = new SWFObject("viewer.swf", "viewer", "800", "600", "8", "#f8f0dd");
    fo.write("flashcontent");
    </script></td>
          </tr>
          <tr>
            <td nowrap="nowrap"><table width="605" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="553"><p><img src="../slices/school-print/print_08.gif" width="591" height="113" /></p></td>
                <td width="52"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="42"><p><a href="../resume.pdf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','../slices/school-print/print_rollover_09.gif',1)" ><img src="../slices/school-print/print_09.gif" name="Image13" width="212" height="23" border="0" id="Image13" /></a></p>
                      </td>
                  </tr>
                  <tr>
                    <td><p><a href="mailto:[email protected]" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','../slices/school-print/print_rollover_10.gif',1)" ><img src="../slices/school-print/print_10.gif" name="Image12" width="212" height="22" border="0" id="Image12" /></a></p>
                      </td>
                  </tr>
                  <tr>
                    <td><p><img src="../slices/school-print/print_11.gif" width="212" height="68" /></p>
                      </td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <div align="center"></div>
    <map name="Map" id="Map"><area shape="circle" coords="114,449,42" href="DESIGNS_home.html" />
    </map>
    <map name="Map2" id="Map2"><area shape="circle" coords="112,447,40" href="DESIGNS_home.html" />
    </map>
    <map name="Map3" id="Map3"><area shape="circle" coords="114,445,43" href="../DESIGNS_home.html" />
    </map></body>
    </html>

    It's always nicer to see the live page on remote server so we can see the images and everything in context.
    Try changing this:
    body {
    background-image: url(../webimages/background.gif);
    background-repeat: repeat;
    float: inherit;
    to this:
    body {
    background: url(../webimages/background.gif) repeat;
    Also,  remove the height="value"  from your tables.  It's not valid code.
    HTML Validator - http://validator.w3.org 
    CSS Validator - http://jigsaw.w3.org/css-validator/  
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Tried opening Firefox and got error code 502 - problem with server - how do i fix please

    i tried to open internet through Firefox as usual and got repeated error message 502 (problem with server - try again in 30 seconds) - but no joy. is there a problem with the server or is there a problem at my end somehow?
    tks Paul

    Thanks for the suggestion Rhonda. You're correct in saying this is impractical though. The fact is, I can't open a tab to keep it open. After doing some online research, I was able to locate a site where I could download a previous Firefox version (6.0). Problem solved! Google: "''How can I find a previous version of Firefox''. As I stated in my original question, Mozilla should not update w/o making certain it doesn't create these issues. I spent hours on this. I also turned off auto updates. I appreciate your suggestion. Thank you!

  • When I updated to 10.4.10, had problems with wireless. Able to fix problem

    I have a mac mini G4 since Sep 06. I had no problems with wireless until I updated to 10.4.10. My problem was I could only connect to the internet for about 10 minutes then it would not respond. I had to turn off airport then turn it back on then it would work for about 10 more minutes. I have AT&T DSL, speed stream 4100 modem, and D Link 524 router. I went to D Link web site and found out when I use encryption WEP,WPA,ETC. it has to be hexadecimal key with dollar sign ($) before the hex key (Apple computers only). Before the update, I only used password with no problems for about 9 months. Instead of using a password use 64 bit encryption its 10 hexadecimal key or 128 bit encryption its 26 hexadecimal key. Valid hexadecimal characters are 0-9 and A-F. Example of 64 bit key is $0123456789 instead of password. After I did this, I been on the internet for hours with no problems. I hope this info can help out.

    Take a look through some of the other threads in this forum. Almost 100% of Safari 3 trouble after the OS X 10.4.11 update is caused by third party plugins, extensions, and input managers. Check in these folders and report back what you have in them.
    /Library/Internet Plug-Ins (this is the Library folder in the top level of your hard drive)
    ~/Library/Internet Plug-Ins (this is the Library folder located in your Home (username) folder)
    /Library/Input Managers
    ~/Library/Input Managers
    Or if you know that you have installed some third party stuff along the way try un-installing them. Again, read some of the other threads here to see who the main suspects are. Once you know what is causing your trouble then, if you still want to use the third party plug-in, go to a site like [Version Tracker|www.versiontracker.com] and look for updated versions that work with Safari 3.

Maybe you are looking for

  • JMS receiver adapter Error

    Hi Experts, Any idea about this error. We are getting following in JMS receiver adapter in PI 7.1. Delivering the message to the application using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exce

  • Input type (.plsql) and how to get rid of it.

    So, i have two sqldeveloper instances - an older multiplatform one and the second 1.1.2 from rpm. Now it says: "Addin: Translator PlSql is trying to register a input type (.plsql) which conflicts with translator PlSql who already using this input typ

  • Query task based on payload (urgent and not getting any solution)

    Hi, I m creating a task in BPEL process with following payload. <?xml version="1.0" encoding="UTF-8"?> <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/RegistrationUpload_jws/Registrat

  • Android open pdf at particular page

    Hi I am developing an Android app in which I want to open PDF at a specific page. Is it possible by mentioning the same in Intent parameters or specific Adobe Pramaters. Thanks !

  • HT1937 how to get back 3g option from lte on iphone 5s

    how to get back 3g option from lte on iphone 5s