Login Frame looks Weird / Textfields are huge

hi
i'm trying to do an 800x600 swing frame - a login interface. the only two items on the frame should be
account id label / textfield on top of
password label / textfield
these items should be centered on the frame
the following code looks really weird. the textfields are huge and i can't figure out how to center the items on the frame.
any help appreciated
    // center, and a submit button in it's south.
    contentPane = (JPanel) this.getContentPane();
    contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
    contentPane.setBorder(BorderFactory.createEtchedBorder());
    this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    this.setSize(new Dimension(800 /*width*/, 600));
    this.setTitle("User Client - Login");
    jPanel1.setLayout(new FlowLayout(FlowLayout.CENTER));
    jPanel2.setLayout(new GridLayout(3,1)); 
    jPanel3.setLayout(new FlowLayout(FlowLayout.CENTER)); 
    accountIDLabel.setText("Account ID:");
    accountIDLabel.setBounds(new Rectangle(28, 50, 140, 25));
    accountID.setBounds(new Rectangle(173, 50, 213, 29));
    passwordLabel.setText("Password:");
    passwordLabel.setBounds(new Rectangle(28, 50, 140, 25));
    password.setBounds(new Rectangle(173, 50, 213, 29));
    jPanel2.setToolTipText("");
    contentPane.add(jPanel2, null);
    jPanel2.add(accountIDLabel, null);
    jPanel2.add(accountID, null);
    jPanel2.setToolTipText("");
    contentPane.add(jPanel2, null);
    jPanel2.add(passwordLabel, null);
    jPanel2.add(password, null);

The real question is why are you trying to make a login screen 800 x 600. A dialog that large will look ugly. You should just add the components to you dialog and pack() the dialog so the components can be displayed at their preferred size. This is the way most applications work.
However, to answer your question you could do something like:
import java.awt.*;
import javax.swing.*;
public class BoxLayoutCenter extends JFrame
     public BoxLayoutCenter()
          //  BoxLayout will attempt to resize components to fit the space
          //  available, however it will respect the maximum size of a component.
          JPanel panel = new JPanel( new GridLayout(2, 2) );
          panel.add( new JLabel( "Username:" ) );
          panel.add( new JTextField( 10 ) );
          panel.add( new JLabel( "Password:" ) );
          panel.add( new JTextField( 10 ) );
          panel.setMaximumSize( panel.getPreferredSize() );
          //  By default buttons are left aligned. Allow for center alignment.
          JButton button = new JButton("I'm in the middle");
          button.setAlignmentX(0.5f);
          Box box = Box.createVerticalBox();
          box.add( Box.createVerticalGlue() );
          box.add( panel );
          box.add( Box.createVerticalStrut(10) );
          box.add( button );
          box.add( Box.createVerticalGlue() );
          getContentPane().add(box);
     public static void main(String[] args)
          BoxLayoutCenter frame = new BoxLayoutCenter();
          frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
          frame.setSize(300, 200);
          frame.setLocationRelativeTo( null );
          frame.setVisible(true);
}

Similar Messages

  • Turned my computer on and Firefox/Thunderbird fonts look weird all are set to default...

    Turned my computer on and Firefox/Thunderbird fonts look weird all are set to default... Ive disabled all addons/extensions/themes ran it in safemode reinstalled firefox. Nothing changed... the font looks like a crappy version of the default font. Also all my font settings are correct.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.

  • My subs look good in dvdsp but when I burn an example the subs are too high in the frame.All my offsets are 0 and the alignment button is bottom.

    My subs look good in dvdsp but when I burn an example the subs are too high in the frame.All my offsets are 0 and the alignment button is bottom.
    Any thoughts

    Try creating a new project, and bring in a short clip and one or 2 subtitles and see if you see the same behavior.  If you don't,  something's probably wonky in the project.  If the sample behavior has the same problem, if you want to send it to me with the associated media, I'll take a quick look.
    My email is [email protected]

  • I imported set of photos but the dark areas looks weird. How can I correct it?

    I tried to create a photo slideshow using iMovie. Everything works great except one issue. The dark area of the photos looks weird after import. Please check this screenshot: https://www.evernote.com/shard/s245/sh/bc44cc6d-3ab1-4d4b-91b2-9e466192c2c8/9257 952cec51ec08671cb8083086cf68
    Original size of the photo is 4000px in witdh. I also tried to resize it to 800px with same result.
    Any help will be greatly appreciated!

    Did you take a backup in between taking the photos and deleting them ? If you did then try restoring to that backup (you will need to restore the whole iPad, you can't just do the Photos app) and they should be put back.
    Backups and restores : http://support.apple.com/kb/HT4079
    When you create new albums directly on your iPad and 'copy' photos into them you are effectively just creating pointers to the orginal photos, you aren't creating copies of the photos - so if you then delete the original photo you will also be deleting all pointers to and therefore be removing it from all albums that you've copied it into (you should have got a warning when deleting the photo that that would happen).

  • I bought an iPhone 5.  I was at work event and left cord in hotel.   I've visited 2  apple stores and it looks very bleak.  HUGE regret for being an early adopter.   Consumer BEWARE.   Apple was not prepared.   These cords are impossible to find

    I bought an iPhone 5.  I was at work event and left cord in hotel.   I've visited 2  apple stores and it looks very bleak.  HUGE regret for being an early adopter.   Consumer BEWARE.   Apple was not prepared.   These cords are impossible to find

    I can not confirm this kind of experience.
    Even here in Germany, where articles are sold after the U.S. market is supplied, I had no problem buying a Lightning cable yesterday.
    There were about 20 to 30 cables available in the customer area alone, not to mention what they perhaps had in their storage.
    So why not make a short trip to Munich, Bavaria, visit the Octoberfest and buy a Lightning cable.
    What makes me much more angry is that I was told there is no dock planed for the iPhone 5.

  • When I look at photos in Facebook (groups) the photos are huge. How do I get the size back to normal?

    Photos are huge in Facebook ( groups) ??

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Pages look weird after reinstall

    I formatted my drive, installed Win7, then reinstalled my CS3 suite.  I created "new" sites to match the ones that I already had and pointed them to the folders where the files were.
    The pages all look weird in DW now.  It only shows a header (a php include) and nothing else.  If I publish the page like this, when it gets to the browser it looks fine.  I've included page code below, and also a screenshot of what I'm seeing in DW.  If anyone can help me get back on track I'd appreciate it.
    Mike.
    <?php require_once('Connections/imaging101.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    mysql_select_db($database_imaging101, $imaging101);
    $query_rs_accordion = "SELECT * FROM accordion_panel ORDER BY id DESC LIMIT 1";
    $rs_accordion = mysql_query($query_rs_accordion, $imaging101) or die(mysql_error());
    $row_rs_accordion = mysql_fetch_assoc($rs_accordion);
    $totalRows_rs_accordion = mysql_num_rows($rs_accordion);
    mysql_select_db($database_imaging101, $imaging101);
    $query_rs_main_text = "SELECT * FROM home_text ORDER BY id DESC LIMIT 1";
    $rs_main_text = mysql_query($query_rs_main_text, $imaging101) or die(mysql_error());
    $row_rs_main_text = mysql_fetch_assoc($rs_main_text);
    $totalRows_rs_main_text = mysql_num_rows($rs_main_text);
    ?>
    <html>
    <head>
    <title>Imaging 101</title>
    <script src="spry_assets/SpryAccordion.js" type="text/javascript"></script>
    <link href="spry_assets/SpryAccordion.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    <!--
    .style1 {
    font-size: 12px;
    font-weight: bold;
    .style3 {font-size: 12; font-weight: bold; }
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    //-->
    </script>
    </head>
    <body rightmargin="0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <center>
    <br />
    <table width="764" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td colspan="5">
    <?php include('includes/head1.php'); ?>
    </td>
    </tr>
    <tr>
    <td style="background-image: url('images/a42.jpg'); background-repeat: repeat-y;" valign="top" height="100%">
    <table cellpadding="0" cellspacing="0" border="0" height="100%">
    <tr>
    <td height="100%" valign="top"><img src="images/a12.jpg" /></td>
    </tr>
    <tr>
    <td><img src="images/a50.jpg" /></td>
    </tr>
    </table>
    </td>
    <td valign="top" style="background-image: url('images/a90.jpg'); background-repeat: repeat-y;" height="100%">
            <table cellpadding="0" cellspacing="0" border="0" height="100%">
    <!-- BEGIN LOGIN BOX ------------------------------->
            <?php include('includes/logbox.php') ; ?>
            <!-- END LOGIN BOX -------------------------------------->
    <tr>
    <td><img src="images/a48.jpg" /></td>
    </tr>
    <tr>
    <td><img src="images/a49.jpg" /></td>
    </tr>
    <tr>
    <td>
                <table cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td style="background-image: url('images/a55.jpg'); background-repeat: repeat-y;"><img src="images/a55.jpg" /></td>
    <td>
    <!-- BEGIN LEFT PANE ----------------------------------------------------->
    <?php include('includes/left_pane.php') ; ?>
           <!-- END LEFT PANE --------------------------------------------------------------------------------------->
    </td>
                <td style="background-image: url('images/a58.jpg'); background-repeat: repeat-y;"><img src="images/a58.jpg" /></td>
    </tr>
            </table>
    </td>
    </tr>
    <tr>
    <td><img src="images/a88.jpg" /></td>
    </tr>
    <tr>
    <td height="100%" valign="top">
    <!-- BEGIN LEFT PANE LOW ---------------------------------------------------------->
    <?php include('includes/left_pane_low.php') ; ?>
        <!-- END LEFT PANE LOW ------------------------------------------------------------->
    </td>
    </tr>
    <tr>
    <td><img src="images/a999.jpg" /></td>
    </tr>
             </t
    ></table>
    </td>
    <td valign="top" style="background-image: url('images/a43.jpg'); background-repeat: repeat-y;" height="100%">
    <table cellpadding="0" cellspacing="0" border="0" height="100%">
    <tr>
    <td><img src="images/a14.jpg" /></td>
    </tr>
    <tr>
    <td><img src="images/a26.jpg" /></td>
    </tr>
    <tr>
    <td height="100%" valign="bottom"><img src="images/a97.jpg" /></td>
    </tr>
    </table>
    </td>
    <td valign="top" height="100%" style="background-image: url('images/a61.jpg');">
    <table cellpadding="0" cellspacing="0" border="0" height="100%">
    <tr>
    <td>
    <?php include('includes/nav_horizontal.php') ;?>
    </td>
    </tr>
    <tr>
    <td><img src="images/a27.jpg" /></td>
    </tr>
    <tr>
    <td height="100%">
    <table cellpadding="0" cellspacing="0" border="0" height="100%">
        <tr>
    <td style="background-image: url('images/a59.jpg'); background-repeat: repeat-y;" valign="top"><img src="images/a31.jpg" /></td>
    <td height="100%" valign="top">
    <!-- CONTENT AREA START -->
    <table cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td style="background-image: url('images/inbg.jpg'); background-repeat: no-repeat;">
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td width="103px" align="center" valign="top" style="background-image: url('images/a32.jpg'); background-repeat:no-repeat; "><img src="images/a32_top.jpg" width="103" height="5"><br /><img src="images/upload/top_pic.jpg" width="93px" height="82px"></td>
    <td><img src="images/a221.jpg" /></td>
    <td valign="top" class="inarea">
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td valign="top" style="background-image: url('images/a34.jpg'); background-repeat:no-repeat;"></td>
    </tr>
    <tr>
    <td style="background-image: url('images/a222.jpg'); background-repeat: no-repeat;"> <?php echo $row_rs_main_text['main_top']; ?><a href="<?php echo $row_rs_main_text['more_url']; ?>" class="heavy">  <?php echo $row_rs_main_text['more_txt']; ?></a> </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="background-image: url('images/a52.jpg'); background-repeat: repeat-x;">
    <tr>
    <td><img src="images/a51.jpg" /></td>
    <td width="100%" align="right"><img src="images/a54.jpg" /></td>
    </tr>
    <tr>
    <td colspan="2"><img src="images/spacer.gif" width="1" height="18" /></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td><img src="images/spacer.gif" width="10" height="1" /></td>
    <td width="100%" valign="top" class="inarea"><div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
                                    <div class="AccordionPanelTab">            <span class="style3"><?php echo $row_rs_accordion['head'] ;?></span></div>
        <div class="AccordionPanelContent"><a href="<?php echo $row_rs_accordion['link'] ;?>"><img src="<?php echo $row_rs_accordion['image'] ;?>" /></a></div>
        </div>
      <div class="AccordionPanel">
                                    <div class="AccordionPanelTab">            <span class="style3"><?php echo $row_rs_accordion['head2'] ;?></span></div>
        <div class="AccordionPanelContent"><a href="<?php echo $row_rs_accordion['link2'] ;?>"><img src="<?php echo $row_rs_accordion['image2'] ;?>" /></a></div>
        </div>
      <div class="AccordionPanel">
                                    <div class="AccordionPanelTab">            <span class="style3"><?php echo $row_rs_accordion['head3'] ;?></span></div>
        <div class="AccordionPanelContent"><a href="<?php echo $row_rs_accordion['link3'] ;?>"><img src="<?php echo $row_rs_accordion['image3'] ;?>" /></a></div>
        </div>
    </div>
      <br /></td>
    <td><img src="images/spacer.gif" width="15" height="1" /></td>
    <td>
    <table width="180" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td style="background-image: url('images/a65.jpg'); background-repeat:no-repeat; height:37px">
    <!-- START WIMPY BUTTON: Standard HTML -->
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="wimpybutton186" width="37" height="37" id="wimpybutton186">
    <param name="movie" value="/player_assets/wimpy_button.swf" />
    <param name="loop" value="false" />
    <param name="menu" value="false" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="wmode" value="transparent" />
    <param name="flashvars" value="theFile=audio/samples/sample_1.mp3&playingColor=000000&arrowColor=FFFFFF&grinderCo lor=00C3FF&theBkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton =no&wimpyReg=NUhBcHNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid =wimpybutton186" />
    <embed src="/player_assets/wimpy_button.swf" flashvars="theFile=audio/samples/sample_1.mp3&playingColor=000000&arrowColor=FFFFFF&grind erColor=00C3FF&theBkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindBu tton=no&wimpyReg=NUhBcHNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t& myid=wimpybutton186" width="37" height="37" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton186" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>
    <!-- END WIMPY BUTTON: Standard HTML -->
    </td>
    </tr>
    <tr>
    <td>
    <img src="images/spacer.gif" width="180" height="10" /></td>
    </tr>
    <tr>
    <td style="background-image: url('images/a65.jpg'); background-repeat:no-repeat; height:37px">
                                        <!-- START WIMPY BUTTON: Standard HTML -->
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="37" height="37" id="wimpybutton189">
    <param name="movie" value="/player_assets/wimpy_button.swf" />
    <param name="loop" value="false" />
    <param name="menu" value="false" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="wmode" value="transparent" />
    <param name="flashvars" value="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio%2Fsa mples%2Fsample%5F2%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&theBkgd Color=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton=no&wimpyReg=NUhBc HNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton189" />
    <embed src="/player_assets/wimpy_button.swf" flashvars="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio% 2Fsamples%2Fsample%5F2%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&the BkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton=no&wimpyReg=N UhBcHNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton18 9" width="37" height="37" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton189" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>
    <!-- END WIMPY BUTTON: Standard HTML -->
                                        </td>
    </tr>
    <tr>
    <td>
    <img src="images/spacer.gif" width="180" height="10" /></td>
    </tr>
    <tr>
    <td style="background-image: url('images/a65.jpg'); background-repeat:no-repeat; height:37px">
                                        <!-- START WIMPY BUTTON: Standard HTML -->
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="37" height="37" id="wimpybutton190">
    <param name="movie" value="/player_assets/wimpy_button.swf" />
    <param name="loop" value="false" />
    <param name="menu" value="false" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="wmode" value="transparent" />
    <param name="flashvars" value="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio%2Fsa mples%2Fsample%5F3%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&theBkgd Color=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton=no&wimpyReg=NUhBc HNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton190" />
    <embed src="/player_assets/wimpy_button.swf" flashvars="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio% 2Fsamples%2Fsample%5F3%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&the BkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&displayRewindButton=no&wimpyReg=N UhBcHNSNFFRJTdGeVhhQzVMJTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton19 0" width="37" height="37" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton190" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>
    <!-- END WIMPY BUTTON: Standard HTML -->
                                        </td>
    </tr>
    <tr>
    <td>
    <img src="images/spacer.gif" width="180" height="10" /></td>
    </tr>
    <tr>
    <td style="background-image: url('images/a65.jpg'); background-repeat:no-repeat; height:37px">
    <!-- START WIMPY BUTTON: Standard HTML -->
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="37" height="37" id="wimpybutton192">
    <param name="movie" value="/player_assets/wimpy_button.swf" />
    <param name="loop" value="false" />
    <param name="menu" value="false" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#FFFFFF" />
    <param name="wmode" value="transparent" />
    <param name="flashvars" value="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio%2Fsa mples%2Fsample%5F4%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&theBkgd Color=0048FF&rollOverColor=FF0000&buttonStyle=square&wimpyReg=NUhBcHNSNFFRJTdGeVhhQzVMJTdE cWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton192" />
    <embed src="/player_assets/wimpy_button.swf" flashvars="theFile=http%3A%2F%2Fwww%2Ewattproductions%2Ecom%2Fsites%2Fimaging101%2Faudio% 2Fsamples%2Fsample%5F4%2Emp3&playingColor=000000&arrowColor=FFFFFF&grinderColor=00C3FF&the BkgdColor=0048FF&rollOverColor=FF0000&buttonStyle=square&wimpyReg=NUhBcHNSNFFRJTdGeVhhQzVM JTdEcWxoJTJCJTNEY2QxLWhsJTJBayUyOSU3QmElMkI3YU9t&myid=wimpybutton192" width="37" height="37" bgcolor="#FFFFFF" loop="false" menu="false" quality="high" name="wimpybutton192" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" /></object>
    <!-- END WIMPY BUTTON: Standard HTML -->
                                        </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td><img src="images/spacer.gif" height="25" width="1" /></td>
    </tr>
    <tr>
    <td>
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="background-image: url('images/a52.jpg'); background-repeat: repeat-x;">
    <tr>
    <td><img src="images/a86.jpg" /></td>
    <td width="100%" align="right"><img src="images/a54.jpg" /></td>
    </tr>
    <tr>
    <td colspan="2"><img src="images/spacer.gif" width="1" height="16" /></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
    <tr>
    <td><img src="images/spacer.gif" width="10" height="1" /></td>
    <td width="100%"><p><?php echo $row_rs_main_text['main_bottom']; ?><a href="<?php echo $row_rs_main_text['bottom_more_url']; ?>" class="heavy">  <?php echo $row_rs_main_text['bottom_more_txt']; ?></a></p></td>
    <td><img src="images/spacer.gif" width="10" height="1" /></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <!-- CONTENT AREA END -->
    </td>
    <td style="background-image: url('images/a99.jpg'); background-repeat: repeat-y;" valign="top"><img src="images/a36.jpg" /></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td><img src="images/a96.jpg" /></td>
    </tr>
    </table>
    </td>
    <td style="background-image: url('images/a44.jpg'); background-repeat: repeat-y;" valign="top" height="100%">
    <table cellpadding="0" cellspacing="0" border="0" height="100%">
    <tr>
    <td><img src="images/a20.jpg" /></td>
    </tr>
    <tr>
    <td><img src="images/a28.jpg" /></td>
    </tr>
    <tr>
    <td height="100%" valign="bottom"><img src="images/a98.jpg" /></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td colspan="5"><img src="images/a100.jpg" /></td>
    </tr>
    <tr>
    <td colspan="5">
    <?php include('includes/foot.php') ;?>
    </td>
    </tr>
    <tr>
    <td colspan="5" style="background-image: url('images/a105.jpg'); background-repeat: repeat-x;"><img src="images/a105.jpg" /></td>
    </tr>
    </table>
    </center>
    <script type="text/javascript">
    <!--
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    //-->
    </script>
    </body>
    </html>
    <?php
    mysql_free_result($rs_accordion);
    mysql_free_result($rs_main_text);
    ?>

    You are missing your DOCTYPE on your page, it should go in-between
    <?
    and
    <html>
    Create a new page and the first up to 3 lines will be your DOCTYPE, as an example
    <!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" xml:lang="en" lang="en">
    Gary

  • I didn't install Genieo because it looked weird but it says its running when I try to throw it away

    I didn't install Genieo because it looked weird but it says its running when I try to throw it away.  I'm nervous about running the ininstall

    Hello,
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons
    Also see...
    https://discussions.apple.com/thread/4497906?start=45&tstart=0

  • I looked at system.log in the system profiler today and see lots of activity at 2 a.m. when I was fast asleep, should I worry? It seems to reset hostname and mentions frequent transitions for interface, looks weird to me (I'm not a teckie!)

    I looked at system.log in the system profiler today and see lots of activity at 2 a.m. when I was fast asleep, should I worry? It seems to reset hostname and mentions frequent transitions for interface, looks weird to me (I'm not a teckie!)
    This is a section:
    May 12 02:05:10 wendy-drapers-macbook configd[14]: setting hostname to "wendy-drapers-macbook.local"
    May 12 02:05:29 wendy-drapers-macbook kernel[0]: Auth result for: 00:26:44:14:17:a3 MAC AUTH succeeded
    May 12 02:05:29 wendy-drapers-macbook kernel[0]: AirPort: Link Up on en1
    May 12 02:05:29 wendy-drapers-macbook mDNSResponder[16]: Note: Frequent transitions for interface en1 (192.168.1.92); network traffic reduction measures in effect
    May 12 02:05:29 macbook configd[14]: setting hostname to "macbook.lan"
    May 12 02:05:31 macbook mDNSResponder[16]: Note: Frequent transitions for interface en1 (FE80:0000:0000:0000:021E:C2FF:FEB3:1A3E); network traffic reduction measures in effect
    May 12 02:05:34 macbook com.apple.launchd[1] (org.samba.nmbd): Throttling respawn: Will start in 5 seconds

    I've been seeing messages exactly like that (and many, many other kinds) in the Console since the first version of OS X.  They look menacing but are harmless.
    You don't need any kind of security software.
    Just surf the web carefully, pay attention to where you're going and don't install anything that you don't recognize.  If you are asked to enter an admin user name and password, DON'T.  Unless you know for sure that you initiated the installation from a known and reliable source (like Apple).
    Mac malware relies on social engineering.  No amount of security/anti-virus, blah, blah, blah software is going to help.

  • After installing Solid Edge ST6, fonts on IE (like facebook) looks weird.

    Hi
    After installing a Educational copy of Solid Edge 6, fonts look weird. It has happened before and I then I uninstalled Solid Edge and the problem was gone. Right now I have to use it for school work and kinda hate browsing facebook and other pages that the
    font looks messed up. They look like are pushed from the sides and look kinda thin. Weirdly pages like YouTube and Google look alright. It is not the browsers fault, because the problem is on Chrome aswell. 
    If needed, the laptop is a HP ProBook 470 G0, running windows 8 pro.
    Thanks.

    Hi,
    Check if this helps?
    IE\Tools\Internet Options\General, under the "Apperance"\"Fonts" change the Font settings.
    As
    Milos Puchta mentioned, it's better to contact Siemens support for this issue also happens on  Chrome.
    Yolanda Zhu
    TechNet Community Support

  • CS 6 frame, tools, and descriptions are very pixeled

    Not all the time, but since I installed PS 6 on my new Mac Book Pro, the frame, tools and navigator are extremely pixeled... it looks like a file of 70 Kb is enlarged to 20x25 cm... Does anybody knows how to solve this problem?
    (uploaded the latest version on last Tuesday, so I assume I'm up to date)
    Thanks in advance! 

    thanks for your quick reply.
    please find attached a screenshot with info about the camera and an image which does not show this  „pixeled”
    Op 24 jan. 2014, om 14:23 heeft c.pfaffenbichler <[email protected]> het volgende geschreven:
    Re: CS 6 frame, tools, and descriptions are very pixeled
    created by c.pfaffenbichler in Photoshop General Discussion - View the full discussion 
    Could you please post a screenshot to illustrate the issue (with the Insert Image-button (camera-icon) in the browser)?
    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/6047943#6047943
    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/6047943#6047943
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6047943#6047943. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Fonts are HUGE now!

    I was messing with my xorg.conf configuration, and thought I would try telling X what my display size was, so that it could compute the correct DPI setting for my display.
    I have a 15.4" widescreen display running at 1680x1050, which comes out to roughly 131 dpi.  At this setting, all of my fonts are huge (by huge, I mean 10pt fonts look like they are 20pt)!  I tried putting in fake display size values to get 100 dpi, 96dpi, etc.
    Here is what I learned.  Almost no OS uses the correct dpi for the display.  Apparently Windows always uses 96 dpi, regardless of what resolution the display really is.  X also defaults to 96 dpi.  A few distros actually set the dpi correctly, and the first thing people complain about is that the fonts are too big.   
    Anyhow, I think I am going to stick with the default 96 dpi setting, since it's what I'm used to.  But if any of you ever see X with abnormally large fonts, check what dpi setting is being used.
    By the way, the relevant setting in xorg.conf is DisplaySize, in the Monitor section.  Here's the syntax:
    Section "Monitor"
    DisplaySize 410 318 # Size (x,y) of the screen, in millimeters
    EndSection

    beniro wrote:Also, if you the width/height you entered in millimeters is correct (You're using a fairly standard 19" or 20" monitor???) and your resolution really is 1680x1050, your dpi is actually: 102 (from left to right) by 84 (top to bottom)...which will give you...a skewed view of the world.
    He said it in his first posting--15.4" widescreen, so it's probably a 16:10 screen, not 4:3. So his numbers seem correct to me. Many laptops have screens with 130dpi and more, nowadays ...
    93,
    -Sascha.rb

  • Contact pictures are huge in iOS 5!

    Has anyone else noticed that their contacts' pictures are HUGE after the iOS 5 update? I have tried everything I can think of to get the pictures back to their normal size, but nothing works. I can't be the only one having this problem! Any suggestions? I sync my contacts via the Address Book on an iMac running Lion.

    It's the app called Contacts with the icon that looks like this:
    See: http://www.apple.com/iphone/built-in-apps/contacts.html

  • Words look like they are in italics and not clear

    the type face for the words in emails looks like they are in italics and not strong and clear like internet explorer...t
    == This happened ==
    Every time Firefox opened
    == i switched from internet explorer

    Roughcoat wrote:
    didn't get an answer
    Be patient. This isn't a chat, but a forum.
    Not too technical, but basically:
    bottom layer:  background
    middle layer:  frame
    top layer:       dog
    Use a transparent canvas larger than the layers.

  • Some songs will not sync to my iPhone 4s, looks like they are loading but they never do.

    Recently I downloaded some new music and now when I try to sync to my iPhone 4S none of the songs i downloaded are syncing to my phone and even some of the songs that were on my phone are not anymore. On iTunes on "On this phone" or whatever the songs are there but it looks like they are loading even after the sync is over. I would really like some help cause this is really annoying... Thanks!

    Same here, I have a new iPhone 5S and it will not allow me to put any music on it unless I have purchased it from iTunes, even music that I own and have ripped from the CD will not upload to the phone. Really Bloody Annoying!
    Should have stayed with Android!

Maybe you are looking for

  • Osx 10.6.8 slow after power outage

    My 2007 intel imac lost power a while back and has been slow and somewhat erratic since that happened. My area suffered a power interuption that lasted a couple of minutes. When i turned the machine on the next day I used the disk utility to verify t

  • ITunes 8.1 no longer gives option to skip adding duplicate songs to iPod

    When I begin to add songs to my iPod or a playlist, I've noticed that iTunes 8.1 no longer gives me the option (through a small pop-up window) to skip transferring any songs that already exist on that iPod or playlist. This was a great feature: I cou

  • ADF: Configuration.createRootApplicationModule() generates bc4j.xcfg error

    I am using JDeveloper 11.1.1.5 to create a web service which performs mathematical calculations based on a varying number of inputs. Some of the inputs serve as criteria for querying DB tables to obtain static numerical values. This static data is th

  • Creating the database manually

    Hi, I have installed oracle database 10g in OEL5 Now i need to create the database manually. How to create it,pls provide me some help

  • ICloud unavailable due to high demand

    Trying to move a MobileMe account to an iCloud account and it says "iCloud Not Available: Due to high demand, iCloud is not currently available for new users. Try again later." I've seen a handful of other posts where users get the same message. Got