How to provide space between two tabs in a tabbed pane using Swings?

I want to place two tabs on a tabbed pane with a specified gap in between. How to give the space between them. Please suggest me how to implment this.
Thanks in advance.

set your own UI, overriding paintTab(..) to add 5 (or whatever gap) to each of rects.x

Similar Messages

  • How to get space between two values in a single cell of a table.

    hello,
            how to get space between two values in a single cell of a table.
    thanks a lot.
    kailash.

    sorry i got the answer.

  • How to provide space between columns in alv_grid_display?

    hi,
    gurus,
    I want to provide space between columns in alv display how can i achieve that.
    ex.
    sno   name   street    
    thank u ,
    shabeer ahmed.

    Hi..,
      There you wl get column seperators with seperate blocks and cells in the grid anyway.
    Maintain gap between columns is nothing but grid breaking, its may be possible with oops concept.
    Let me know whats your requirement?
    Thanks,
    Naveen.I

  • How to add space between two tabs in accodion widget?

    Hi! I am using the accordion widgets and trying to add space between each of the tabs, would someone help me on this. Thanks

    Directly editing the output of Muse is virtually always a bad idea. At a minimum it will create a very cumbersome workflow since Muse will overwrite your changes every time you re-export (export, upload, publish, preview).
    It depends on exactly what visual effect you want to achieve, but you probably just need to select the accordion widget and use the Spacing panel to adjust the vertical gutter value.

  • How to remove space between two fields in emergency primary contact.

    How Can I remove a space between the two fields.IN emergency primary contact there are certain field called "C/O" and a i have added one text for this field inside that.But it is taking a big space between the "C/O" field and the text view.Plz suggest how I can re,move this?Also How Can I add new transparent container  with the end user personalization in the emergency contact field.

    Hi Peddi
    In my structure pannel I have simpleSearchPanel below that only i have the two lov fields ex: emp_no and emp_name . how to set the spacer between this From which Region where can find the spacer bean what proerty do i need to set
    Thanks
    AT

  • PO Stylesheet How to remove space between two tables

    Hi
    I am building a rtf template for PO output for communication report in r12,there is a terms and conditions part and total amount part which comes at bottom of every page of the report. I have created that as a template and i call it in the footer.
    The problem is there is always a gap between the lines table and the terms & conditions and total table,any idea's on how to resolve this issue will be very helpful.
    Please let me know if any other input is required from my side.
    Thanks in Advance

    Are you trying to have the table where the lines are always be the same size no matter how many lines are present?
    If so, you some choices:
    1) If your lines are always the same height, you might get some ideas on what to do from this article:
    http://oracle.anilpassi.com/xml-publisher-developing-reports-printed-on-pre-printed-stationary.html
    2) If your lines vary in height, then you should look into a PDF template. This will give you a pre-printed stationary look in which the drawing of boxes and lines is not affected by the data content.
    3) Other less attractive options are a) making the report in XSL-FO, and b) making a bitmapped RDF report
    There is currently no solution that I am aware of for a pre-printed stationary look using an RTF template in which the data lines are of variable height.

  • How to increase space between two buttons in iphone

    Hi Iam creating 10 uibuttons dynamically and animate randomly. but any of two or four buttons are overlapped.
    plz tell me the solution.
    i have the following code in my ipad app:
    -(void)AnimateNumbers
        for(NSMutableDictionary *dict in self.buttonArray)
            UIButton *but=[dict objectForKey:@"Button"];
            CGPoint bcenter=but.center;
            int numx=[[dict objectForKey:@"Xvalue"]intValue];
            int numy=[[dict objectForKey:@"Yvalue"]intValue];
            bcenter.x+=numx;
            bcenter.y+=numy;
            //bcenter.x=bcenter.x+[dict objectForKey:@"Xvalue"];
            //bcenter.y=bcenter.y+[dict objectForKey:@"Yvalue"];
            but.center=bcenter;
            //if(uia)
             BOOL isPortrait = UIDeviceOrientationIsPortrait(self.interfaceOrientation);
            //NSLog(@"is portrait %@",isPortrait);
            //if(isPortrait)
                //NSLog(@"is portrait");
            if(isPortrait)
                if(bcenter.x>720)
                    [dict setValue:[NSNumber numberWithInt:-15] forKey:@"Xvalue"];
                if(bcenter.y>900)
                    [dict setValue:[NSNumber numberWithInt:-15] forKey:@"Yvalue"];
                if(bcenter.x<100)
                    [dict setValue:[NSNumber numberWithInt:35+but.tag] forKey:@"Xvalue"];
                if(bcenter.y<222)
                    [dict setValue:[NSNumber numberWithInt:35+but.tag] forKey:@"Yvalue"];
                self.correctwrongImageView.frame=CGRectMake(214,450,253,201);
            else {
                if(bcenter.x>900)
                    [dict setValue:[NSNumber numberWithInt:-15] forKey:@"Xvalue"];
                if(bcenter.y>720)
                    [dict setValue:[NSNumber numberWithInt:-15] forKey:@"Yvalue"];
                if(bcenter.x<100)
                    [dict setValue:[NSNumber numberWithInt:35] forKey:@"Xvalue"];
                if(bcenter.y<222)
                    [dict setValue:[NSNumber numberWithInt:35] forKey:@"Yvalue"];
                self.correctwrongImageView.frame=CGRectMake(362,351,253,201);
                //self.resultview.frame=CGRectMake(362,351,253,201);
    Thanks.

    You might get better responses posting this to the developers forum.

  • How to remove white space between two answer reports

    How to remove white space between two answer reports
    In Dashboard section I have 2 rqeuest. Each request renders Table View. When I display dashboard, it show white space separating the 2 table views. How do I get rid of the white space/white band ?

    See this link
    Re: Eliminating the space between two reports in OBIEE dashboard page Section
    Regards,
    Sandeep

  • How to eliminate the space between two analysis in the Dashboard?

    Hi All,
    I have created a Dashboard which contains 12 analyses arranged vertically. When i see the report in the dashboard section it contains some standard space between each analysis. So it looks like separate separate analysis arranged in dashboard. But i want it to look a single table is it possible by reducing the space between every analysis? If possible please let me know how to achieve this in clear manner.
    Awaiting your valuable responses.
    Thanks in Advance
    Thenmozhi

    Hi,
    Yes,try to adjust the analysis view (table/pivot/chart view )Formating option...
    FYI: try to align formating left,right,top/bottom padding and also try to reduce the width and height..
    Please refer the below
    Re: Eliminating the space between two reports in OBIEE dashboard page Section
    THanks
    Deva

  • How to remove/reduce the default space between two sections ?

    How to remove/reduce the default space between two sections on the dashboards?

    if you make a modification of the Dashboardlayout in the file PortalContent.css like
    .SectionTable {
    margin-bottom: 2px;
    width: 100%;
    border-width: 1px;
    border-style: none;
    border-color: #CECECE;
    There will be no more borders. However the gap exists but the look of the 2-section report might look better.
    There is an ER raised at the Oracle Support.
    Enhancement 5655489: ABILITY FOR USERS TO CONTROL THE GAP LENGTH BETWEEN REPORTS AND SECTIONS
    Hope it helps you..
    Regards,
    Raghu

  • How to hide empty space between two pages.

    Hi.
    I want to hide the grey space between two pages in Pages, so the last line of the top page could join directly the first line of the bottom page for quicker reading... Is it possible? Is their a way to stick pages tray to tray without the default empty grey space?  This option was possible in Word 2007...
    Thank you.

    demifraction,
    Is your document in Layout view?
    Under the View menu, Hide Layout:
    This doesn't hide all the grey space, but it stops the grey in the layout margins.
    Regards,
    Ian.

  • Delete white spaces between two strings

    hi!
    How do I remove white spaces between two strings. I have attached file for reference.
    Thanks
    Attachments:
    untitled4.JPG ‏62 KB

    You first need to define what you consider to be "whitespace". Is it just a space? Is it spaces and linefeeds? What about carriage returns? Tabs? Anything non-alphabetic and/or non-numeric?
    As mentioned previously, the Search and Replace String can be used to delete characters by wiring an empty string to the replace string input. The following, for example, will delete all spaces:
    If you need to delete other whitespace characters, just call it again on the resulting string.
    Message Edited by smercurio_fc on 06-02-2008 09:25 AM
    Attachments:
    Example_VI1.png ‏3 KB

  • How to maintain Space between text in Smart form

    Hi Experts,
    How to maintain space between text in smat form.
    For example
    I need to maintain like this
    Prepared By:                       Passed By:                  Approved By:       
        but after save it come like this 
    Prepared By:   Passed By:  Approved By:      
    How to maintain spaces between texts?
    Regards,
    Sreedhar.

    hi,
    we can give space in the smartform in the same way as in the scripts with two commas one space can be given.
    when u click on the text in the window ,
    there in the general attributes at the left hand side u can find a small icon for editor in that u can define the spaces with the variable to be printed in &var&.

  • How to set space between the fields in SearchPG- Display issue

    Hi Friends
    I Have created a searchPG with a QueryRN , In my searchPG i have some display issue after running the page its looks like this
    For Example assue its a page with 3 field and one table region
    Employee no
    Employee name
    Phone no
    ResulttableBut i want my searchPG should hav some space between two field as shown below
    Employee no
    Employee name
    Phone no
    ResulttablePlease adviice me
    I appreciate all ur advice
    Thanks
    A.T

    Hi Peddi
    In my structure pannel I have simpleSearchPanel below that only i have the two lov fields ex: emp_no and emp_name . how to set the spacer between this From which Region where can find the spacer bean what proerty do i need to set
    Thanks
    AT

  • Need to eliminate Space between two Pivot table view  in OBIEE 11g

    Hi,
    I have a requirement to eliminate space between two pivot table views. In a single report I have two Pivot table with two different column, I placed both of them one after another, but I need to eliminate the space between two pivot table views as if it should show as a single pivot table in OBIEE 11g.
    Could anyone please let me know how I can do this in OBIEE 11g?
    Thanks in Advance
    Anirban Mitra

    If I create narrative view it will be another view. And if I put that in between that two pivot view, it will show the space. I need to remove space between two pivot table within a single report so that it can appear as a single pivot view.
    Thanks

Maybe you are looking for