(Please Help) making buttons clickable (layout done in photoshop)

I am a newbie to all of this. I been trying to learn html/css
and I am still learning it but I needed a quick way to get my
website up and running. So, I created my layout in photoshop, I
sliced it and imported it anything dreamweaver. I made the content
area editable. Now I have 10 buttons that needs to be clickable. I
was on my index.html page and use the hotspot tools to try and make
them clickable. Indeed it did on my index page. Was I suppose to
use the hotspot tools or was I suppose to select the image, replace
it and then link it (when I tried that way at first, it messed the
page and had boxes and lines everywhere, like the page was broken
up, I really dont know what I did wrong there)
My problem is that how do I make all 10 pages of my website
buttons clickable without having to go to each page, like the about
page, services page, contact page, etc.... and using the hotspot on
all 10 pages?
Do I have to make it as a template or something?
Here is a picture of the problem...What did I do wrong or how
to fix the problem?
http://i39.tinypic.com/2ltmuzs.jpg

So many problems, so little time. First and most importantly,
I admire your courage to "forge ahead", but you need to start with
the basics (some of the dreamweaver tutorials, template pages, etc.
and learn slowly and methodically.) A well functioning site is far
more important than a graphically pleasing site...
There are many apparent problems based on your jpg, but can't
address any without seeing the code.
Buttons: If they are separate slices, they don't need image
map "hot spots" to link them. Simply select one, and assign a link
to it via the properties window. If you saved your entire "header
graphic" as all one piece, and placed it into your page, that would
be when you would want to assign "hot spots" to each section of the
graphic, but if they are separate pieces, there is no need for the
hot spots.
Templates: Yes, a template is the best way to ensure each
page functions and has the same links as the rest. If you dont have
a template set up, you will need to assign all of your links
separately to each page of your document. To create a template, you
first need to create one good, functioning page, then save as
template. Once a template, you'll need to assign which areas you
want to be editable (usually the "content area"). The advantage of
a template is also that if you need to make a global change to all
of the pages somewhere down the road, the change will automatically
update itself on all pages. After the template is created, create a
"New page from Template".
By the looks of your jpg image, you have a whole host of
other problems with the way the page is set up - if you're using
tables to compile, you aren't using them well. The more complicated
you try to slice up a single table, the likelyhood of problems like
you're showing multiplies exponentially - keep it simple.
Experiment with "nested tables" to see if that helps, but DON"T
OVERDO... If you're using css - do some reading, or try to begin
with one of the Dreamweaver template pages to start, then slowly
modify and test as you go - it's tricky at first.
For that matter, if you don't have any "rollover" effect or
anything else going on in the top area, you may be far better off
saving it as one piece and image mapping the "hot spots" for your
links, and it won't break apart the way you're showing.
Keep trying, but take it slow - take a course or purchase a
tutorial dvd - it is well worth the investment and will save you
countless hours of frustration and "stabbing in the dark"...
Hope that helps - don't be in such a hurry to get your site
"live" - take your time and it will get easier...

Similar Messages

  • PLEASE HELP making a program that uses sudo commands

    hey
    is there anyway to make a program run sudo commands
    i have a problem because in a terminal it would ask you to input a password.
    is there a way to use a fake keyboard program to input the password in the back ground
    of my java application or some how run sudo commands? my application relies on some outputs of these commands.
    please help thanks.

    ill tell you a bit about my program im making.
    i have a wireless usb that i have to switch back and forth to get my paticullar drivers to
    do certain things e.g. one is for web browsing and the other one has packet injection.
    by typing sudo modprobe ect.. i can switch through a terminal. which requires me to type in a password.
    iv made a application which uses the
    Runtime.getRuntime().exec("sudo ...."); it has 2 buttons to switch from diffrent drivers and always runs at start up.
    just a big problem i cant use sudo it just freezes when i start and click on the buttons. and doesnt ask me for a password.
    can anyone help thanks

  • PLEASE HELP!!! Contacts don't show up!

    So after updating today, there are no contacts on my contact list. However my recent conversations are still there, and i am still a part of the groups im in. I have asked my contacts if I still show up in their contact list, and i do. But they dont show up in mine. I get the option to add them to my contacts, and when i click that nothing happens, it just dissapears. Then if i click off that specific chat and go back into the options reappears. Ive tried restarting Skype multiple times, and have logged in and out multiple times. 
    Please help me ASAP!

    What no one can help me seriously

  • PLEASE HELP!! Drop Down Menu Using Photoshop Images

    I have hit a brick wall in trying to work this out, and it is
    killing my productivity, I just need to get through this hurdle on
    this site, and I can finish it.
    Quick rundown on where I'm at:
    I created the website to look how I wanted in Photoshop.
    After I've gotten it looking how I want, I bring it into fireworks
    and slice it up (I'm sure this step can be skipped, but thats how
    I'm used to it), and then I export it into Dreamweaver.
    All of that is working fine, except for this drop down menu.
    All I'm wanting to happen is when they roll their mouse over "firm
    profile" for example, for there then to be a drop down menu that
    drops below it (no animation necessary) that has 2 additional
    options they can select.
    I have created what the page would look like after the drop
    down menu would come up (in photoshop). I've tried doing swap
    images and menu bars and some scripts from the net etc etc but
    nothing works. It either tries to load the drop down menu WITHIN
    the slice where it says "firm profile" instead of below it, or just
    messes up completely.
    In fireworks, I'm able to setup a swap image where when you
    put your mouse over "firm profile" it asks which slice you want the
    new swap image to come up in, which would work fine EXCEPT that
    when you go to select one of the bottom submenu options, the
    rollover disapears. If you do it where the whole slice is switched,
    then that submenu appears when you rollover where it would be, even
    if you haven't first rolled over "firm profile"
    So to summerize: All I want is to be able to tell it when you
    put your mouse over "FIRM PROFILE" that underneath it , a drop down
    menu image that I have already created pops up, and you are able to
    1) select the sub menu items (urls). I feel that this should not be
    anywhere near this hard.
    Please help.

    cdeatherage wrote:
    I just realized--and Murray correct me where I stray--I may have intimated what you want to do is not very complicated. It will be a bit involved, actually. You are probably going to have to set up an id for each menu item so that you can apply the applicable image to the link state for each button. That is to say, your images for Menu Item 1 are going to be different than for Menu Item 2, so you are going to have to code individual link states for each button rather than rely on a global state. I think you can still do what you have designed, but you will likely have much frustration getting there if you are not comfortable writing code. Perhaps what might be easier for you is to use text in the html code for each menu item and then globally apply one background image for the a: state, another for the hover state, etc.
    Hope I'm making sense.
    Chris
    Yes that does make sense - and is exactly the thought I was coming round to.

  • Please help!! photo in wineglass in Photoshop elements 9

    I am new to photoshop (or any other editing for that matter). I would love to make a picture effect of a photo in a wine glass and am about to pull my hair out trying to figure this out. I have found some instructions on the internet but am having a hard time following them. I have Photoshop elements 9. I have a picture of a beach scene that I took in Cancun. I uploaded a picture of a wine glass and cut out the wineglass using the quick selection tool and selection tool brush. That part looks pretty good. I can't figure out how to get the picture in the glass. I used the elliptical selection tool and made an oval around the picture. I tried to erase the background of the oval but couldn't figure that out. So I tried to drag the oval to the wineglass and the entire picture moved and covered the glass and the entire beach scene. I tried to do decrease opacity and erase background but that has turned into a sloppy mess. I really want to do this for a friend as a wedding gift but can't seem to figure out how and I am running out of time. Can someone please help me figure out how to do this. Maybe I am doing things in the wrong order. I don't know...but I am sure someone out there can help me. And I sure would appreciate any help I can get.

    I would have got back to you earlier but one of my kids wanted on the computer. There's no school tomorrow as it's been canceled because of the blizzard here in the Midwest so I let them stay up late tonight.
    You need to soften the edges of the selection. The secret to moving items onto a new background is to add a touch of feather to the selection. The quick select is an awesome tool to get a good selection but it makes hard edges so you often need to take it a step farther and add some feather. You can do that a couple of ways either with the new refine edge dialog or the select<modify<feather command. Since you have PSE 9, I would recommend using the refine edge command. I believe, in Elements that will be in the Select menu. If it isn't listed under that heading, check under the other menu headings in the menu bar.
    Above using your items from your post with a slightly feathered edge selection.
    Above using your items saved from your post...slightly firmer edge selection and a slight blur added to top portion of background to give it a little depth of field. I used the levels command to firm it up. I'll get into that under the firmer mask image below.
    I always use masks so I can show you my actual selection using a screen grab. I started by selecting your wine glass with the quick select tool. I used the brush tool to soften the glass selection on the sides. I intentionally varied the softness for this glass because it seemed to sell the effect more.
    I changed my mind and decided on firmer edges for the side of the glass. I firmed them by using the levels command on the mask. Shortcut is Ctrl + L. I used the middle gray slider in the levels command to firm up the glass selections edge.
    (I posted both so you could see how the difference in a selection mask can change the blended outcome. IMO, the second mask makes the glass more realistic as the first has the glass edges just a tad too soft. You'll also notice the second image includes a copy of the background layer. I blurred the background then masked bottom portion of the blurred background to create a depth of field effect. You can pull a black to transparent gradient using the gradient tool on a mask to fade the sharp and blurred background version together.
    My Couple mask is a bit sloppy but you get the idea.
    Couple layer visible. I went off of everything put together not necessarily what the individual layer looked. On a larger high resolution image, I would have probably made them more opaque and also cleaned up their mask better. It's tricky working with small images.
    Glass mask...screen blend mode 25% opacity. I won't post a screen grab of that layer as there isn't much to show.
    Above is alternate version with couple opaque and the couple mask cleaner. I'm not sure which version I prefer...
    Edit: I think I prefer this alternate couple more opaque version.
    Above is alternate version with couple on their own layer.
    Above is alternate version couple mask.

  • Please help, I am trying to download Adobe Photoshop Lightroom 4 that I just purchased on Adobe

    Please help me, I just purchased Adobe lightroom4 online and when i try to download it I get a message that says "operation could not be completed. (com.apple.installer.page controller error- 1.) couldnt open Adobe Photoshop Lightroom 4. pkg" I have no idea what to do here. Thanks!

    Hi ,
    We really apologize for all the inconvenience which has caused you.
    Please check for the system requirements from the below link and see if your computer meet the minimum requirements to install Lightroom 4. As per my understanding, your computer has Core Duo processor. In order to install Lightroom it should be Core 2 Duo and above.
    http://www.adobe.com/products/photoshop-lightroom/tech-specs.html
    Also check the below link for the different types of Intel Processor for Macintosh.
    http://support.apple.com/kb/HT3696
    In the meanwhile if these steps doesnt resolve your issues you can contact Adobe support by following the link below:
    http://helpx.adobe.com/contact/
    Thanks
    Mandhir

  • Please HELP on Button Click. URGENT Folks.!!!

    Folks,
    I need some very URGENT help.
    When I click a Button,how do I associate this Button clicked with a particular Key?
    I am reading data from a Hashtable in the foll.format
    Monday Data [ More Info]
    Tuesday Data [ More Info]
    where :
    Data to display is a Label
    [More Info] is a JButton.
    But I am unable to associate the button clicked with that particular Data.
    ie I am unable to link the button clicked with the Key its associated to.
    So when I click the 2nd More Info Button,I must be associated with Tuesday Data.
    I am not being able to link Button Clicked to its Key Value.
    Any one can help me to get the Key Value please?
    Or is displayng thru Hashtable not right? Do I need to use some
    other collection.
    My code is:
    public class JPanelDemo extends JFrame{
    private JPanel JButtonPanel;
    private Hashtable ht = new Hashtable();
    Enumeration enum;
    String str;
    public JPanelDemo() {
    JButtonPanel = new JPanel();
    Container c = getContentPane();
    // Put Data into Table.
    ht.put("Monday ", new JButton("More Info"));
    ht.put("Tuesday ", new JButton("More Info"));
    ht.put("Wednesday ", new JButton("More Info"));
    ht.put("Thursday ", new JButton("More Info"));
    JButtonPanel.setLayout(new GridLayout(ht.size(),ht.size()) ) ;
    // Instantiate ButtonHandler.
    ButtonHandler handler = new ButtonHandler();
    // Enumerate thru Keys.
    enum = ht.keys();
    while(enum.hasMoreElements()){
    str = (String) enum.nextElement();
    JButtonPanel.add(new JLabel(str)); // Key
    JButton jB = (JButton)ht.get(str); // Value
    JButtonPanel.add(jB);
    jB.addActionListener(handler);
    c.add(JButtonPanel,BorderLayout.NORTH);
    show();
    public static void main(String[] args) {
    JPanelDemo JPanelDemo1 = new JPanelDemo();
    // Inner Class for BUTTON handling.
    private class ButtonHandler implements ActionListener {
    public void actionPerformed(ActionEvent e) {
    JOptionPane.showMessageDialog(null,
    "You Pressed " + e.getActionCommand(),
    "I NEED THE KEY VALUE HERE", /* key VALUE required ie Monday,Tuesday..*?
    0);
    } // End ButtonHandler.
    } // End of class

    Hi,
    i have modified your program to produce the intended results..
    Hope this helps!
    josh
    public class JPanelDemo extends JFrame{
    private JPanel JButtonPanel;
    private Hashtable ht = new Hashtable();
    Enumeration enum;
    String str;
    public JPanelDemo() {
    JButtonPanel = new JPanel();
    Container c = getContentPane();
    // Put Data into Table.
    ht.put("Monday ", new JButton("More Info"));
    ht.put("Tuesday ", new JButton("More Info"));
    ht.put("Wednesday ", new JButton("More Info"));
    ht.put("Thursday ", new JButton("More Info"));
    JButtonPanel.setLayout(new GridLayout(ht.size(),ht.size()) ) ;
    // Instantiate ButtonHandler.
    ButtonHandler handler = new ButtonHandler();
    // Enumerate thru Keys.
    enum = ht.keys();
    while(enum.hasMoreElements()){
    str = (String) enum.nextElement();
    JButtonPanel.add(new JLabel(str)); // Key
    JButton jB = (JButton)ht.get(str); // Value
    JButtonPanel.add(jB);
    jB.addActionListener(handler);
    c.add(JButtonPanel,BorderLayout.NORTH);
    show();
    public static void main(String[] args) {
    JPanelDemo JPanelDemo1 = new JPanelDemo();
    public String compare(JButton b){
    int i = ht.size();
    Enumeration enum1 = ht.keys();
    while(enum1.hasMoreElements()){
    String str = (String) enum1.nextElement();
    JButton jB = (JButton)ht.get(str); // Value
    if( jB.equals(b) ){
    return str;
    return null;
    // Inner Class for BUTTON handling.
    private class ButtonHandler implements ActionListener {
    public void actionPerformed(ActionEvent e) {
    JButton b = (JButton)e.getSource();
    String s = compare(b);
    JOptionPane.showMessageDialog(null,
    "You Pressed " + s,
    "I NEED THE KEY VALUE HERE",0);
    } // End of class

  • Please help!! clickable String

    Lets say that I have this string:
    strCheckFailure = "You must visit http://www.somesitehere.com to complete your request.";
    I would like to be able to change the color of http://www.somesitehere.com to blue and also attach a mouseListener event only to this particular substring.
    Afterwards I want to be able to add that String to
    JOptionPane
    JOptionPane.showMessageDialog(null, strCheckFailure, "Application encountered an error", JOptionPane.ERROR_MESSAGE);
    Does anyone know how to do that?
    Your help is greatly appreciated.

    Lets say that I have this string:
    strCheckFailure = "You must visit
    http://www.somesitehere.com to complete your
    request.";
    I would like to be able to change the color of
    http://www.somesitehere.com to blue and also attach a
    mouseListener event only to this particular
    substring.
    Afterwards I want to be able to add that String to
    JOptionPane
    JOptionPane.showMessageDialog(null, strCheckFailure,
    "Application encountered an error",
    JOptionPane.ERROR_MESSAGE);
    Does anyone know how to do that?
    Your help is greatly appreciated.

  • Can someone please help me out with a task on Photoshop? I am willing to pay!

    Hi everyone,
    I'm looking for someone who is skilled in using Photoshop (or a similar program) to edit PDF documents.
    I don't want to post my entire document here, as it includes personal information, but you can download a sample of the document I need you to work on here:
    http://www.4shared.com/folder/Pc7enLBn/_online.html.
    Where there is a letter grade written (for example, DI), I would need that changed to something else (for example, HD, or in some cases - grade not available). I would need this done HIGHLY accurately, with absolutely no room for error.
    I do have my reasons for doing this, and I am happy to provide them to the person who would like to undertake the job.
    I am prepared to pay you a negotiable amount of money - potentially something around $50, or more, if need be. I can transfer the money through online banking.
    Additionally, I will need this job completed ASAP - approximately 24 hours from when I send you the main file.
    If you are interested, please email me at the email address I created for this job: [email protected], or provide your email address here for me to contact you. If you have any relevant qualifications or experience, please tell me.
    Many thanks, and I look forward to hearing from you soon!

    Your task is hardly a case for Photoshop: replacing text accurately in a scanned, not even
    straightened image.
    My recommendations:
    a) put a crossreference list on each page
       or
    b) straighten the scans and improve the contrast, both by Photoshop.
       Then apply a program which converts images of text into machine coded text
       by OCR - Optical Character Recognition , for instance Abbyy Finereader
       http://finereader.abbyy.de/professional/?adw=google_eu&gclid=CMirrcCMx7MCFZHRzAodlisAJg
       (I'm not related to the manufacturer of this software, I'm just a user).
       In coded text it's easy to replace isolated character groups as required.
    Best regards and good luck --Gernot Hoffmann

  • Please help... "Could not initialize Photoshop becauae the scratch disks are full.

    I am using Photoshop 7 on Windows Vista. I just bought a new computer and installed Photoshop (which worked fine on my old computer running XP). It installs correctly but wen I launch it I get the error "Could not initialize Photoshop because the scratch disks are full." Then Photoshop immedietly shuts down.
    My C drive has 1.3 TB free, my D drive has 145 GB free and my E drive has 5 GB free. I've tried defragmenting all the drives and deleting any temp files.
    I do not know why this is happening and would greatly appreciate any advice.
    Thank you,
    Brad

    there's a bug in 7 that causes this on drives with more than 1 TB free. upgrade photoshop to fix it or temporarily fill the drive with garbage or partition it so the free space is less than 1TB.
    a side note is that current upgrade policy only gives special pricing to 3 versions back. right now that's version 7. if you wait until cs4 comes out you'll be 4 versions back and will be out of the upgrade path. then if you want a higher version in the future you'll have to purchase a full license again. if planning on upgrading photoshop - ever - suggest you do it before cs4 ships.

  • Problem with Desktop Skype freezing, please help

    2 days ago, Dec. 23rd, I started up Skype as usual, but after about a minute, it froze, soon becoming "not responding". I opened Task Manager to try to end it manually, but Task Manager quickly became "not responding" as well, as did Chrome when I opened it when I tried to search for a solution. This had never happened before, and since has only happened when I am trying to use Skype for Desktop. I tried uninstalling and reinstalling multiple times, switching to an older version, and running an antivirus scan to see if a virus might be causing the problem, but none of this helped, and it still freezes itself along with all my other programs, forcing me to restart my computer if I want to be able to use it. I have been using Windows 8 Skype instead today, with no problems, but Skype for Desktop is more convenient for me, and I would very much appreciate it if someone would please help me.
    Also, I don't know if this might be related to the problem, but today I had Task Manager open before starting Skype for Desktop, hoping I could end it before it caused everything to freeze (I couldn't), I was able to see before it froze that Skype was using 100% of my Disk.
    Solved!
    Go to Solution.

    Please,  run the DirectX diagnostics tool.
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Dual Crash, please help!

    My PowerMac has dual boot capabilities, and I was using OS 9.2.1, when OS 9 crashed. I resetted my computer and held down "X" to get back into OSX 10.4, but instead of getting back in, I'm stuck at the gray startup screen with the Apple logo and the spinning circle thing.
    I've already restarted twice, and resetted the PRAM button, can somebody please help?
    Oh, and I don't have the 10.4 disks

    Wow, actually around the same time you replied it finnaly got through, after waiting for about half an hour. Some applications such as iTunes are slower than they used to, should I restart my computer?
    Nevermind works fine, but I'll keep what you said in mind for future reference!
    Thanks!
    Message was edited by: InuNacho
    Message was edited by: InuNacho

  • After Effects Error 5070 :: 2 Please Help !

    Hi,
    My computer:
    2011 iMac 27“, 3.4 Ghz, 32 GB RAM, AMD Radeon HD 6970M + 2 x 24“ Cinema Displays
    My problem:
    1- In After Effects when I try to enable Ray-Traced 3D I get error 5070 :: 2 (see screenshot 1)
    2- I updated the CUDA drivers to version 5.5.47 (see screenshot 2)
    3- After Effects quits unexpectedly and I get an After Effects Alert (see screenshot 3)
    Please help I can't open AE anymore!!!
    Tom

    dip wrote:
    Now I get this message and Ray-Tracing is really slow...
    What is the deal with CUDA? I read that it doesn't work well with ATI cards so why does AfterEffects ask me to install the drivers? If I do, it crashes on startup...
    Can someone please help me with this, I don't get why AfterEffects can't use my ATI GPU and asks me to install drivers that make it crash...
    After Effects is not asking you to install a driver that makes it crash. It is telling you that you need a specific kind of card WITH a specific driver installed. You need both things. The message could have been worded better though.
    CUDA is NVIDIA technology. After Effects uses NVIDIA's proprietary technology to speed up the ray-traced renderer. You can't use that technology without an NVIDIA card.
    You have three choices.
    Check the radio button so that you don't see that warning ever again and live with the slow rendering of the ray-traced renderer.
    Install an NVIDIA card that fits the specs requried.
    Don't use the ray-traced rendering at all. There are much better options. Element 3d, Mettle's ShapeShifter, and Zaxwerks 3d Invigorator are three very good choices for quick-rendering 3d in After Effects. Also, if you have After Effects CC, you can use Cinema 4d that comes with AE for all your 3d work.
    I would suggest option 3. The ray-traced renderer, even when accelerated, is not a very good option for 3d in AE. That's why the AE team decided to integrate heavily with Cinema 4D in the latest version of After Effects.

  • Blue Screen of Death Please Help!!!

    Hi Everyone. I'm having some major issues with my iPhone 5s (16GB updated to iOS 8.1.1). Literally every time I so much as look at the phone it restarts and gives me the Blue Screen of Death. This happens randomly. At one time it was just a minor annoyance (as it only happen occasionally), but now it is unbearable. My phone is on a constant cycle of Black Screen, Apple Screen, and then Blue Screen.
    Before you ask, yes I have reset all of the settings, yes I have tried holding down the home button and the lock button, and yes I have tried wiping my entire phone (in the past) to get rid of this problem.
    Please help! Nothing I have done or tried to do is fixing this problem.
    Thank you so much in advanced.

    If you have restored the device as new and tested it without using your backup and it is still malfunctioning, then you need to make an appointment with the Genius Bar of the nearest Apple Store or Authorized Apple Service provider, depending on your location, and have the hardware checked.

  • Please Help With GUI

    I wrote this simple frame work for a project and
    when I run it, it has a small square the I can't
    write to in the area labled "Graphics". I try
    to write "Blue Title" and a small square blocks
    out the "e " in "Blue Title". Will someone please
    help me with this, I don't know why the small
    square is their or how to get rid of it - thanks.
    The complete program follows, so all you have to
    do is copy and paste it into a file, compile and
    run it, to see what I am talking about.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    //import java.io.*;
    class ButtonPanel extends JPanel
         public ButtonPanel()
              JPanel panel = new JPanel();
              this.setBorder(new TitledBorder("Button Panel"));
              this.add(panel);
              JButton getDataStr = new JButton("Echo Data");
              panel.add(getDataStr);
              JCheckBox force00 = new JCheckBox("Force: (0, 0)", false);
              panel.add(force00);
              JButton compute = new JButton("Compute");
              panel.add(compute);
    class PlotterPanel extends JPanel
         static final int LFT_MARGIN = 60;
         static final int RHT_MARGIN = 20;
         static final int TOP_MARGIN = 20;
         static final int BOT_MARGIN = 20;
         private int plotWidth = 400;
         private int plotHeight = 400;
         private int width = plotWidth+LFT_MARGIN+RHT_MARGIN;
         private int height = plotHeight+TOP_MARGIN+BOT_MARGIN;
         public PlotterPanel()
              JPanel panel = new JPanel();
              this.setPreferredSize(new Dimension(width, height));
              this.add(panel);
         public void paintComponent(Graphics graphics)
              super.paintComponent(graphics);
              Graphics2D graphics2D = (Graphics2D)graphics;
              setBackground(Color.white);
              setForeground(Color.blue);
              graphics2D.drawString("Blue Title", (getWidth()/2)-25, 15);
    class PlotPanel extends JPanel
         public PlotPanel()
              JPanel panel = new JPanel();
              this.setBorder(new TitledBorder("Graphics"));
              panel.setLayout(new BorderLayout());
              this.add(panel);
              JPanel plotterPanel = new PlotterPanel();
              panel.add(plotterPanel, BorderLayout.CENTER);
    class PasteInputPanel extends JPanel
         public PasteInputPanel()
              JPanel panel = new JPanel();
              this.setBorder(new TitledBorder("Paste Input"));
              panel.setLayout(new BorderLayout());
              this.add(panel);
              JTextArea results = new JTextArea("Paste TextArea", 21, 20);
              results.setEditable(true);
              panel.add(results);
    class FileInputPanel extends JPanel
         public FileInputPanel()
              JPanel panel = new JPanel();
              this.setBorder(new TitledBorder("File Input"));
              panel.setLayout(new BorderLayout());
              this.add(panel);
              JLabel fileLbl = new JLabel("  File: ");
              panel.add(fileLbl, BorderLayout.WEST);
              JTextField dataFile = new JTextField("./FileName.ext");
              panel.add(dataFile, BorderLayout.EAST);
              JLabel statusLbl = new JLabel("Status: ");
              panel.add(statusLbl, BorderLayout.SOUTH);
    class InputPanel extends JPanel
         public InputPanel()
              JPanel panel = new JPanel();
              this.setBorder(new TitledBorder("Input Panel"));
              panel.setLayout(new BorderLayout());
              this.add(panel);
              JPanel fileInput = new FileInputPanel();
              panel.add(fileInput, BorderLayout.NORTH);
              JPanel pasteInput = new PasteInputPanel();
              panel.add(pasteInput, BorderLayout.CENTER);
    class ResultsPanel extends JPanel
         public ResultsPanel()
              JPanel panel = new JPanel();
              this.setBorder(new TitledBorder("Results Panel"));
              this.add(panel);
              JTextArea results = new JTextArea("Results TextArea", 5, 68);
              results.setEditable(true);
              panel.add(results);
    class GuiBugPanel extends JPanel
         public GuiBugPanel()
              this.setLayout(new BorderLayout());
              this.add(new ResultsPanel(), BorderLayout.NORTH);
              this.add(new InputPanel(), BorderLayout.WEST);
              this.add(new PlotPanel(), BorderLayout.CENTER);
              this.add(new ButtonPanel(), BorderLayout.SOUTH);
    class GuiBugFrame extends JFrame
         public GuiBugFrame(String title)
              super(title);
              this.getContentPane().add(new GuiBugPanel());
    public class GuiBug
         public static void main(String[] args)
              final GuiBugFrame frame = new GuiBugFrame("GuiBugFrame");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.pack();
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              frame.setLocation((screenSize.width - frame.getWidth())/2, (screenSize.height - frame.getHeight())/2);
              frame.setVisible(true);
         }

    bbritta:
    I commented out the line:
    this.add(panel);
    and that small square disappeared - many thanks for
    your help - I can't believe that I spent so much
    time looking for a fix and you came up with it
    in a very short time - thanks again.

Maybe you are looking for

  • On my ipod touch 4th generation, it somehow got into recovery mode and won't restore! Help please!

    I have been searching on this topic for hours and i haven't found an answer that works so i decided to post the question myself. So on my iPod touch 4th gen., it got into recovery mode somehow and when i plug it in it says something like "ipod in rec

  • SAX parser and EntityResolver

    I am using the sample SAXSample.java that comes as part of the XML parser download to parse an XML file that contains references to external entities - for example <!ENTITY E23678 SYSTEM "http://pilot/:13365"> However the SAX parser never appears to

  • Sync problem solution for iphone.

    Problem:Sync is not working with iphone and itunes after i uninstalled and installed recently. One reason and solution for the above problem is below. Solution:Hi, I faced similar problem when I uninstalled itunes and installed updated one recently.A

  • Download error with Adobe Applications Manager

    I have been trying to download the trial version of photoshop for 2 days now for a class project. I have updated every possible piece of software on my computer, read through the forums, and my adobe applications manager still will not work. I even t

  • Customized SD Datasource deltas

    Hi all, I have a requirement to append some fields to the Billing Item data source.  These fields are generally from other VB** tables. If I add them and then write and exit in EXIT_SAPLRSAP_001 is that enough?  Or will I have an issue with deltas fo