How to set the font of a table header?

Hi,
Is there a way to set the font of a table header? I do not mean how to change the header word but the font.
Thanks
Stephen

Hi,
for combobox in a table (I assume the combobox is shown un column 2, thus the index 1)
oracle.jbo.uicli.jui.JUTableLOVEditor lovCellEditor = (oracle.jbo.uicli.jui.JUTableLOVEditor) jTable1.getColumnModel().getColumn(1).getCellEditor();
lovCellEditor.getComponent().setFont(new Font("Arial",Font.BOLD,13));
For the LOV panel this is a bit more complicated because you need to create a custom LOV panel as described in http://www.oracle.com/technology/products/jdev/howtos/10g/jclientlov/customadfjclientlovpanel.html
I filed a bug today to expose the component on a LOV to public so they can be modified
Frank

Similar Messages

  • How to set the Font size of Label?????

    Hello everyone.
    I want to knoe how to set the Font size of the Label???
    Please help..
    Thanks a lot.
    Gloria

    Label myLabel = new Label("Hello World");
    //Font(String name, int style, int size)
    myLabel.setFont(new Font("Arial", Font.PLAIN, 12));

  • How to set the fonts in the user profile(very urgent)

    Hi All,
    Can anyone please tell how to set the fonts in the user profile.
    We have a requirement where currently all the data is being displayed in a font and the user want to change that font permanently.
    I hope you have got the requirement.
    Points will be surely awarded.
    Thank you.

    Hi,
    U can do this in SU02.
    Kishi.

  • How to set the font of label in ColumnChart correctly?

    hello, everybody
    By flex sdk 4.1.0, 4.5.1,
    the same source but two effects of font of label of ColumnChart will be displayed.
    .mxml:
    <!-- mxml start -->
    <?xml version="1.0" encoding="utf-8"?>
    <s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
                       xmlns:s="library://ns.adobe.com/flex/spark"
                       xmlns:mx="library://ns.adobe.com/flex/mx"
                       width="100%" height="100%"
                       styleName="backgroundChart" xmlns:local="*" xmlns:common="common.*">
        <fx:Declarations>
            <s:SolidColorStroke id="white" weight="1" color="#CCCCCC"/>
        </fx:Declarations>
        <s:Label text="" id="titleLabel" textAlign="left" styleName="graphLabel" x="10" y="10" width="100%" height="40" visible="true"/>
        <mx:Legend id="ch01Legend" direction="horizontal" dataProvider="{mainChart}" height="100%" width="100%" x="30" y="30" styleName="myLegend1"/>
        <!-- Define custom Strokes. -->
        <mx:ColumnChart id="mainChart" showDataTips="true" x="20" y="60" width="100%" height="100%" dataTipFunction="dataTip">
            <mx:backgroundElements>
                <mx:GridLines horizontalChangeCount="1" gridDirection="horizontal">
                    <mx:horizontalStroke>{white}</mx:horizontalStroke>
                </mx:GridLines>
            </mx:backgroundElements>
            <mx:verticalAxisRenderers>
                <mx:AxisRenderer axis="{linearAxis}" showLine="true" showLabels="true" styleName="myAxisStyle1">
                    <mx:axisStroke>{white}</mx:axisStroke>
                </mx:AxisRenderer>
            </mx:verticalAxisRenderers>
            <mx:verticalAxis>
                <mx:LinearAxis id="linearAxis"
                               minimum="0"
                               autoAdjust="true"
                               title="Unit"
                               />
            </mx:verticalAxis>
            <mx:horizontalAxisRenderers>
                <mx:AxisRenderer id="horizonLabel" labelRotation="45" axis="{ch01_a2}" showLine="true" showLabels="true" styleName="myAxisStyle3">
                    <mx:axisStroke>{white}</mx:axisStroke>
                </mx:AxisRenderer>
            </mx:horizontalAxisRenderers>
            <mx:horizontalAxis>
                <mx:CategoryAxis id="ch01_a2"
                                 dataProvider="{mainChart}"
                                 title="Period"
                                 categoryField="Period"
                                 />               
            </mx:horizontalAxis>
        </mx:ColumnChart>
    </s:BorderContainer>
    <!-- mxml end -->
    .css
    <!-- css start -->
    .myAxisStyle1 {
        placement:bottom;
        minorTickPlacement:none;
        tickLength:5;
        tickPlacement:none;
        color:#FFFFFF;
        verticalAxisTitleAlignment:vertical;
        fontFamily: Arial_AFE;
    .myAxisStyle3 {
        placement:bottom;
        minorTickPlacement:inside;
        tickLength:5;
        tickPlacement:inside;
        color:#FFFFFF;
        fontFamily: Arial_AFE;
    @font-face {
        src:url("font/arial.ttf");
        fontFamily: Arial_AFE;
        embedAsCFF: false;
    <!-- css end -->
    environment:
    flex sdks->4.1.0
    chart image:
    the font looks like "Arial"
    environment:
    flex sdks->4.5.1
    chart image:
    the font looks like "Times New Roman"
    Working at flex sdks 4.5.1,
    the labelClass can be set to 'spark.components.Label'(defalut) or 'mx.controls.Label',
    it seems that we can set labelClass to mx.controls.Label to get the same effect of font of label in ColumnChart when flex sdks->4.5.1
                <mx:AxisRenderer axis="{linearAxis}" showLine="true" showLabels="true" styleName="myAxisStyle1" labelClass="mx.controls.Label">
                <mx:AxisRenderer id="horizonLabel" labelRotation="45" axis="{ch01_a2}" showLine="true" showLabels="true" styleName="myAxisStyle3" labelClass="mx.controls.Label">
    but it also causes a memory leak.
    1) Can anyone tell me how to show the font of label of ColumnChart correctly (looks like "Arial") when using the labelClass 'spark.components.Label' ?
    2) Can anyone tell me how to solve the memory leak when using the labelClass 'mx.controls.Label'?

    Hi,
    for combobox in a table (I assume the combobox is shown un column 2, thus the index 1)
    oracle.jbo.uicli.jui.JUTableLOVEditor lovCellEditor = (oracle.jbo.uicli.jui.JUTableLOVEditor) jTable1.getColumnModel().getColumn(1).getCellEditor();
    lovCellEditor.getComponent().setFont(new Font("Arial",Font.BOLD,13));
    For the LOV panel this is a bit more complicated because you need to create a custom LOV panel as described in http://www.oracle.com/technology/products/jdev/howtos/10g/jclientlov/customadfjclientlovpanel.html
    I filed a bug today to expose the component on a LOV to public so they can be modified
    Frank

  • How to set the font size on only one object!

    I wonder how i could programmatically set the font size on only one object?
    Igor Stojčević

    Hello,
    You can use the builtin SRW.SET_FONT_SIZE
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/plsql/builtins/srw/srw_set_font_size.htm
    in the Format trigger
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/plsql/triggers/tr_format_trigger.htm
    Regards

  • How to set the font size in JOptionPane?

    I use a JOptionPane.showOptionDialog in a JClient form.
    Can I set the font size of the message in my JOptionPane?
    And also, can I set the location for each component in JOptionPane?

    The best way to do that is to create a seperate panel with its components in it (a JLabel with a specific font setting) and display that panel as the JOptionPane's message.
    As for the OK/Cancel/etc buttons, I don't think you'll be able to rearange them, without hacking into the JOptionPane class' source.

  • How to set the font for table view contol

    Dear All,
    My requirement is to set Font type = Arial and size=1 for
    Table View control. The same font should be for  header, Rows and footer.
    One way we are achieving it through the Renderer class. Where in we are we are supplying data, colums with html font tags.
    Is there any simple way to fix font fot the entire TableView.
    Thanks
    Markandeya

    An approach I've used is to override the CSS styles by adding code like the following to the top of the JSP page.  It's a bit of a hack, but it did the job.  You will need to find ALL the styles used in a table view, and override the font size.
    <%-- OVERRIDE SOME CSS STYLES SO WE HAVE THE DESIRED TABLE CELL PADDING --%>
    <style>
    <!--
    .sapTbvCellStd {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    .sapTbvCellAlt {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    //-->
    </style>

  • How to set the current row in table automatically when tabout from one row to next row

    Hi
    I'm using jdev 11.1.2.0.0
    How can we set the  row(in which row focus is)  as current row in the table?
    If we create a table with single row selection, then whichever row we select, that row becomes current row because of the selection listener(#{bindings.xxvo.collectionModel.makeCurrent}).
    Then if we do tabout from one component to another component in table and moved to next row, then the focus would be on another row .
    when focus is shifted from one row to another row, then how can we make the focused row as current row or selected row.
    Any suggestion would we appreciated
    Thanks.

    Add clientListener inside table component and set client listener type to dblClick with method as a JavaScript method name.
    <af:clientListener method="dblclk" type="dblClick"/>

  • How to set the First Line of Table UI in Web Dynpro ABAP

    Hi Team,
    I have a scenario where I'm displaying two Table controls one below the other. When a line is selected in the first(Top) table, I have a supply function(Event) and I fill the second(bottom) table. Everything works fine till here.
    The problem starts when I scroll the bottom table. Lets assume that I'm at line 20 of the second table and I press the lead selection to select another line on the first table. Here the second table is filled with new data but it is automatically scrolled to line 20. My questions:
    1) Do I have to set some specific property of the second table? If yes, which one and where should I set it (In the supply function? I already have the "visibleRowCount" set to "10")
    2) How do I dynamically get access to the Table Control properties?
    Thanks for your time

    Thank you Maksim,
    I did set the "selectionMode" to "Auto". I don't understand where In supply function I have to set lead selection of nested node to first element. Please elaborate on this. Are you talking about the context attribute bound to the second table? OR do I have to change the Importing parameters "Node" and "Parent_Element" of my supply function?
    Thanks for your time.

  • How to set the font I wanted in the BI publisher PDF output

    I was refering this forum,
    Font used in RTF template not the same as the PDF generated!
    but the following link i(provided in that forum)s not working
    http://blogs.oracle.com/xmlpublisher/2007/09/25/
    I unterstood , the RTF template font won't come in the BI publsiher generated PDF output . I was trying to set from the 'BI publisher' Admin->Font Mappings.
    There is 2 drop down. If I select ‘Target Font type=TrueType’- the font change is working
    But if I select Type 1, where I can select the ‘real fonts’(such as Courier or Times-Rroman etc) , I cannot even apply the changes. It reverts back to
    'Target Font type=TrueType’ (But I want to select the fonts from Type 1). Can you please let me know how do I do this?
    Thanks in advance
    Kavitha
    Edited by: user6790640 on Mar 29, 2010 12:54 PM

    Is there a reason why you don't use the presentation variables directly to filter the BI publisher report?
    If you use the presentation variables, then ensure that the presentation variables associated with the prompt exactly matches the BIP report parameter name. In this case, you can create another datamodel with a sql that selects the parameters. for example: select :param1, :param2 from dual. In that case, the xml will include the parameter values and you should be just able to insert the param fields in the template.
    Thanks!

  • How to set the font that SuperNova will show the text correctly

    I have a problem with the use of Firefox with Supernova. Supernova is a program for visual handicaped people which allows you to enlarge the desktop. When you visit the page
    http://www.raadvanstate.nl/uitspraken/zoeken-in-uitspraken/tekst-uitspraak.html?id=73735&summary_only=
    you will see some orange colored text in the main text block. This is shown correctly. However when I enlarge the screen with Supernova this orange text is barely readable due to the fact that the letters seems to built of dots instead of a smooth line.
    Note that that even happens with this page where I enter these details of the questions. When Supernove enlarges rhe screen, the texts outside the textbox are horrible while the text in this textbox is good.
    I ask this question here because when I use Internet Explorer this problem does not occur.
    I've tried to make a screenprint, but the screenprint functionality doesn't "see" that the screen is enlarged. So when I zoom to 100% with Supernova, the text in the screenshot seems to be okay.
    I realise that this is a difficult issue to reproduce but any help is welcome. Note that enlarging the font with the Firefox options is not a real option for me. Supernova enlarges the complete screen, not only the text on the webpage. This way I'm also able to see the menu's / bookmarks of Firefox itself.
    Thank, you very much,
    Hans

    Thank, you very much. The hardware acceleration caused the problem.

  • How to set the 'text' property of a 'Header' region dynamically?

    Hi,
    I have a requirement to display the 'text' property of a 'Header' region, based on a query.
    So I need to set the text property programatically in CO.
    Can I use setText("..") by getting the handler to the 'Header' region?
    If so, How to get the handler for the 'Header' region?
    Message was edited by:
    user594528

    How to get the handler for the 'Header' region to call the setText()?
    OAHeaderBean Header1 = (OAHeaderBean)...........................
    Header1.setText("....");

  • How to set the view of a table to the last column?

    Hi all,
    I have a table that allows user to add rows to it. When the number of columns exceed the number of row the viewport can display, the freshest columns are not in the view.
    My question is, how do I force the viewport to view the last rows of the table as the table grows? Instead of just showing the starting rows?

    You're mixing columns and rows in your problem description, but
    something like the following should be close
    Rectangle rect = new Rectangle( table.getWidth()-1, table.getHeight()-1, 1, 1);
    table.scrollRectToVisible( rect );: jay

  • How to change the font size of Column Heading  in webdynpro java

    Hi,
    I have a table with 4 columns, Can any one tell me how can i increase the text size and apply different fonts in webdynpro java application.
    Thanks
    Satish J

    Hi Satish,
    To expain it bit more clearly.
    Copy the images you need to use in the application
    Open your application in package explorer<Navigator>
    Now Expend node  src -> mimes -> components -> your application name with full package now right click on it and paste all the images here.
    Now go to web Dynpro prospective and use the  image name  (full name of image like columnName.jpg )to assign it to imageSource  property of the  Table_Header (Caption Header). The image will be seen.
    Hope this will clarify.
    Regards
    Narendra

  • How to set the protocol field in PPP header

    I would like to use PPP on Solaris 2.6 to encapsulate protocols other than IP. For example one of the protocols whose protocol ID field in a PPP header would be in the 4xxx to 7xxx range ... the ones which do NOT, I believe, require an associated Network Control Protocol.
    So I would need to set that field somehow. I looked at the man page for aspppd but did not see a way to use it to do what I want. I also would not want the various IP items such as negotiating the peer IP addresses.
    I would like some help on how to use Solaris PPP for non-IP packets if that is possible at all.
    Thanks in advance for any information.
    Sean

    Hi
    No this is not possible, since Parent lot is a subset of Lot in R12. Once you choose your item as LOT, then it is not possible to make as Optional.
    Try to raise an SR for this, Oracle may provide some workaround for the same.
    Rgds
    Raj
    NTTData India

Maybe you are looking for