ScrollBars not showing up properly

I am displaying a JTree in a JScrollPane with default settings ie. both horizontal and vertical scroll bars will show up when the contents can not fit in to the scroll pane.In this case when i expand the tree nodes the scroll bars are not showing up properly.It looks like the foreground is not painted properly.The background color is white here.We are using custom look and feel, not the standard one. Any idea why it is so?
Thanx in advance
Ashok

This is the MetalTheme i am using.
public class SSBCMetalTheme extends javax.swing.plaf.metal.MetalTheme
//     private final ColorUIResource primary1 = new ColorUIResource(102,102,153);
     private final ColorUIResource primary1 = new ColorUIResource(0,0,0);
//     private final ColorUIResource primary2 = new ColorUIResource(153,153,204);
     private final ColorUIResource primary2 = new ColorUIResource(153,153,153);
//     private final ColorUIResource primary3 = new ColorUIResource(204,204,255);
     private final ColorUIResource primary3 = new ColorUIResource(204,204,204);
private final ColorUIResource windowBackground = new ColorUIResource(Color.white);
private final ColorUIResource textHighlight = new ColorUIResource(Color.blue);
     private final ColorUIResource secondary1 = new ColorUIResource(102,102,102);
     private final ColorUIResource secondary2 = new ColorUIResource(153,153,153);
     private final ColorUIResource secondary3 = new ColorUIResource(204,204,204);
//     private FontUIResource controlFont = new FontUIResource("Dialog",Font.BOLD,12);
     private FontUIResource controlFont = new FontUIResource("Dialog",Font.BOLD,11);
//     private FontUIResource systemFont = new FontUIResource("Dialog",Font.PLAIN,12);
     private FontUIResource systemFont = new FontUIResource("Dialog",Font.PLAIN,11);
//     private FontUIResource userFont = new FontUIResource("Dialog",Font.PLAIN,12);
     private FontUIResource userFont = new FontUIResource("Dialog",Font.PLAIN,11);
     private FontUIResource smallFont = new FontUIResource("Dialog",Font.PLAIN,10);
     public String getName() { return "SSBC"; }
     protected ColorUIResource getPrimary1() { return primary1; }
     protected ColorUIResource getPrimary2() { return primary2; }
     protected ColorUIResource getPrimary3() { return primary3; }
     protected ColorUIResource getSecondary1() { return secondary1; }
     protected ColorUIResource getSecondary2() { return secondary2; }
     protected ColorUIResource getSecondary3() { return secondary3; }
     //public ColorUIResource getWindowBackground() { return (primary3); };
     public ColorUIResource getWindowBackground() { return windowBackground; };
     public ColorUIResource getDesktopColor() { return (primary3); };
     public ColorUIResource getTextHighlightColor(){ return primary3;}
//public ColorUIResource getControlDisabled(){ return primary3;}
//public ColorUIResource getControlHighlight(){ return windowBackground;}
     public FontUIResource getControlTextFont() { return controlFont;}
     public FontUIResource getSystemTextFont() { return systemFont;}
     public FontUIResource getUserTextFont() { return userFont;}
     public FontUIResource getMenuTextFont() { return controlFont;}
     public FontUIResource getWindowTitleFont() { return controlFont;}
     public FontUIResource getSubTextFont() { return smallFont;}
I can't use windows look and feel as i am using the above look and feel.Any idea what is the problem?
Thanx
Ashok

Similar Messages

  • Vertical scrollbar not showing all the records when I scroll down.

    Vertical scrollbar not showing all the records when I scroll down.
    Using Oracle forms 10g , operating system windows
    I have two fields with number of items dispayed = 15.
    I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
    Here are the properties for block / scrollbar.
    WORK_CATEGORY
    - Subclass Information                           
    - Comments                                       
    * Navigation Style                                Same Record
    - Previous Navigation Data Block                 
    - Next Navigation Data Block                     
    - Current Record Visual Attribute Group          
    - Query Array Size                                0
    - Number of Records Buffered                      0
    * Number of Records Displayed                     60
    * Query All Records                               No
    - Record Orientation                              Vertical
    * Single Record                                   No
    - Database Data Block                             Yes
    - Enforce Primary Key                             No
    - Query Allowed                                   Yes
    - Query Data Source Type                          Table
    * Query Data Source Name                          WORK_CATEGORY
    * Query Data Source Columns                      
    * Column Name                                   JOB_TYPE
    * Column Type                                   VARCHAR2
    - Column Type Name                             
    - Parent Column                                
    * Length                                        30
    * Precision                                     0
    * Scale                                         0
    * Mandatory                                     Yes
    * Column Name                                   WORK_CATEGORY
    * Column Type                                   VARCHAR2
    - Column Type Name                             
    - Parent Column                                
    * Length                                        30
    * Precision                                     0
    * Scale                                         0
    * Mandatory                                     Yes
    - Query Data Source Arguments                    
    - Alias                                          
    - Include REF Item                                No
    * WHERE Clause                                   
    * ORDER BY Clause                                 job_type
    - Optimizer Hint                                 
    - Insert Allowed                                  Yes
    - Update Allowed                                  Yes
    - Locking Mode                                    Automatic
    - Delete Allowed                                  Yes
    - Key Mode                                        Automatic
    - Update Changed Columns Only                     No
    - Enforce Column Security                         No
    - Maximum Query Time                              0
    * Maximum Records Fetched                         0
    - DML Data Target Type                            Table
    - DML Data Target Name                           
    - Insert Procedure Name                          
    - Insert Procedure Result Set Columns            
    - Insert Procedure Arguments                     
    - Update Procedure Name                          
    - Update Procedure Result Set Columns            
    - Update Procedure Arguments                     
       Don't know where am I going wrong. I'll really appreciate if you can help me in this.
    Thanks.
    Edited by: 831050 on Sep 14, 2011 8:05 AM

    One of the items is a list item.. here are it's properties:
    * Name                                          JOB_TYPE
    * Item Type                                     List Item
    - Subclass Information                         
    - Comments                                     
    - Help Book Topic                              
    - Enabled                                       Yes
    * Elements in List                             
    * Label                                      
    * List Item Value                             LIST20
    * List Style                                    Combo Box
    - Mapping of Other Values                      
    - Implementation Class                         
    - Case Restriction                              Mixed
    - Popup Menu                                   
    - Keyboard Navigable                            Yes
    - Mouse Navigate                                Yes
    - Previous Navigation Item                     
    - Next Navigation Item                         
    - Data Type                                     Char
    - Data Length Semantics                         Null
    - Maximum Length                                30
    - Initial Value                                
    * Required                                      Yes
    * Copy Value from Item                         
    - Synchronize with Item                        
    - Calculation Mode                              None
    - Formula                                      
    - Summary Function                              None
    - Summarized Block                             
    - Summarized Item                              
    - Current Record Visual Attribute Group        
    - Distance Between Records                      0
    * Number of Items Displayed                     15
    - Database Item                                 Yes
    * Column Name                                   JOB_TYPE
    - Primary Key                                   No
    - Query Only                                    No
    - Query Allowed                                 Yes
    - Insert Allowed                                Yes
    - Update Allowed                                Yes
    - Update Only if NULL                           No
    - Visible                                       Yes
    * Canvas                                        CANVAS2
    - Tab Page                                     
    * X Position                                    47
    * Y Position                                    137
    * Width                                         187
    * Height                                        18
    - Visual Attribute Group                        DEFAULT
    - Prompt Visual Attribute Group                 DEFAULT
    - Foreground Color                             
    * Background Color                              white
    - Fill Pattern                                 
    - Font                                         
    * Font Name                                     Tahoma
    * Font Size                                     10
    * Font Weight                                   Demilight
    * Font Style                                    Plain
    * Font Spacing                                  Normal
    * Prompt                                        Job Type
    - Prompt Display Style                          First Record
    * Prompt Justification                          Start
    * Prompt Attachment Edge                        Top
    - Prompt Alignment                              Start
    * Prompt Attachment Offset                      10
    * Prompt Alignment Offset                       0
    - Prompt Reading Order                          Default
    - Prompt Foreground Color                      
    - Prompt Font                                  
    * Prompt Font Name                              Tahoma
    * Prompt Font Size                              10
    * Prompt Font Weight                            Bold
    * Prompt Font Style                             Plain
    * Prompt Font Spacing                           Normal
    - Hint                                         
    - Display Hint Automatically                    No
    - Tooltip                                      
    - Tooltip Visual Attribute Group               
    - Direction                                     Default
    - Initial Keyboard State                        Default
    - Keyboard State                                Any
        

  • How do I fix a problem with .eps files not showing up properly in icon view

    Actually my .eps files are not showing properly in any of the views but icon view is most important to me.  I am using OSX.8.5 on a mac mini and mac book air.  Almost all of my .eps files are conversions of .wmf files converted to .eps by WMF Converter software.  All of these files used to be on a PC running windows Vista using ST Thumbnails explorer to be able to view thumbnails.  For background info: I had to use a program to view the WMF files becasue hackers could put viruses into the thumbnail for WMF fies so instead of fixing the problem Microsoft disabled the thumbnail view for all WMF files. 
    A few of my .eps files are conversions of files created in CorelDraw 3x and converted to .eps in CorelDraw 3x.  Both types of .eps files misbehave the same.
    I downloaded one .eps file today from the internet to see if it would misbehave the same way (it does).
    Here is the problem: After a reboot when I first view a folder that contains .eps files in icon view I can see the file contents fine.  If I use the resize slider at the bottom of the window or resize the window itself then some or all of my .eps files revert to displaying the "generic icon" of a Loupe with a picture behind it.  If i can manage to put the resize slider to exactly where it was then my icons display the file contents as they did before I messed with the slider.  There seems to be no rhyme or reason as to when an icon will display as the file contents or when the generic icon comes up.  In some folders all the icons display correctly at the smallest icon size and in other folders the icons may display correctly or as only generic or a mix of generic and file contents.  Icons to files that came from the same source will not necessarily display the same way.  Icons to files that came from the same source and were converted by WMF Converter at the same minute do not necessarily display the same way.  If I display "info" for the files sometimes the previev pane of the info box will display the generic icon or sometimes it will show the file contents.  If I take an .eps icon that displays properly and drop it into a folder where all .eps icons are displayed as generic then that icon displays generic.  When I move that same icon out of that folder then it will display properly.  Icon view, list view, column view and cover flow view all display differently with no discernable pattern.  Sometimes I can see file contents in column view and not icon view.  Sometimes in cover flow and not in icon view.  It makes no difference if I have a handful of .eps files in a folder or hundereds of files in a folder.  After an undetermined amount of time the icons might display properly again or maybe not.
    What I have done so far:  exhaustive search of the internet did not find anyone else with the same issue.  I checked and fixed all disk permission errors that disk utilities would fix.  I know that icon view and quick look are two different things, but, I did however, download and install an eps quicklook plugin that did not seem to make a difference for my issue.  BTW Quick look sometimes works and sometimes not (no discernable pattern to this behavior either).  I tried the cnet download fix for quicklook just for grins.  It had me force QL to reload plugins and it's cache then I cleared out the QL configuration files.  This did not seem to make a difference in the behavior of icon view or Quicklook.  The only two things I have found to be consistant are 1)  The "open with preview" always works but I know this is different because this preview actually generates a pdf view of the file. 2) When the icon does display the file contents it always displays correctly.
    When you read this please be mindful of:  I am a Microsoft refugee not yet familiar with the Apple world so you may have to tell me how to do "simple" things.  I have no idea what is the difference between a "thumbnail" or a "preview" or the behind the scenes way that apple generates the icon appearance for the 4 different views. 
    Any assistance would be greatly appreciated.  I tried to insert a screen shot but got an error message when I did it.

    Was the error number really 0XE8....
    iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting

  • Yosemite Mail not showing recipients properly

    Another problem has shown itself in Yosemite Mail - I just replied to an email that involved the reply going to a list of people.
    But in the compose window, I can see only the first recipient in the Cc: window, and the cut-off tops of a second line of recipients only. There is no way to scroll down, and no way of enlarging that Cc: window. I'm only seeing one recipient in the Cc:, but can see that there are others even though I can't see them.
    Anyone else seeing the same thing? I'm on an iMac, but the same thing happens on my MacBook Pro.
    And I STILL can't find a list of contacts and their email addresses that will allow me to multi-select (Cmd-click) and then pop them into one of the address windows, like the old Address Panel used to do. The Panel that is now missing. Clicking the blue plus sign at the far right does NOT let you multi-select.  It's one at a time - a real PITA.
    If this problem of not showing at least two lines of addresses properly in the address windows on a new email is not just me, then that's another issue that needs to be submitted to
    http://www.apple.com/feedback/macosx.html

    Thanks for the rapid response
    No extensions (I used to use Mail Tags, but it's long gone) - plain vanilla Mail.app
    The primary recipient (in the To: field) showed OK, but in the Cc: field, I could just see the first recipient, and then there was obviously a second line of addresses - I could see the cut-off tops only - and I couldn't see the usual "...and 3 more" thing - it would have been at the end of that second line that I couldn't see.
    Just to clarify - the problem does NOT seem to be when I initiate a new email. It was when I was replying to an email, and I clicked on "Reply All".
    Also, somewhat disconcertingly, while Mail will find my Exchange contacts when I initiate an email, I tried to add an extra recipient to my Reply All email - and it wouldn't find that address and wouldn't let me add it from the blue plus sign. I couldn't add it to the Cc: field - I couldn't see the end of that field as described above. So I tried to add it to the To: field. No go...!
    Something in the land of Yosemite Mail.app seems to be right royally screwed. Loads of problems by many people across this and several other forums. Amazing how it got through beta testing...!

  • ExtendScript ToolKit not showing syntax properly

    Hi all,
    My ExtendScript was not showing the Indesign Syntax, what will be the issue.
    In the dropdown list I have selected "Adobe Indesign CS4" and "main".
    Is there is any tool showing properly the syntax of Indesign scripting.
    I am using MAC.
    Thanks in advance.

    Hi Shaji,
    Please see the attachment and select the appropriate object model version in the corner of dropdown list. Then try.
    Reg
    Peru

  • Songs added to iTunes not showing up properly.

    I recently added an entire album to my itunes library, but they do not show up anywhere but in the Songs list.
    The artist does not display under Artist, nor under Recently Added Playlist either. Also, the album does not show up under Albums.
    When I sync the songs to my iPod, they do not even show up in my songs playlist. The only place the songs show up is in my Albums menu, not in Songs, Recently Added Playlist, or Artists.
    What the **** is going on here? I've deleted and re-added the files with no luck. All of the songs play back perfectly, they just don't show up where they're supposed to.

    In iTunes, select all the tracks for an album that you are having problems with on the iPod and make sure, when you do a Get Info, they are NOT checked as "Part of a Compilation" (even if it is a greatest hits album, it is still the same artist, right?).
    Next, select the first track, Get Info and check the two fields Artist and Album Artist. Hit next to go to the next one and the next. Are they all the same? Do some have Artist Album filled in buy not all of them?
    Patrick

  • Tool Selection Not Showing Up Properly????

    Hey Guys,
    i really need your advice. For some reason the tools in my photoshop are not showing up correctly on the cursor when they are selected. For example, normally when you click the brush tool, the cursor changes into a circle which shows you the size of your brush, but for some reason, all i am getting is a little " + "
    Have i changed a setting somewhere? Does anybody know how i can get the cursor to go back to the way it should be. I just want it to be a circle when the brush is selected so i can see the size of my brush.
    Your help will be very much appreciated.
    Andy MacDonald

    Thank you Dave, that sorted it.
    Just shows there really are simple explanations for things doesnt it. i cant beleive i didnt notice that. Thanks anyways mate, ive learnt something new today!!!
    Andy

  • "Making multicam sequence from 3 other sequences" not showing video properly

    Well, problem in a nutshell. I created a multicam sequence, using 3 other sequences. But somehow, it's not showing it 100% correctly. Like, the main window shows the video, like it should be, and the smaller windows, are just off sync for some reason (except the only sequence that doesn't have any empty caps on it). Any explanation & fix for this?
    Instant workaround that I just invented. I put some empty title on the empty caps, and now It shows it, like it should be in the smaller windows. But if anybody knows why it did it in the first place, would be clad to know.

    OK, maybe I should clarify...
    Only A2 is coming through, NOT A1 -- so that's inconsistent with what you're saying. I have not checked Audio Follows Video, because that's not the bahvior I want. I'd like to be able to choose from any of the video tracks. Is that not possible in Premiere Pro?
    Also, do you think it makes a difference that I'm 'multicam editing' from a regular sequence (with multicam enabled) as opposed to an actual multicam sequence?
    thanks for the help.

  • Mail not showing HTML properly in Leopard

    Hi there,
    I've successfully been sending HTML newsletters out via the email application "Thunderbird" (which handles HTML well) on OSX to clients using mail. But since leopard's release, clients using Mail on said system don't seem to receive HTML properly. All the hyperlinks are discarded etc.
    Can anyone suggest any work around or shed some light on this please ASAP as it is urgent.
    Cheers,
    James

    Not sure if this is related to your problem, but here goes...
    I had the problem that Mail 3.0 was not displaying HTML properly after first installing Leopard. Mail from various sources would display as plain text, instead of HTML. The NY Times does not look so great that way. It was messy... I found information on this forum to edit the com.apple.mail.plist file with a program called PrefSetter. The default was set to "prefer plaintext". I changed the value to false, and it works well now. Every now and then it still does it, but I can fix it by shutting down and restarting Mail.app.
    Steve

  • Audio wave form not showing up properly in Viewer (FCP 7 running Lion)

    For some reason when I bring in my audio timeline into the Viewer to see the wave form it does not show up accurately.  I used to be able to pull it up and fairly easily see each location we hit the clapper.  Now the clapper spike does not show up until I zoom almost all the way in on the wave form.  That's a TOTAL PAIN since you only see a few frames at a time.  Not good when you've got a couple of hours of audio on that time line with 30 or 40 clapper locations to find.  It's funny, it shows an actual flat spot until you ZOOM WAY IN on it, then you see the spike.  This seemed to start happening shortly after installing Lion.  I am not for sure that's what is happening, but has just never happened before.

    Have you trashed your preferences?
    If you use Preference Manager (free) from Digital Rebellion, you can save you current preferences before trashing so you can restore them if you wish.
    http://www.digitalrebellion.com/prefman/
    MtD

  • Installed iTunes 10.5.1, now my desktop icons are not showing up properly

    The icons that are effected are the taskbar icons at the bottom of the desktop. I use thes to open my programs. When I open itunes the icons will then show properly, but when I close iTunes they again look translucent and are hard to see.This has to be a bug in the iTunes 10.5.1 update. All other previous versions worked fine.

    LOL!!! I had checked iTunes before writing this and the music was not there. I check after writing and now it has shown up. It took iTunes about 12 hours to do it though.
    Last week, the music I purchased showed up immediately.
    I guess iTunes is just not working as effeciently as it did last week. Could still be a bug or maybe just swamped servers? However, the problem that is most annoying to me right now is that all the music I have downloaded since iTunes 10.5 has contained defective tracks that needed to be redownloaded. I do not recall that ever occuring before.

  • DataGridView : ScrollBars not showing

    Hi all.
      I have a WinForms application. It is c#, .NET 2.0. On a form, I have 3 DataGridView controls. They all have their ScrollBars property set to Both. The scroll bars for the first two grids work ok, the third grid never shows them. There is absolutely no difference in the definition of the grids. The only difference is that the 3rd gird is wider. So far, I've tried to:
    - set the AutoSizeMode property of the columns to different values, did not work.
    - set the AutoSizeColumnsMode of the grid, it did not work.
    - changed the size of the grid, it did not work(originally it was wider than the form. Making it smaller did not work).
    Does anybody know what I can do to get the 3rd grid to show the scrollbars ?
    Thanks in advance for your help,
    EM

    I came across this post while trying to solve the same problem.  I had a datagridview with databinding and when it was filled, it resized right off the form, with no scroll bars. I realized I'd set the grid itself to autoresize.  As soon as I set
    autoresize (of the grid, not the col or row) back to false, scrollbars appear again.
    Seems kind of obvious now... if the grid resizes to fit the data, there is no need for scrollbars :)
    dataGridView1.AutoSize = false; // or set in control properties

  • Dropdown and Date Fields does not show up properly using https

    I am running my portal on NW04 SP20 and i am using NWDS SP20. When run my WD application using http://<portal host>:<port>/irj -> My WebDynpro iview. I see my all UI elements working properly. Branding changes effected in all UI elements. When i run using https://<prdportal>/irj -> my Webdynpro iview, dropdown values shows in plain text. It looks like my branding is not effected for UI elements data. I see branding changes in UI element, not UI element data. Same for date ( calendar ) box also.
    Thanks in advance
    Ramana.

    Try note 1035587, hope it works.
    Lucas Garcí

  • PXI not showing up properly in MAX

    Hey everyone,
    I'm new to setting up remote systems in MAX and I'm having some difficulty.  I'm using all LabVIEW 2011 versions of software with FPGA and RT modules.  I'll start by listing the hardware I am using:
    PXI-1042 Chassis
    PXI-8110 Embeeded Controller
    PXI-8231 Ethernet
    PXI-6704 Analog Output
    PXI-6602 Timing I/O
    PXI-7813R Reconfigurable I/O
    Of this list I am using the 8231 to connect to the chassis and I am primarily interested in using and getting working the RIO more so than the other cards right now.  Here is what I have done so far and what has happened.
    When I first plugged it in nothing showed up in MAX and so I did some searching and found that if I change the BIOS options and set them to LabVIEW RT and set the 'Reset IP Address' to 'Yes' that I could see the NI-PXI8110 in the remote systems directory.  Under this is says that it is connected but there is no software installed.  If you click on the software directory, a list of software appears so I'm not sure why it says nothing is installed but there is software listed.
    Now even though there are all these cards in the PXI, nothing shows up under Devices and Interfaces.  I tried to 'Create New...' by right clicking on it and then clicking on PXI Chassis, but I get an error that the the host only supports PXI Platform Services 2.0.0 or greather and that the target has earlier version.  So I made sure that I had the latest PXI Platform Services (3.0.3) and I then I tried to follow the instructions by updating the VISA software it should update the PXI Platform Services on the target.  Now it won't let me do this without updating a bunch of other software on the target such as LabVIEW RT - current it has 10 and it needs 11.  This wouldn't be a big deal but then another error comes up where I need a newer version of Hypervisor (target currently has 1.1).  I downloaded Hypervior 2.0 and tried to install on my host and then subsequently add to target.  I am running Windows 7 64-bit and there seams to be a support issue because it doesn't show up and the installer says it can't install certain parts due to incompatibility issues.  Then I thought I'd try to install it directly to the embedded controller on the target by hooking up a monitor/keyboard/mouse.  Even though the keyboard works in the BIOS, when at the Windows login screen I have no USB keyboard or mouse support therefore, I cannot login.
    So there are a bunch of problems it seems that are plaguing me getting this system set up and running.  I'm not sure where else to look and hopeully someone more knowledgable can give me some guidance.  Thanks in advance for the help.

    Hypervisor systems are a relatively new thing for NI as well, it allows you to run Windows and RT on the same system concurrently (one core goes to Windows, other cores assigned to RT).  One interesting tidbit is that Windows and RT use different disk partitions, and the other tidbit is that when you're in "Hypervisor Mode" versus "RT Mode" you will have some collisions with software on the target.  
    It's unclear as to what you're trying to do with the system, are you trying to run Windows on the PXI controller and program/use the FPGA from the Windows environment, or are you wanting to use the PXI controller as an RT system and use the FPGA on the RT system in a "headless system" environment?
    If you're going to use the system in RT mode, by setting the BIOS option to "LabVIEW RT" in the boot options, you must install LabVIEW RT.  In the previous Hypervisor mode, Hypervisor RT + all the components were probably installed, but in this LabVIEW RT mode you need "Normal LabVIEW RT" + all the components.  The system telling you there's no software installed is because none of the drivers are being loaded because you elected to boot "Normal RT" and the "Hypervisor RT" OS is on the system (instead of the "Normal RT OS").  
    There is an easy and safe thing to do here.  Instead of booting "LabVIEW RT", boot "LabVIEW RT Safe Mode" and then go to MAX and right-click the device in MAX and say "Format Disk".  This will safely format the RT partition, bringing it to a clean slate, and you can then install software and LabVIEW Real-Time to the controller.  Then you can put it back into "LabVIEW RT" mode and use the controller like a regular RT controller.  When your colleagues want to use it as hypervisor, they can put it back into "Windows/Other" mode and then reinstall Hypervisor onto the controller.  
    -Danny

  • ScrollBars not showing up for the JPanel [urgent]

    Hi,
    I have a frame in which i have two nested split panes i.e one horizontal splitpane and in that i am having one more split pane on the right side and a JTree on the left side.In the second split pane (which is a vertical split) ,as a top component , i am setting a JScrollPane in which i am trying to display a JPanel which is having a lot of swing components in it.I want to see the scroll bars for this panel so that i can see all the components.Do i have to implement Scrollable interface for this panel to scroll in the ScrollPane.I don't know how to implement Scrollable interface.Can some body help me in resolving this?This is some what urgent.Any help will be highly appreciated.
    Thanks in advance.
    Ashok

    Thank you all for your replies.I added the scroll bar policy.The scroll bars are showing up but the components inside the Panel are not moving.I want the components to move when i am scrolling.Here is my code.In the code SeriesDescPanel, SeriesDescMapPanel are sub classes of JPanel.I am using null layout to add the components to these panels.
    public class MainWindow extends JFrame implements TreeExpansionListener
    public MainWindow()
    throws RemoteException
    // This code is automatically generated by Visual Cafe when you add
              // components to the visual environment. It instantiates and initializes
              // the components. To modify the code, only use code syntax that matches
              // what Visual Cafe can generate, or Visual Cafe may be unable to back
              // parse your Java file into its visual environment.
              //{{INIT_CONTROLS
              setJMenuBar(menuBar);
              setTitle("Series Maintenance");
              getContentPane().setLayout(new BorderLayout(0,0));
              setSize(667,478);
              setVisible(false);
              JSplitPane1.setDividerSize(1);
              JSplitPane1.setOneTouchExpandable(true);
              getContentPane().add(BorderLayout.CENTER, JSplitPane1);
              seriesMenu.setText("Series");
              seriesMenu.setActionCommand("Series");
              menuBar.add(seriesMenu);
              newSeriesGroupMenuItem.setText("New Series Group");
              newSeriesGroupMenuItem.setActionCommand("New Series Group");
              seriesMenu.add(newSeriesGroupMenuItem);
              newSeriesMenuItem.setText("New Series");
              newSeriesMenuItem.setActionCommand("New Series");
              seriesMenu.add(newSeriesMenuItem);
              seriesMenu.add(JSeparator1);
              serachMenuItem.setText("Search");
              serachMenuItem.setActionCommand("Search");
              seriesMenu.add(serachMenuItem);
              seriesMenu.add(JSeparator2);
              saveMenuItem.setText("Save");
              saveMenuItem.setActionCommand("Save");
              seriesMenu.add(saveMenuItem);
              seriesMenu.add(JSeparator3);
              exitMenuItem.setText("Exit");
              exitMenuItem.setActionCommand("Exit");
              seriesMenu.add(exitMenuItem);
              adminMenu.setText("Administration");
              adminMenu.setActionCommand("Administration");
              menuBar.add(adminMenu);
              bulkLoadMenuItem.setText("Bulk Load");
              bulkLoadMenuItem.setActionCommand("Bulk Load");
              adminMenu.add(bulkLoadMenuItem);
              drsMenuItem.setText("DRS override");
              drsMenuItem.setActionCommand("DRS override");
              adminMenu.add(drsMenuItem);
              helpMenu.setText("Help");
              helpMenu.setActionCommand("Help");
              menuBar.add(helpMenu);
              tutorialMenuItem.setText("Tutorial");
              tutorialMenuItem.setActionCommand("Tutorial");
              helpMenu.add(tutorialMenuItem);
              bulkLoadFormatMenuItem.setText("Bulk Load Format");
              bulkLoadFormatMenuItem.setActionCommand("Bulk Load Format");
              helpMenu.add(bulkLoadFormatMenuItem);
              aboutMenuItem.setText("About");
              aboutMenuItem.setActionCommand("About");
              helpMenu.add(aboutMenuItem);
    JSplitPane2 = new javax.swing.JSplitPane();
    upperPanel = new SeriesDescPanel();
    JScrollPane2 = new javax.swing.JScrollPane(upperPanel,
    ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
    JScrollPane3 = new javax.swing.JScrollPane();
    JSplitPane2.setOrientation(0);
    JSplitPane2.setDividerSize(1);
    JSplitPane2.setOneTouchExpandable(true);
    JSplitPane1.setRightComponent(JSplitPane2);
    JSplitPane1.setLeftComponent(viewPane);
    viewPane.add(alphabeticPane);
    viewPane.add(searchDataPane);
    viewPane.setTitleAt(0,"All");
              viewPane.setTitleAt(1,"search");
    //JScrollPane1.setMinimumSize(new Dimension(126, 478));
    JSplitPane2.setTopComponent(JScrollPane2);
    //JScrollPane2.setMinimumSize(new Dimension(426, 409));
    JSplitPane2.setBottomComponent(JScrollPane3);
    lowerPanel = new SeriesDescMapPanel();
    seriesTreeModel = new SeriesTreeModel(SeriesMaintenanceUI.getSeriesGroupInfo());
    tickersTree.setModel(seriesTreeModel);
    alphabeticPane.getViewport().setView(tickersTree);
    //JScrollPane2.getViewport().setView(upperPanel);
    //JScrollPane2.setViewportView(upperPanel);
    //upperPanel.scrollRectToVisible(new Rectangle(upperPanel.getWidth(),
    //upperPanel.getHeight(),1,1));
    JScrollPane3.getViewport().setView(lowerPanel);
    //JSplitPane2.setPreferredSize(new Dimension(426,200));
    SeriesDescPanel upperPanel;
    SeriesDescMapPanel lowerPanel;
    SeriesTreeModel seriesTreeModel;
    SeriesTreeModel searchTreeModel;
    javax.swing.JSplitPane JSplitPane2;
    javax.swing.JScrollPane JScrollPane2;
    javax.swing.JScrollPane JScrollPane3;
    javax.swing.JTree tickersTree = new javax.swing.JTree();
    javax.swing.JTree searchTree = new javax.swing.JTree();
    javax.swing.JScrollPane alphabeticPane = new javax.swing.JScrollPane();
    javax.swing.JTabbedPane viewPane = new JTabbedPane(SwingConstants.BOTTOM);
    javax.swing.JScrollPane searchDataPane = new javax.swing.JScrollPane();
    //{{DECLARE_CONTROLS
         javax.swing.JSplitPane JSplitPane1 = new javax.swing.JSplitPane();
         javax.swing.JMenuBar menuBar = new javax.swing.JMenuBar();
         javax.swing.JMenu seriesMenu = new javax.swing.JMenu();
         javax.swing.JMenuItem newSeriesGroupMenuItem = new javax.swing.JMenuItem();
         javax.swing.JMenuItem newSeriesMenuItem = new javax.swing.JMenuItem();
         javax.swing.JSeparator JSeparator1 = new javax.swing.JSeparator();
         javax.swing.JMenuItem serachMenuItem = new javax.swing.JMenuItem();
         javax.swing.JSeparator JSeparator2 = new javax.swing.JSeparator();
         javax.swing.JMenuItem saveMenuItem = new javax.swing.JMenuItem();
         javax.swing.JSeparator JSeparator3 = new javax.swing.JSeparator();
         javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem();
         javax.swing.JMenu adminMenu = new javax.swing.JMenu();
         javax.swing.JMenuItem bulkLoadMenuItem = new javax.swing.JMenuItem();
         javax.swing.JMenuItem drsMenuItem = new javax.swing.JMenuItem();
         javax.swing.JMenu helpMenu = new javax.swing.JMenu();
         javax.swing.JMenuItem tutorialMenuItem = new javax.swing.JMenuItem();
         javax.swing.JMenuItem bulkLoadFormatMenuItem = new javax.swing.JMenuItem();
         javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem();
    Pl. help me in resolving this.
    Ashok

Maybe you are looking for

  • Is their a way to set system property in weblogic console

    Hi WL USERS Is their a way to set system property in weblogic console ie (http://localhost:8080/console) ? if yes, can we access that property in code using System.getProperty()? Regards vishy

  • All sound randomly dissapearing after use of about 2 hours or so

    My sound randomly stops working after a few hours of use. I need help because I tend to be in long-term Skype calls and when I'm editing or watching over a video for business purposes my audio randomly cuts out. I have found a way to fix it and one w

  • Help please!! Need Acrobat 4.0 X1A

    The following does exactly what I need, EXCEPT, I need the single pages as Acrobat 4.0 x1a 1.3 PDFs. Every time I run this it changes my 1.3 PDFs to 1.6! Your help is truly appreciated! property Default_Path : (path to desktop folder as Unicode text)

  • Change log-in image

    Hi experts i'd like to know the way to change the standard SRM-EBP image of the log-in. It is via se80 but i don't remember if i've to search into MIME repository or so on... Can u help me? thanks regards ab

  • Error while creating WPC editor component...

    Hi, I was trying to create WPC editor component based on [Creating Editor Components for Composite Web Form Elements|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30c46426-829b-2b10-4286-ec70189e5de5&overridelayout=true] tutorial. Basically