LVOOP "call parent method" doesn't work when used in sibling VI

It seems to me that the "call parent method" doesn't work properly according to the description given in the LabVIEW help.
I have two basic OOP functions I am doing examples for. I can get one to work easily and the other one is impossible.
Background
There are 3 basic situations in which you could use the "call parent method"
You are calling the parent VI (or method) of a child VI from within the child VI
You are calling the parent VI (or method) of a child VI from within a sibling VI
You are calling the parent VI (or method) of a child VI from a different class/object.
From the LabVIEW help system for "call parent method":
Calls the nearest ancestor implementation of a class method. You can use the Call Parent Method node only on the block diagram of a member VI that belongs to a class that inherits member VIs from an ancestor class. The child member VI must be a dynamic dispatching member VI and have the same name as the ancestor member VI
From my reading of that it means situation 3 is not supported but 1 & 2 should be.
Unfortunately only Situation 1 works in LabVIEW 2012.
Here is what I want
And this is what I actually get
What this means is that I can perform a classic "Extend Method" where a child VI will use the parent's implementation to augment it's functions BUT I cannot perform a "Revert Method" where I call the parent method's implementation rather than the one that belongs to the object.
If you want a picture
Any time I try and make operation2 the VI with the "call parent method" it shows up for about 1/2 sec and then turns into operation.
So there are only 3 possibilities I can see
Bug
Neither situation 2 or 3 are intended to work (see above) and the help is misleading
I just don't know what I am doing (and I am willing to accept this if someone can explain it to me)
The downside is that if situation 2 above doesn't work it does make the "call parent node" much less usefull AND it's usage/application just doesn't make sense. You cannot just drop the "call parent node" on a diagram, it only works if you have an existing VI and you perform a replace. If you can only perform situation 1 (see above) then you should just drop the "call parent node" and it picks up the correct VI as there is only 1 option. Basically if situation 2 is not intended to work then the way you apply "call parent method" doesn't make sense.
Attachements:
For the really keen I have included 2 zip files
One is the "Revert Method labVIEW project" which is of course not working properly because it wants to "call parent method" on operation not operation2
The other zip file is all pictures with a PIN for both "Revert Method" and "Extend Method" so you can see the subtle but important differences and pictrures of the relavant block diagrams including what NI suggested to me as the original fix for this problem but wasn't (they were suggesting I implement Extend Method).
 If you are wondering where I got the names, concepts and PIN diagrams from see:
Elemental Design Patterns
By: Jason McColm Smith
Publisher: Addison-Wesley Professional
Pub. Date: March 28, 2012
Print ISBN-10: 0-321-71192-0
Print ISBN-13: 978-0-321-71192-2
Web ISBN-10: 0-321-71255-2
Web ISBN-13: 978-0-321-71255-4
 All the best
David
Attachments:
Call parent node fault.zip ‏356 KB
Call parent node fault.zip ‏356 KB

Hi tst,
Thankyou for your reply. Can you have a look at my comments below on the points you make.
1) Have to disagree on that one. The help is unfortunately not clear. The part you quote in your reply only indicates that the VI you are applying "Call Parent Node" to must be dynamic dispatch. There is nowhere in the help it actually states that the call parent node applies to the VI of the block diagram it is placed into. Basically case 2 in my example fulfills all that the help file requires of it. The dynamic dispatch VI's operation are part of a class that inherits from a given ancestor. Operation 2 for Reverted behaviour is a child VI that is dynamic dispatch and has the same name as the ancestor VI (operation2). The help is missing one important piece of information and should be corrected.
2) True it does work this way. I was trying to build case 2 and had not yet built my ancestor DD for operation so the function dropped but wasn't associated with any VI. I was able to do this via a replace (obviously once the ancestor Vi was built) so this one is just bad operator
3) Keep in mind this is an example not my end goal. I have a child implementation because this is a case where I am trying to do a "reverse override" if you like.
3a) The point of the example is to override an objects method (operation2) with it's parent's method NOT it's own. The reason there is a child implementation with specific code is to prove that the parent method is called not the one that relates to the object (child's VI). If I start having to put case structures into the child VI I make the child VI have to determine which code to execute. The point of Revert method is to take this function out of the method that is doing the work. (Single Use Principal and encapsulation)
3b) The VI I am calling is a Dynamic Dispatch VI. That means if I drop the superclass's VI onto the child's block diagram it will become the child's implementation. Basically I can't use Dynamic Dispatch in this case at all. It would have to be static. That then means I have to put in additional logic unless there is some way to force a VI to use a particular version of a DD VI (which I can't seem to find).
Additional Background
One of the uses for "Revert Method" is in versioning.
I have a parent Version1 implementation of something and a child Version2. The child uses Version2 BUT if it fails the error trapping performs a call to Version1.
LabVIEW has the possibility of handling the scenario but only if both Case 1 and Case 2 work. It would actually be more useful if all 3 cases worked.
The advantage of the call parent method moving one up the tree means I don't have the track what my current object is and choose from a possible list, if, for example the hierarchy is maybe 5 levels deep. (so V4 calls V3 with a simple application of "call parent method" rather than doing additional plumbing with case structures that require care and feeding). Basically the sort of thing OOP is meant to help reduce. Anything that doesn't allow case 2 or 3 means you have to work around the limitation from a software design perspective.
If at the end of the day Case 2 and case 3 don't and won't ever work then the help file entry needs to be fixed.
All the best
David

Similar Messages

  • I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

    I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

    I have recently upgraded to iPhone 5 from 4, call line identity doesn't work when call other iPhones.  It works when calling any other brand of cell phone.  Network carrier assures me problem is not on there side.  Any assistance will be appreciated.

  • BitmapData draw method doesn't work when the project is published as the .swf file of the web applic

    Hi,
            I am totally confused by this strange error. When I tried using the draw method of BitmapData to draw a movieclip symbol of my project, it seems to work fine locally. However, as I uploaded the published .swf file to my web server and launched it as the plugin of my web application, it failed. The source codes as follows,
    function printscreenClicked():void
         //ExternalInterface.call calls a javascript function to print message1
        var bd:BitmapData = new BitmapData(stage.width,stage.height);
        //ExternalInterface.call calls a javascript function to print message2
      bd.draw(stage);
        //ExternalInterface.call calls a javascript function to print message3
    message3 didn't show at all. Instead, the browser console shows "Uncaught Error: Error calling method on NPObject.". My understanding of this error message is that the .swf is calling something crashing, and I believe that bd.draw(stage)is the crashng method call.
    Also, here is my html embed tag:
        <embed src="/tests/videoplayer.swf" id="flash" quality="high" height="510" width="990" scale="exactfit" name="squambido" align="middle" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" style="margin: 0px auto;clear:both;position:relative;"/>
    Can someone help me?

    Thank you for your reply.
    I tried stageWidth and stageHeight, but it still doesn't work.
    The draw() methid is triggered when I clicked a screenshot button in my application as follows,
    ExternalInterface.addCallback("printscreenClicked", printscreenClicked);
    function printscreenClicked():void
         //ExternalInterface.call calls a javascript function to print message1
        var bd:BitmapData = new BitmapData(stage.width,stage.height);
        //ExternalInterface.call calls a javascript function to print message2
      bd.draw(stage);
        //ExternalInterface.call calls a javascript function to print message3
    Would you please give me an example of "waiting for Event.RESIZE is good, or just at least Event.ENTER_FRAME"?
    My real purpose in this application is to capture a snapshot of a streaming video. The video is contained in a movieclip object. I tried stage first since BirmapData.draw() doesn't work when drawing the movieclip on the web site. Do you have any suggestion for this situation? Also, is there any good method to find out what happened if the browser have "Uncaught Error: Error calling method on NPObject."?

  • Flex: Method doesn't work when being called on parentDocument

    Hi,
    I wonder is anyone can look at this code and tell me why calling the  removeSelectedChild works when called from the same document, but  returns the following error when called from the child  document/component.
    "ArgumentError: Error #2025: The supplied DisplayObject must be a  child of the caller."
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
      <mx:Accordion id="myAccordion"
      width="100%" height="100%"
      selectedIndex="0">
      <mx:Script>
        <![CDATA[
          public function removeSelectedChild():void {
            myAccordion.removeChild(myAccordion.selectedChild);
        ]]>
      </mx:Script>
      <mx:headerRenderer>
        <mx:Component>
          <mx:Button click="{ parentDocument.removeSelectedChild() }" />
        </mx:Component>
      </mx:headerRenderer>
      <mx:HBox>
        <mx:Button click="{ removeSelectedChild() }" />
      </mx:HBox>
      </mx:Accordion>
    </mx:Application>
    Clicking on the button in the child produces the expected result,  whilst clicking on the header throws an error despite the fact they both  call exactly the same method.
    Sorry that the example is a little contrived, this problem arose in a  quite complicated view, which was using all kinds of custom components.  This was the only way I could display it in a way that will be quick  for you to compile and easy to focus on the real issue without  background noise.
    I'm pulling my hair out on this one and would really appreciate it if  anyone could help.
    Cheers,
    Chris

    What are you trying to remove?
    myAccordion.removeChild(myAccordion.selectedChild);
    tries to remove the container, which is the child of the Accordion. Is that what you want?
    Also, I'm wondering if  parentDocument.removeSelectedChild() would try to remove the Accordion.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex Training and Support Services

  • The preview option in FCK doesn't work when using trought an external app!

    Hello everyone!
    I have an issue with the FCK-editor when using in an external application.
    We are executing the “WCM_EDIT_DATA_FILE” service to launch the FCK contributor application in a portal (Webcenter) so we can edit datafiles. The preview option (preview butto) does not apply a region template and the content is shown in the same order as defined in the region definition. Viewing the same datafile trough Site Studio I can see that the preview option applies a region template.
    I've compared the links but I am not getting anywhere.....
    The links for the preview are:
    Via the portal:
    http://MyServer/vcc/idcplg?IdcService=SS_QD_GET_RENDITION&coreContentOnly=1&dDocName=DF_NEWS_BERLIN_8&dID=765&wcm.contributor.mode=false&IgnoreContributorOnly=true&previewId=1276003853183&WCMPopupId=POPUP09875462424653607178
    Via Site Studio:
    http://Myserver/VCCPOC/index.htm?wcm.contributor.mode=false&IgnoreContributorOnly=true&previewId=1275983448108&WCMPopupId=POPUP07808631203986127290
    I can see that the portal link has the same parameters as the Site Studio link and some more. I even tried adding a region template in the url by adding my template as a parameter like this "&templateDocName=RT_BOUND_DETAIL_VIEW" just to force it but without any luck. The same goes for the "view differences"-button in the FCK editor.
    Has anyone had this problem?
    Thanks

    Hi Stijn,
    Here is the link to the SS-services:
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e10615/c11_ss_services.htm#insertedID0
    And here is the link to the CS-services:
    http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/developer/services_reference_10gr3en.pdf
    The name of the service that creates new data file is CHECKIN_NEW_FORM.
    Saving the file from the FCKEditor makes the browser window "greyed out" so for the time being we are hitting the "go back"-button in the browser to return to the portal... as we open the editor in the same window as the portal. However, there must be another solution as this is fare away from user friendly!
    Let me try to answer some of your questions:
    - Are you also using the Site Studio publishing functionality (we will not)
    No, we are not either.
    - where will your site design be done (we'll try to do as much as we can in WebCenter to keep it all in one place; we might even just output XML with our templates from SS, and transform it in WebCenter using different "templates")
    We are also planning to have it all in WebCenter. We are using SS for creating region templates and subtempalates used in the portal (Webcenter/ADF) for showing the same data files in different ways. That means that we also have elements, region definitions, placeholders and so on in the SS.
    - what are you doing with inline images in the FCKEditor (we want contributors to be able to upload there images easily from the Editor, without the need to browse to UCM)
    Well, for the time being the contributor must browse the some images from the CS because the images must have a certain height and width... so that is our way of controlling that the user is choosing from the approved images. When it comes to images in the text the contributors can add as many images as they want that are not from the CS. They can just copy/paste them in the editor from whatever location they want.
    - is it correct that the metadata tab cannot be used in combination with profiles defined in UCM (see other thread WebCenter Content
    I've heard that before so my guess is that it's true. My question then is how do I do to hide the metadata tab if I do not use it?
    - will you be using the ctrl-shift-F5 functionality to edit content, or just create a link to the WCM_EDIT_... service in a popup window?
    We create a link to the WCM_EDIT_... service that opens in the same window as the portal.... but as I mentioned earlier that is not the most user friendly solution so we probably must change that....
    Now back to my problems:
    I know why the preview trough the portal and the site studio differs.
    The services that are used when previewing content trought the SS are:
    SS_SET_PREVIEW_ELEMENT_DATA
    SS_GET_PAGE
    LOAD_DOC_ENVIRONMENT
    The services that are used when previewing content trought the portal are:
    SS_SET_PREVIEW_ELEMENT_DATA
    SS_QD_GET_RENDITION
    LOAD_DOC_ENVIRONMENT
    The SS_GET_PAGE actually shows a page in SS and as soon as there is a region template attached to the page you are able to see the content the way you want. That is not the case then calling the SS_QD_GET_RENDITION service. So my question is if there is a workaround where I can force a region template to be used con conjunction with the SS_QD_GET_RENDITION service?
    Anyone? All ideas are really appreciated!

  • Flash button doesn't work when used with Dreamweaver CS4

    I am a student trying to learn how to take multimedia elements from one class and put them on a webpage using Dreamweaver CS4. From an online tutorial, I created start/stop buttons with ActionScript3 URLRequest to reference a sound file. The swf works fine when played; it plays from the html generated by flash but when I use Dreamweaver CS4 > insert > media > swf  and then preview page in browser (firefox), the button doesn't do anything. When I compare the html page generated by flash to the html created by Dreamweaver, they look completely different. I don't have a clue what to do next.
    I have also posted this in the Dreamweaver forum. Please, does anyone have a solution?

    Thanks for the response! What bothers me is that I was able to use Dreamweaver > insert.... swf on a different file with actionscrip2 controls (thanks to help from Ross Ritchey) but this time the swf has actionscript3 code in it and I was wondering if that makes a difference. I don't get any errors, the button shows as clickable, just nothing happens. Thank you for the suggestion, however the flash html but it is so MASSIVE! It makes looking at the rest of the page difficult and I have several sound files I wanted to add to one webpage.

  • Session Replication doesn't work when using a custom Unicast Channel

    Hello!
    After configure a WLS Cluster for an WebApp with session replication support enabled I faced some issues with cluster configuration.
    My LAB env used for this configurations is:
    One Solaris 10 SPARC box.
    -- One WLS 11g (10.3.6) domain with:
    ---- 4 Managed servers:
    ---- Admin server
    ---- server-1
    ---- server-2
    ---- Proxy Server (HttpClusterServlet)
    --- 1 Cluster composed by:
    ---- server-1
    ---- server-2In that setup I noticed if I define a custom network channel for servers ( server>protocols>channels ) in the cluster and set Cluster Messaging Mode as Unicast* in the Cluster config ( Cluster>Configuration>Messaging>Messaging Mode ), so the session state replication does not work.
    When I enable the cluster replication debug for managed servers the following messages appears:
    <> <> <1358966729933> <BEA-000000> <[roid:-1772481434088297851] Creating primary for application key /webapp>
    ####<Jan 23, 2013 4:45:29 PM BRST> <Debug> <ReplicationDetails> <de25503> <server-1> <[ACTIVE] ExecuteThread: '5' for queue: > 'weblogic.kernel.Default (self-tuning)'> <<ano
    nymous>> <> <> <1358966729958> <BEA-000000> *<Has secondary servers? false>*
    ####<Jan 23, 2013 4:45:29 PM BRST> <Debug> <ReplicationDetails> <de25503> <server-1> <[ACTIVE] ExecuteThread: '5' for queue: >'weblogic.kernel.Default (self-tuning)'> <<ano
    nymous>> <> <> <1358966729959> <BEA-000000> *<Current secondary server? null>*
    ####<Jan 23, 2013 4:45:29 PM BRST> <Debug> <Replication> <de25503> <server-1> <[ACTIVE] ExecuteThread: '5' for queue: >'weblogic.kernel.Default (self-tuning)'> <<anonymous>
    <> <> <1358966729959> <BEA-000000> <[roid:-1772481434088297851] Unable to create secondary on null>
    ####<Jan 23, 2013 4:45:31 PM BRST> <Debug> <ReplicationDetails> <de25503> <server-1> <[ACTIVE] ExecuteThread: '5' for queue: >'weblogic.kernel.Default (self-tuning)'> After eliminate all possible issues with my webapp (serialization, weblogic descriptor configuration, etc) and try many cluster network configurations I noticed that this problem only occurs when I use Unicast for Cluster's Messaging.
    At the end of the day I really would like to understand why the session replication only works for Cluster's Messaging using Multicast mode. I read a lot the WLS docs (specifically the cluster/network topics) [1][2], but I can't find an official explanation about this.
    Can someone help me understand this behavior?
    Many thanks.
    [1] http://docs.oracle.com/cd/E15523_01/web.1111/e13701/network.htm
    [2] http://docs.oracle.com/cd/E15523_01/web.1111/e13709/setup.htm

    I have Fluxbox started with Slim and .xinitrc. Dbus works only with:
    exec ck-launch-session startfluxbox
    you need run Openbox with ck-launch-session:
    exec ck-launch-session openbox-session
    Bye!!

  • Airport doesn't work when using a second monitor

    My macbook pro, purchased mid-June, is exhibiting an odd problem. When nothing is plugged into the mini-displayport, everything is fine. If I plug my external monitor in, and the display is being mirrored, whether the lid is open or not, once again, everything works perfectly. Once I switch into extended display mode however, my wireless connection drops after a few minutes and refuses to reconnect.
    It is definitely not a signal issue. The second I unplug the monitor, my wireless connection returns to normal even if I don't move the computer an inch.

    Hello,
    I have the exact same issue: whenever I am using my external display, my wireless connection with airport immediately stops. Same June 2009 macbook pro for me as well.
    If I go down to the lowest resolution (640x480), I can get it to connect. The moment I unplug the external display, the wireless connection with airport is re-established.
    This problem has been reported on the apple discussions forums by a few people. Someone mentioned that it could be electrical cross-talk between the graphics card and wireless card internally, one causing noise for the other.
    Anyone have a solution? Or have the same problem?

  • Importation doesn't work when use spotlight on snow leopard.

    Hello,
    I've a little problem with AE CS4. I upgrade to Snow leopard, and now, when I want to import something (music, video or something else) with the spotlight search (in the importation windows) AE crash....
    So if I want to import something I've to select manually each files...
    Do you know how to fix this ?
    Thanks.

    Hi,
    Thanks for mentioning this issue. If you remember, dropping a line to [email protected] a pretty reliable way to report bugs (but not get support).
    I couldn't see any obvious workaround for you to use oothen than just avoiding the problem.
    As usual, I can't comment on future releases.
    --chris

  • I had a problem my iphone 4 mouthpiece doesn't work when i am calling other mobile phone

    i had a problem my iphone 4 mouthpiece doesn't work, when i am calling other mobile phone they can't hear me but i can hear them. But when I am using the skype and viber to talk to other people they can hear me perfectly. and also when I record my voice it sounds good i can hear my voice.. i dont know what is wrong with my phone?

    I get trying to unlock it and it finally accepted the 4 digit PIN number on my SIM Card, which it wasnt accepting before (there is also a super PIN number, which i dont know whats for). And now it says "no service". I am reseting the phone and sometimes it just says "no service" and other times the SIM Card is locked again and it doesn't accept the PIN number anymore...

  • When I answer my phone calls the sensor doesn't work, so it keeps going to speaker or mute. How do it ensure my sensor works

    When I answer my phone calls the sensor doesn't work, so it keeps going to speaker or mute. How do it ensure my sensor works

    Remove all apps from multitasking bar. Double click Home button then tap and hold an icon and tap on little x on every app. Then reset. Hold down Home and Power button until Apple logo appears.

  • I cannot figure out how to make the text larger on an incoming email.  The finger method doesn't work and I cannot find any toolbar with which to do it.  I could find nothing in settings also.  Plese help and thank you.

    I cannot figure out how to make the text larger in a received email.  The finger method doesn't work and I can find no tool bar as I can for composing emails.  I can find nothing in settings.  Please help and thank you in advance.

    Hi there,
    Download a piece of software called TinkerTool - that might just solve your problem. I have used it myself to change the system fonts on my iMac. It is software and not an app.
    Good wishes,
    John.

  • Collapse action doesn't work when several hierarchical columns in a report

    Hello everyone!
    I have an analysis which contains 6 hierarchical columns. And the problem is that for the 5th and 6th columns collapse doesn't work. I can easily expand the column, but I can't collapse it back. The first four columns are collapsing fine. Is there a bug which describes this?
    I'm using OBIEE 11.1.1.6.7. Tried to check this issue in Mozilla and IE - collapse didn't work in neither of them.

    It doesn't work here either. After checking the italicized bit below, I see that it doesn't work when called by an application either. It looks like a bug.
    Here's the fix I found here. Put it in the automator action "run Applescript"
    http://bbs.applescript.net/viewtopic.php?id=15292
    on run {input, parameters}
    --Pop Box
    display dialog "Automator hosed me with a bug, so I'm making you wait for 5 secs with delicious Applescript." giving up after 5
    return input
    end run
    The non-working solution :P
    One suggestion - split the workflow into two (or more) parts.
    1. Open Finder Items with Default Application
    2. Ask for Confirmation
    3. Run Workflow
    4. Wait for User Action
    5. Open Finder Items with Specific Application
    Save the first as an app, the second as a workflow.
    BG3, G4QS, G4ALPB   Mac OS X (10.4.3)  

  • My speaker doesn't work when I try to listen to music or open up a quick time file, however they seem to work perfectly when I listen to a voice memo (p.s. the volume slider disappears in a song page and even in the multi tasking bar)

    my speaker doesn't work when I try to listen to music or open up a quick time file, however they seem to work perfectly when I listen to a voice memo (p.s. the volume slider disappears in a song page and even in the multi tasking bar)

    Thanks for your solution, it wasn't quite what solved the problem but i remembered that i had a bit of salt water on my phone recently and spraying the charging port with an anti-oxide spray solved my problem, do you mind if i ask, how is the charging port related with the volume or/and speakers?

  • I have different account ID's with my iphone and computer. I would like to standardise both to just the one. One of the ID's doesn't work, when I tried to list the second email with the preferred one a message telling me that this email is already in

    I have different account ID's with my iphone and computer.
    I would like to standardize both to just the one.
    One of the ID's doesn't work, when I tried to list this second email with the preferred one a message telling me that this email is already in use pops up.. yes it is, with me??
    Is there an easy to fix this please, Fabfitz

    If the email address you want to use is being used as the primary email address on a different ID you have to manage that ID and change it to a different primary email address.  This explains how: Change your Apple ID - Apple Support.
    If it is being used as an alternate or rescue address on a different ID, you manage the ID and either remove it or change it to a different email address.  This explains how: Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support.

Maybe you are looking for

  • Why can't I save pdf files in Safari 5.1.2

    Up to now it hasn't bothered me much, but today I wanted to download iBank 4 Quick Start Guide. When I clicked on the link for the guide, Safari went to a pdf page and displayed the first page of the pdf. When I selected "Save As" it gave me a name f

  • Colour Profile issues between North America and Europe

    I have a corporate colour, C80M80Y0K0 which creates a very attractive shade of purple. Within North America all printouts demonstrate very similar variations of that purple colour. We have an office in UK that uses the same collateral pieces. While t

  • Configuration of Issue Management tables

    Hello - I am looking to configure the tables in Issue Management  but I cannot seem to find them via the SPRO transaction. Is there a guide on how to do the configuration for Issue Management? Please let me know Thanks! Nadine

  • UIX/XML: checkBox controls

    I'm trying to use a databound checkBox on a form. In an event handler I'd like to retrieve the state of the checkBox, but it only has a value if it's checked. If the checkBox is unchecked I don't get the formaparameter of the checkBox at all. I used

  • JTabbedPane Background Color incorrect when using SCROLL_TAB_LAYOUT

    I am tring to set the background (JDK 1.41_02) on a JTabbedPane that uses SCROLL_TAB_LAYOUT. It is reported as a bug with this example:- import javax.swing.*; import java.awt.*; import java.util.*; public class TestFrame extends JFrame { JSplitPane j