ADF swing: JTabbedPane does not display column names.

Hi all,
I have created an ADF Panel, which allows the user to run a few simple queries against an Oracle database done using ADF view objects and ADF view links and ADF application module.
From the data control area I drag and drop a view link containing a query into a JTabbedPane. But when I run the ADF panel, JTabbedPane does not display the column headers from the SQL as opposed to JScrollPane which does.
Suppose you do a select * from departments(dep_id, manager, state_cd), you will see all column headers meaning dep_id, manager, state_cd, and under each column the corresponding data which was retuned by the SQL if you use JScrollPane. But if you use you use JTabbedPane then you would only see the data which was retuned by the SQL without seeing the column header names meaning dep_id, manager, state_cd.
What do I need to do to make JTabbedPane display columns headers?
I would appreciate your input.
Thanks.
Bobby A.

Hi,
JScrollPane should be used. You can add this into a JTabbedPane if you like. Not all Swing panel show table headers
Frank

Similar Messages

  • Not displaying column names in dynamic pages?

    I'd like to use a dynamic page as a detail page. In doing this I need a bit more freedom of design than what I now know is possible. Most important - I only need to print out the values returned by the SQL, not the column names as well. And I need to define the colors and fonts of the html table tags surrounding the returned values. How?
    It seems a bit strange that I am allowed to change the look and feel of the surrounding page elements through defining my own templates, and then have Oracle define how the elements placed in the templates are to appear.

    Hi,
    It is not possible to change the format the output coming from the <oracle> tags.
    Thanks,
    Sharmila

  • Nokia 5800 does not display contact names

    With some of my contacts an incoming call with a Caller ID does not display the caller's name, although they are in my Contact List and the number is in a valid format.Same is the case for sms's from the same contact.I only have one entry of that contact in my phonebook...Any 1 facing the same issue?

    This is inevitably caused by duplicate entry, (many posts already exist) check settings in options in contacts and make sure memory in use is phone memory. Then you need to go through contacts and make sure you don't have more than one name attached to each number  .
    Good Luck
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Itunes does not display asrtist name in album view on remote

    When viewing my music on my IPad using remote app in album view it no longer displays the artist's name un the album title, when using an older version of ITunes  V 11.4.0.18 it was displayed.
    Mini mac(2013)  running Mavericks Ipad Air running ios 8.1  latest version if  ITunes.
    When I boot up my old PC using iTunes v11.4.0.8  and connect my pad to it    the artist's name is displayed un the album name. 
    Does anyone know how to get the latest version of ITunes  to do what v11xxxx did.

    Thanks for info Stefan. I have gone back to using my music on my old PC on which ITunes was not updated (nor will it) . This gives me the functunality I need and will wait and see if Apple put out a patch to fix the artist display issue. 
    As an aside I have found an app for my old Motorola phone called Retune which very good, it does everything that Remote does and more.. It is a shame that my crappy old phone has a better music system than my expensive IPad.
    Regards
    Roger

  • ITunes does not display Album name or song names

    Just got my new Macbook. Loaded a few CDs into iTunes and then plugged in my Nano. Neither iTunes nor the Nano display the Album and Song info. Is there some setting or configuration I need to do first?

    After doing a bit of searching I find that the song/album info is not on commercial CDs. I need to be "on-line" so that the info can be retrieved from a database. Hmmmm.........
    I will give that a try.

  • Does Not Display contacts name

    Hello,
    Just wondering why on my 6110 when some one in my contacts list sends me an sms it comes up with their mobile number not their name. Only just new and still trying to work out phone.
    Thanks

    G'day all -
    I've got the same problem, sort of. One person in particular has a Vodaphone branded 6234, which insists on sending the number as a fully qualified international, that is, with the +61nnnnnnnnn.
    I imported the contacts from a Sony-Ericsson on my SIM, which worked fine and they seem to have migrated seamlessly into the phone memory (I didn't do it!!!!!), and there are no duplicates. Other numbers show the person's names, but not this number,
    My phone details are:
    V 04.22
    05-11-07
    RM-122
    Nokia 6110 (24.01)
    I've deleted the contact from SIM, re-entered it from the keyboard, copied it to the SIM, all in various combinations -- nothing works. This person/number has NEVER been duplicated (apart from the SIM and phone memory).
    Is this something I have to live with, or is there a fix?
    Gordon.

  • When I send a mail from my iPhone, it displays the mail server name to the receiver if the mail and does nog display my name or e mail address. This only since upgrading my iPhone5 to iOS7

    When I send a mail from my iPhone, it displays the mail server name to the receiver if the mail and does not display my name or e mail address. This only since upgrading my iPhone5 to iOS7. I've checked all settings etc. anyone have a solution please?

    Rectory wrote:
    Please can someone tell me how  I can change this so when I send a mail from my phone and from the IPad that it reads from me.
    You need a separate email address but you've already ruled out that solution.

  • The control of adf media does not display even the Control attribute is set

    Hi
    I am trying to play a clip in a jspx page. I use an ADF media to embed the file and play the file by quicktime. I set the control display attribute to "all" or "typical" but the control does not display when the browser(FF) display the clip.
    Can anyone help me?
    Thanks

    try adding mime-mapping in web.xml. Just a suggestion and I haven't tried this control.

  • Groupwise 7 Rule Name does not display Windows 2008 R2

    Under tools and rules on a windows 2008 R2 server the rule name does not display. Any ideas on how to resolve this would be greatly appreciated.

    kdavisb wrote:
    > 2008 R2 server
    I'm pretty sure that the GW7 client is not supported on Windows 2008 R2.
    Danita
    Novell Knowledge Partner
    Upgrading to GroupWise 2012? http://www.caledonia.net/blog/?p=514
    http://www.caledonia.net/gw12upg.html

  • Related Content does not display on the name change page

    Hi all,
    Currently, i am doing some research for the related content. I find that delivery configuration has been on the Name Change component (self service). Then I do the security configuration but the related content option does not display on the name change component. No idea which step next i should take.
    Please advise.
    Any reference or docs is also welcomed.
    Dennis

    Hi,
    What do you mean by my two nodes are all local.
    Are you trying to use Related Content within one environment?
    Make sure you have an authentication domain set on your webprofile and that your hosts file reflects this.
    Make sure there is no proxy or firewall in the way.
    Make sure Integration Broker is setup correctly.
    Try pinging your server including the authentication domain.
    Try looking for log files in the application server and errorLog.html in the Webserv folder.

  • E72 does not display caller's name

    I have E72 handset. Off late, I experiencing peculiar problem. It does not display caller's name (displays on the caller's number). similary when I make call to someone from contacts list, it just shows calling ....number... not the contact name.
    I do not have duplicat entries in contacts list. I have placed almost all my contacts in the phone memory not on the SIM.

    one memory only should be selected not both.the phones memo is best to use..
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • When I burn a disc from a playlist in iTunes, the track names and artist info does not display on the disc when friends view/listen to it. This probably is an easy fix, but I need some advice.

    When I burn a disc from a playlist in iTunes on my MacBook, the track names and artist info does not display on the disc when friends view/listen to it. This probably is an easy fix, but I need some advice.

    No, this standard has been implemented for several decades.
    How iTunes remembers audio CDs - http://support.apple.com/kb/TA27785
    It is just conceivable you burned a CD that exactly matched one already in the Gracenote database.  Gracenote uses track count and duration to decide what CD it is you have in a computer.  If you have one that matches that it will label it.  You could conceivably even have one that matches it that is not the correct one.
    This script will only work on Macs:
    http://dougscripts.com/itunes/scripts/ss.php?sp=cdtexttocdinfo - script to use CD-text file on CD to label CD in iTunes

  • Transaction SMOEAC does not display Object type and Object Name options.

    Dear all,
    When I go to transaction SMOEAC system does not display fields Object type and Object Name option instead displays an empty frame allowing only to create new objects.
    System does not allow and display existing objects to edit.
    Most imp with the same ID, I am able to see the existing objects and two fields "Object type" and "Object Name" on different machine. So there is no authorization issue.
    My SAP GUI version where these fields are not visible is 640 Final Release with 6405.5.18.1016 version and Patch level 18.
    My SAP GUI version here these fields are visible is 640 Final Release with 6404.4.14.1012 version and Patch Level 14.
    Any idea what could be the reason?
    Regards,
    Sandeep Parab

    With installation of latest version of SAP GUI 710 final Release resolved my problem.
    Regards,
    Sandeep

  • ADF FACES: af:messages/ does not display my messages at all

    I am having an issue displaying messages using ADF MyFaces EA20.
    <af:messages />
    Within all backing beans I call messages with the following method to conveniently display messages when needed.
    // Add invalid email address message
    JSFUtils.addMsgToContext(FacesMessage.SEVERITY_ERROR, "setEmail_error", MsgConstants.INVALID_EMAIL);
    The method utilized can be seen below:
    public static void addMsgToContext(FacesMessage.Severity severity, String msgKey, String descKey) {
        // Check the parameter, if either short desc or desc both are empty
        if (StringUtils.isEmpty(descKey)) {
            logger.error("Message description are empty. Do NOTHING just return");
            return;
        try {
            logger.debug("Add Message to Context");
            FacesContext context = FacesContext.getCurrentInstance();
            Application application = context.getApplication();
            // Add the message to the context
            context.addMessage(msgKey, getMessageFromBundle(descKey, severity));
        } catch (RuntimeException e) {
            * Supress RuntimeException.
            logger.error("Error occured when add message to context", e);
    With the first login page when validating username and password, the messages I send to the context display correctly, for example, “incorrect password please try again” and this uses exactly the same code as above in the backing bean.
    However once a session has started the messages simply do not get displayed and are not included in the HTML the <af:messages /> is replaced with nothing.
    No runtime exception is thrown.
    If anyone has any idea of why the messages are not being displayed I would be very grateful to hear them.
    Finally if I may add that I used this method of displaying messages in a previous project and it was fine. This time the only difference is that I am using Hibernate.
    The closest answer I could find to a similar issue with Oracle Forums was:
    The messages have to be added before the Render Response phase. It's generally very unusual to add messages in a bean getter/setter. I'd restrict yourself to adding messages in event listeners and actions.
    I do put messages in my setter methods as this is where I perform validation, but I have tried moving them to the main method called by the action button and this still does not display my messages.

    Frank
    There is a standard way? Next time you can simply tell me to RTFM ;-) . I am working on a project and was assigned my particular section and was told that the messaging aspect and validation was not urgent, until now near the end of the project when it has become urgent. Rather then listen to my colleagues answer of "this is the way to do it" your answer suggested that we working in a non-standard way.
    Having looked at Oracle JDeveloper 10g (10.1.3) Documentation, Validation, Conversion, and the Application Lifecycle section I noticed:
    Render response:
    Either display new page based on invoked navigation rules, or displays same page with errors.
    I was providing a new navigation String to the same page under all conditions, which I guess gives a new context and so does not display the messages. Under error conditions I now return an empty navigation String and now it displays my messages.
    Thank you for your help with this and I promise to read the manual next time.
    Andrew

  • DataGrid does not display XML data

    Hello, and thanks for reading this...
    I am having a problem displaying XMLList data in a DataGrid.
    The data is coming from a Tree control, which is receiving it
    from a database using HTTPService.
    The data is a list of "Job Orders" from a MySQL database,
    being formatted as XML by a PHP page.
    If it would be helpful to see the actual XML, a sample is
    here:
    http://www.anaheimwib.com/_login/get_all_orders_test2.php
    All is going well until I get to the DataGrid, which doesn't
    display the data, although I know it is there as I can see it in
    debug mode. I've checked the dataField property of the appropriate
    DataGrid column, and it appears correct.
    Following is a summary of the relevant code.
    ...An HTTPService named "get_all_job_orders" retrieves
    records from a MySQL database via PHP...
    ...Results are formatted as E4X:
    HTTPService resultFormat="e4x"
    ...An XMLListCollection's source property is set to the
    returned E4X XML results:
    ...The "order" node is what is being used as the top-level of
    the XML data.
    <mx:XMLListCollection id="jobOrdersReviewXMLList"
    source="{get_all_job_orders.lastResult.order}"/>
    ...The "jobOrdersReviewXMLList" collection is assigned to be
    the dataProvider property of a Tree list, using the @name syntax to
    display the nodes correctly, and a change event function is defined
    to add the records to a DataGrid on a separate Component for
    viewing the XML records:
    <mx:Tree dataProvider="{jobOrdersReviewXMLList}"
    labelField="@name"
    change="jobPosForm.addTreePositionsToDG(event)"/>
    ...Here is the relevant "jobPosForm" code (the Job Positions
    Form, a separate Component based on a Form) :
    ...A variable is declared:
    [Bindable]
    public var positionsArray:XMLList;
    ...The variable is initialized on CreationComplete event of
    the Form:
    positionsArray = new XMLList;
    ...The Tree's change event function is defined within the
    "jobPosForm" Component.
    ...Clicking on a Tree node fires the Change event.
    ...This passes an event object to the function.
    ...This event object contains the XML from the selected Tree
    node.
    ...The Tree node's XML data is passed into the positionsArray
    XMLList.
    ...This array is the dataProvider for the DataGrid, as you
    will see in the following block.
    public function addTreePositionsToDG(event:Event):void{
    this.positionsArray = selectedNode.positions.position;
    ...A datagrid has its dataProvider is bound to
    positionsArray.
    ...(I will only show one column defined here for brevity.)
    ...This column has its dataField property set to "POS_TITLE",
    a field in the returned XML record:
    <mx:DataGrid width="100%" variableRowHeight="true"
    height="75%" id="dgPositions"
    dataProvider="{positionsArray}" editable="false">
    <mx:columns>
    <mx:DataGridColumn width="25" headerText="Position Title"
    dataField="POS_TITLE"/>
    </mx:columns>
    </mx:DataGrid>
    In debug mode, I can examine the datagrid's dataProvider
    property, and see that the correct XML data from the Tree control
    is present. However, The datagrid does not display the data in any
    of its 6 columns.
    Does anyone have any advice?
    Thanks for your time.

    Hello again,
    I came up with a method of populating the DataGrid from the
    selected Item of a Tree Control which displays complex XML data and
    XML attributes. After the user clicks on a Tree branch, I call this
    function:
    public function addTreePositionsToDG(event:Event):void{
    //Retrieve all "position" nodes from tree.
    //Loop thru each Position.
    //Add Position data to the positionsArray Array Collection.
    //The DataGrid dataprovider is bound to this array, and will
    be updated.
    positionsArray = new ArrayCollection();
    var selectedNode:Object=event.target.selectedItem;//Contains
    entire branch.
    for each (var position:XML in
    selectedNode.positions.position){
    var posArray:Array = new Array();
    posArray.PK_POSITIONID = position.@PK_POSITIONID;
    posArray.FK_ORDERID = position.@FK_ORDERID;
    posArray.POS_TITLE = position.@POS_TITLE;
    posArray.NUM_YOUTH = position.@NUM_YOUTH;
    posArray.AGE_1617 = position.@AGE_1617;
    posArray.AGE_1821 = position.@AGE_1821;
    posArray.HOURS_WK = position.@HOURS_WK;
    posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
    posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
    posArray.JOB_DESCR = position.@JOB_DESCR;
    posArray.DES_SKILLS = position.@DES_SKILLS;
    positionsArray.addItem(posArray);
    So, I just had to manually go through the selected Tree node,
    copy each XML attribute into a simple Array, then ADD this Array to
    an ArrayCollection being used as the DataProvider for the DataGrid.
    It's not elegant, but it works and I don't have to use a Label
    Function, which was getting way too complicated. I still think that
    Flex should have an easier way of doing this. There probably is an
    easier way, but the Flex documentation doesn't provide an easy path
    to it.
    I want to thank you, Tracy, for the all the help. I checked
    out the examples you have at www.cflex.net and they are very
    helpful. I bookmarked the site and will be using it as a resource
    from now on.

Maybe you are looking for

  • Pie chart with legend as a column

    Watch the Keynote '09 Video Tutorial "Create and Edit a Chart": http://www.apple.com/iwork/tutorials/#keynote-chart . A pie chart is shown where the legend appears as bullets arranged in a column. When I try to create a pie chart, the legend appears

  • Loading initialization parameters

    I am trying to load parameters from web.xml in the init() method. But, in vain. What's wrong with the following code? package test; public class TestServlet extends HttpServlet{      public void init(ServletConfig config) throws ServletException {   

  • MB_MIGO_BADI

    Hi Experts, I have implemented badi "MB_MIGO_BADI" in ECC 6.0. I am using method "POST_DOCUMENT" to call another FM 'BAPI_KANBANCC_WITHDRAWQUANTITY'. But since the above BADI is called in Update Task, its giving error at runtime Error Info...   00 67

  • Email id validation in dialog screen

    Hi friends, How can i validate email id for input field in dialog screen. can any one gives me code for it. Thank you. Regards, Virat

  • White screen after 10.6.7 update

    I have just updated our 24" and 27" iMacs via software update. Immediately both suffer a white screen on startup. In resolving the startup problem, I found removing usb cables on startup solves the problem temporarily, but consistently returns when c