Split pane only shows buttons, not the panes I placed there

problem: my split pane only shows buttons, not the panes I placed there
here's my complete code:
thanks.
* MLDpane.java
* Created on July 23, 2003, 3:31 PM
import javax.swing.*;
import javax.swing.tree.*;
* @author  Administrator
public class MLDPane extends JSplitPane {
    private JScrollPane jScrollPane2 = new JScrollPane();
    private JTextPane ttView = new JTextPane();
    private JScrollPane jScrollPane3 = new JScrollPane();
    private JTree treeView = new JTree();
    private  void init() {
        setDividerSize(5);
        //setPreferredSize(new java.awt.Dimension(600, 302));
        //jScrollPane2.setMinimumSize(new java.awt.Dimension(100, 20));
        //jScrollPane2.setPreferredSize(new java.awt.Dimension(300, 300));
        //ttView.setPreferredSize(new java.awt.Dimension(300, 22));
        jScrollPane2.setViewportView(ttView);
        setLeftComponent(jScrollPane2);
        jScrollPane3.setHorizontalScrollBarPolicy(javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
        //jScrollPane3.setMinimumSize(new java.awt.Dimension(100, 20));
        //jScrollPane3.setPreferredSize(new java.awt.Dimension(300, 200));
        treeView.setModel(null);
        jScrollPane3.setViewportView(treeView);
        setRightComponent(jScrollPane3);
     public MLDPane() {
    /** Creates a new instance of MLDpane */
     public MLDPane(MedLEEDoc mld) {
        init();
        ttView.setDocument(mld.getTextDoc());
        treeView.setModel(new DefaultTreeModel(mld.getRoot()));
    public static void main(String args[]) {
        JFrame j = new JFrame();
        j.getContentPane().add(new MLDPane());
        j.show();
        //j.setVisible(true);
        //j.setExtendedState(j.MAXIMIZED_BOTH);

Hi,
I think you are invoking the default (no argument constructor) instead of the one argument constructor
try this:
j.getContentPane().add(new MLDPane(MedLEEDocObject));

Similar Messages

  • HT4199 Facetime only shows me not the person I am calling

    Facetime only shows me when I place a call, not the person I am calling on Facetime. How can I fix this problem ???

    It may be stuck in headset mode.  Plug and unplug your headset 5-10 times to free the switch inside the jack.

  • How, on the ipod touch 5th gen, can you get rid of songs in the songlist?  I restored from a stolen ipod touch 4th gen, and now there is a bunch of crap that is not even mine on this thing.  The songs only show up in the songs listing.

    I had my last ipod stolen, when I got the 5th Gen I restored from my old ipod from itunes and now there is a bunch of crap on there that I don't want, but the songs only show up on the ipod so I can not delete them off of the ipod from itunes.  Any quick fixes to remove the unwanted songs, or do I have to start over completely?

    Do they play on the iPod?
    If not then they are corrupted.
    Connect the iPod to your computer and look at the storage used by the various categories as shown in the colored bargarph in iTunes.
    Come back with the results.
    What is the Other on my iPhone and How to Remove It
    If the other is larger than about 1 1/2 GB that indicates corrupted file.

  • How do i change my message settings so that when i get a text message only the phone number shows up - not the message?

    how do i change my message settings so that when i get a text message only the phone number shows up - not the message?

    settings - notification- message - show preview - OFF
    you can also select the alert type your want -banners or alerts

  • How do you transfer photo albums to the computer?  When I hook to USB, it only shows photos from the camera icon, not the photos icon.  I am trying to save pictures for the in-laws from their ipad.

    How do you transfer photo albums to the computer?  When I hook to USB, it only shows photos from the camera icon, not the photos icon.  I am trying to save pictures for the in-laws from their ipad.

    I have no clue that you mean by it only shows photos from the camera icon. It has to show the photos in the camera roll of the photos app since those are the only photos that you can import via the USB cable.
    There are other ways of transferring photos to a computer, but they involve using third party apps. There are WiFi transfer apps that will do this. DropBox will also let you upload photos to a public folder and then download them to a computer.
    Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support
    http://www.wirelesstransferapp.com/
    https://www.dropbox.com/ipad

  • Why does a 128gb I-pad Air 2 only show 113gb in the capacity section of settings? Where has my other 15gb gone. Surely not on the OS. (It shows 111gb available which is the apps I have downloaded already)

    Why does a 128gb I-pad Air 2 only show 113gb in the capacity section of settings? Where has my other 15gb gone. Surely not on the OS. (It shows 111gb available which is the apps I have downloaded already)

    Along with what Skydiver119 has already told you, my 64GB iPad 3 only had 57GB of available storage out of the box, so if you keep doubling the amount of already used storage on the device as you go from 16 to 32 to 64 and then to 128GB - I assume that the figure that you see is correct. The iOS and preinstalled apps account for the storage that seems to be "missing" to you on your iPad.
    The amount that you see in Settings>General>About>Capacity is in fact, the available storage capacity for your iPad. You can't change it. It is whatever it says it is in that setting.

  • HT4527 Home Sharing Playlists?  I exported but only the titles show up. not the songs.

    Using Home Sharing, I was able to access all my music on a 2nd PC. 
    Using the File > Library > Export Library function, I was able to transfer my playlists too but only the playlist titles show up; no songs shown. 
    I know the correct files are being shared as O can play them from the main music menu on the new computer.
    Both computers are PC and both have the current version of iTunes (11.1.5.5)
    Any ideas?  I have tried both exporting playlists individually and exporting my library as a whole.  In both cases the playlist names show up on the new computer but there are 0 songs shown.
    Thanks
    Jeff

    I had this problem today and posted a fix that helped me earlier today.
    Try turning off home sharing on both computers and then logging out of itunes on both. Log back into itunes and turn home sharing back on. This fixed my problem. Of course this assumes all other settings are correct. Like I said i posted a step by step fix for this earlier today around 3 o'clock. good luck.

  • Aperture 2: Viewer/Quick View only showing half of the picture

    Hi,
    When working in aperture the other day my kitten decided to walk across the desk and keyboard since then the viewer only show half of the pictures. It looks like the viewer is not centered as it is also not showing the Viewer mode button.
    Can anyone help it's driving me crazy.

    If Allan's suggestions does not work, try deleting the user preferences as described here, Aperture 2: Troubleshooting Basics
    http://support.apple.com/kb/HT2945
    Tony

  • IPod only shows "Do not disconnect"

    Suddenly when I disconnected my "always" in gook working order iPod, it only shows "Do not disconnect", neither the iMac nor the iTunes recognize it.
    I've tried the Menu and Center buttons and nothing at all.
    Can someone help me please?
    Thank you in advance,

    Maybe this can be a clue: I put on a note but my iPod didn't recognize it, just before I unplugged it.
    Thanks again

  • Cs3 only showing files in the Navigator Window - can't edit?

    Hi there!
    I have CS3, using Windows 7.
    A little over a week ago, I had to re-install cs3 when i could no longer open any files.
    Images only show up  in the Navigator window and I can see the image's histogram.
    However, no image shows in the main window, even after changing display modes, etc.
    When I did the re-install, we were back to normal operations, but after about a week and a half
    of use, I'm back to the same problem???
    I could re-install again, of course, but I'd love to know if there's another solution to this problem.
    I'm using a licensed version...purchased by me, from adobe in '07.
    Thanks so much for any information!  I appreciate any help!
    Michelle

    hey bart!  thanks for your reply!
    i tried that and nothing changed,
    but i did check my display settings and somehow was
    over on a dual monitor?
    i only have one monitor and
    i never messed with that setting.
    plus, i was able to see images one minute and not the
    next, so i'm not sure what's going on with it...
    but, i changed to single monitor and it's working again!
    if anyone knows why that happened, please lmk.
    thanks again!

  • Why canI open Firefox twice and my Norton toolbar only shows up on the second one

    for some reason i can open firefox twice and did not know if this is normal. also my Norton 360 only shows up on the second one trying to find out if this is a something i need to correct and how to go about it

    OK on the iMac now but not sure how to send the System Details. Any help welcome.

  • [kde] "Only show tasks from the current desktop" doesn't work for max

    Hi,
    I have two monitor setup (laptop + main monitor) and I would love to use "Only show tasks from the current desktop" option in KDE Task Manager but for some strange reason it doesn't work for me. Well, it works but only partially - for restored/unmaximized windows. When I maximize one it appears on the Taskbar on both screens. Is this normal? May it be due to the fact that I've placed Taskbar on top of the screens?

    Did you miss this bit
    "Graphics : 1 GB NVIDIA Quadro 600 (1DP & 1DVI-I) (1DP-DVI & 1DVI-VGA adapter) (ELGA13) 1"
    And the final image clearly states the type of Graphics Card he has
    Photoshop CS6 GPU FAQ
    Tested video cards for Photoshop CS6
    Adobe tested the following video cards before the release of Photoshop CS6. This document lists the video card by series. The minimum amount of RAM supported on video cards for Photoshop CS6 is 256 MB. Photoshop 13.1 cannot display 3D features if you have less than 512 MB of VRAM on your video card.
    Important: This document is updated as newly released cards are tested. However, Adobe cannot test all cards in a timely manner. If a video card is not listed here, but was released after May 2012, you can assume that the card will work with Photoshop CS6.
    Adobe tested laptop and desktop versions of the following cards. Be sure to download the latest driver for your specific model. (Laptop and desktop versions have slightly different names.)
    nVidia GeForce 8000, 9000, 100, 200, 300, 400, 500, 600 series
    nVidia Quadro 400, 600, 2000, 4000 (Mac & Win), CX, 5000, 6000, K600, K2000, K4000, K5000 (Windows & Mac OS)

  • MBA: dock is only showing half of the indictor light

    Hi.
    My situation here is more annoying than a problem, but it's pretty simple: whenever the indicator light on the dock is switched on and programs are open/running, the dock is only showing half of the indicator light (the rest is hidden under the dock plattform).
    This happened after I updated my MBA to OS X Mountain Lion.
    Can anyone help me with my annoying problem?

    Unfortunatetly this is one of the design changes Apple made. I too find it annoying. You can go here to register your unhappiness and request change. Be sure to explain why this new design is not good.

  • My iTunes is only showing music in the cloud.

    This just started happening last night. All of a sudden, all of my playlists are gone and iTunes is only showing music from the cloud. All of my music is on my local computer but it doesn't appear in iTunes. I've turned off the cloud functionality and then no music is displayed at all.  Because of this issue, my phone's music is no longer syncing to iTunes since I use a play list to sync. Same issue with my movies and apps. The entire library in iTunes has been replaced by the cloud. iTunes Match and Genius are turned off. They were never turned on.

    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping.  Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.
    In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.
    tt2

  • Where is the Show button in the itunes window?

    I'm trying to add songs from my library on my laptop to my parents computer. I've already turned on home sharing. But in the helpful tips it says to use the show button at the bottom of the itunes window and I cannot find it.

    Welcome to the Apple Community Gophergirl22.
    Are you sure you have set up home sharing and not sharing.

Maybe you are looking for