How to make Visible and Invisible using a Button?

hi!... I've a Text3D using Oriented3D object and I would like to know how to make it visible and invisible by clicking a button.
I know there is a function, setVisible() in RenderingAttributes, which can be set by the object's Appearance.
Since I want to use a button to change the object's appearance, I need to change it in the button's actionPerformed function, but it has thrown an exception:
"Shape3D: no capability to set appearance".
I'd tried using those setCapability flags... but still nothing...
Could someone help me please?...
Thanks

When you create Shape3D, setAppearance to it and
setCapability(ALLOW_APPEARANCE_READ).
For the Appearance, you should setCapability(
ALLOW_RENDERING_ATTRIBUTES_READ).
For the RenderingAttributes, you should setCapability(
ALLOW_VISIBLE_WRITE).
So in the button event handler,
shape.getAppearance().getRenderingAttributes().setVisible(true/false).
Now you can control the visiblity of Text3D

Similar Messages

  • How to make a field invisible using t-code SHDG

    Hi Experts,
    I got a requirement to disable a field Business unit in all transactions of Plant maintainance. I heard that it can be done with the help of transaction SHDG.
    I am not aware of this transaction. So anyone please provide some information or the material related to this transaction.
    Also let me know. If i make this field invisible using this transaction. If the same field business unit is used in other modules such as SD, FICO then there also will it get invisible?
    If that is the case how to overcome the above scenario.
    Useful answers are rewarded....
    Thanks
    Kiran.

    Hi,
    I think its not shdg but shd0.
    the best way to do it is Screen Variant and Transcation Variant.
    Tcode for it is SHD0 and you can disable, make any field invisible, make screen invisible , can have default value can be done through SHD0.
    Try it. It will be helpful for you.
    http://help.sap.com/saphelp_47x200/helpdata/en/7d/f639f8015111d396480000e82de14a/frameset.htm
    Regards

  • How to make stop and start in one button

    Hello All
    My Question is how to make button that when I prees it first time work as stop button and when I press it second time work as start button, I hope if I found my answer soon.
    thank u all
    Best Regards

    It's probably not worth to add all these sequences, local variables, and parallel loops. Here's a somewhat simpler version, showing two possibilities: 0:using events, 1: not using events. Pick one!
    There are many other possibilities. It really depends what else there is.
    Message Edited by altenbach on 10-15-2007 06:59 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    StartStopMOD.vi ‏19 KB

  • How do my wife and i use the same ipad?

    How do my wife and i use the same ipad?

    Nothing keeps you from handing it "back and forth" to share. I do this all the time on our couch with my Wife's iPad...
    I think your quesiton revolves around having your own bookmarks and other data/info on the device. 
    The iPad is meant to be a "single user device"; there isn't a login/logout to differenciate one user from another.  "The iPad isn't a computer"..  ;-)
    But, that being said, there are lots of ways to share the iPad/iOS environment.  Many apps, such as Facebook, let you login and out..  so, while you share the same app, each of your login is different.
    For bookmarks and notepad it is a little trickier..  You can each use a different browser (so all of your bookmarks are complerety seperate.)
    In some cases I would sugest a couple get a $900 Macbook Air rather than an iPad if this sharing won't work.  "Why can't I log in and out of and iPad?".  I think that the fact that it doesn't gives the iPad many adantages over a computer.
    If you have more specific questions pleaser ask away.  Just like you share the kitchen table and many other things around your household, there are many ways to make this work!  ;-)
    Matt

  • How to make fonts and photos bigger?

    how to make font and phpt bigger?  Bigger web pages, not narrow pictures in the middle

    The easiest method is to type Command + and that will make make the image larger. However you can also go to System Preferences - Displays and adjust the display resolution too. Finally, you can use Mavericks zoom capabilities as explained in:
    http://support.apple.com/kb/PH14358

  • How to make Buyer and Planner fields in Master Items Form Required without

    How to make Buyer and Planner fields in Master Items Form Required without using personalization?
    1) Steps to Reproduce
    Under Application Developer Common Modules responsibility,
    1) Query Region MTL_SYSTEM_ITEMS
    2) Click on Region Items
    3) Add Buyer Id and Planner Code attributes with Required checkbox checked.
    4) Bounce iAS server and JVM and clear java cache
    5) Changes not taking effect
    Current Application Release: 11.5.10.2 (3460000)
    Current INV Rollup: INV.J RUP22 (9878808)
    Current WMS Rollup: WMS RUP19 (9951502)
    Product Installation List :
    Product Installation: 11i.BOM.J: Installed
    Product Installation: 11i.EGO.E: Installed
    Product Installation: 11i.ENG.I: Installed
    Product Installation: 11i.INV.J: Installed
    Product Installation: 11i.PO.I: Installed
    Product Installation: 11i.WMS.G: Installed
    client needs to make the Buyer and Planner fields under Inventory->master Items form to be required.
    He tried using the Application Developer Common Modules responsibility, to find the Master Items Region and added the Buyer Id and Planner Code attributes with the Required check-box set to Yes. He bounced the iAS server and cleared java cache, but the changes do not take effect.
    client does not want to use form personalization.
    Can you please provide more assistance for using Application Developer Common Modules responsibility?
    Edited by: jemar98 on Aug 9, 2011 1:44 PM

    A forms developer could make those fields required with a CUSTOM.pll extension if you didn't want to use forms personalization. Both are considered customizations to standard functionality and may or may not require rework after patching or upgrades.

  • How to make reifications and  query to obtain them

    Hello;
    If the option expressed in the previous thread is unavailable the other option is make reifications over the triple.
    There is no documentation about how to make reifications and how is expressed in a SDO_RDF_MATCH query
    Can you help me ?
    Regards
    Isidro

    Example: if you want to express the fact that :John :fatherOf :Matt is recorded in the document :birthCertificate, it could be done using reification as follows:
    INSERT INTO family_rdf_data values(100,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#type',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement'));
    INSERT INTO family_rdf_data values(101,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#subject',
    'http://www.example.org/family/John'));
    INSERT INTO family_rdf_data values(102,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate',
    'http://www.example.org/family/fatherOf'));
    INSERT INTO family_rdf_data values(103,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#object',
    'http:/www.example.org/family/Matt'));
    INSERT INTO family_rdf_data values(104,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.example.org/family/recordedIn',
    'http://www.example.org/family/document/birthCertificate'));
    A sample query involving such reified statements:
    SELECT s, p, o
    FROM TABLE(SDO_RDF_MATCH(
    '(?stmt rdf:subject ?p) (?stmt rdf:predicate :fatherOf)
    (?stmt rdf:object ?o)(?stmt :recordedIn ?s)',
    SDO_RDF_Models('family'),
    null,
    ....

  • How to make OC4J and IIS on diffrent machines ?

    Hi,
    How to make OC4J and IIS running diffrent machines. following document tells use "standalone ONS daemon",Can anybody tell what standalone ONS daemon means and steps to be done to make IIS working on diffrent machine
    http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b25211/oc4jplugin.htm#i638738
    Thanks & Regards
    Vino joy

    sender,
    the quantize menu is in the top info box in the arrange.
    if you double click on it, an extended parameter box appears with a lot of quantizing options. also RTFM about this bit.
    in the sample editor, there is an audio quantize feature.
    but it is old, and probably hasn't been updated in ten years........try it, you
    'll prolly hate it.
    there is also a quantize audio/groove plug, in the special menu.
    it works....sorta.
    if you're talkin' drums, on seperate tracks, like kik on one, and snr on the next, etc., try strip silence to cut the loop/file up, then select same in the arrange trk and quantize this, as above. (info box).
    this does work well provided you know just where you want the feel to be.
    you could also try making a groove template of the original clip/loop and use this as a timing reference.
    this also works well if you can get a clean footprint of the audio.
    best,
    DR9

  • How to make visible Time Sheet link

    Hi,
    I want to know how to make visible Time Sheet link on portal for a particular Personnel Area so that employees of this PA can fill their Time Sheet from the portal.

    HI,
    Use Tcode - CAT 2
    Regards,
    Shadeesh.G

  • How do I download and start using Premiere?

    How do I downlod and start using Premiere?

    Hi Philip2204,
    Welcome to Adobe Forums.
    Please use the below link to download Premiere Pro
    http://prodesigntools.com/adobe-cc-direct-download-links.html
    Please make sure to complete the very important instructions prior to clicking on the link.
    Thanks

  • How to make different users to use different Plan_Tables?

    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?

    qkc wrote:
    How to make different users to use different Plan_Tables?
    I want each user use his own's Plan_Table. How to achieve this goal?Which version of Oracle - if you're on 10g or later you are already (effectively) doing this.
    If not, then copy the 10g strategy back to your version; in outline:
    <ul>
    drop all existing plan tables
    create a table (but call it plan_table$) in the SYS schema (you may prefer to use SYSTEM) as a global temporary table on commit preserve rows
    create a public synonym plan_table for plan_table$
    grant select insert update delete on plan_table to public
    </ul>
    Look in $ORACLE_HOME/rdbms/admin/catplan.sql in a 10g version of Oracle to check how it's done.
    Each user gets a private (temporary) table in their temporary tablespace whenever they use the plan_table
    Their private data disappears when there session ends.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to make a contact sheet using iPhoto

    how to make a contact sheet using iPhoto

    Which iPhoto version do you have?
    In iPhoto '11 you can make the Contact Sheet by selecting all photos you want on the sheet, press ⌘P, and in the Print panel select "Contact Sheet". Set the number of columns, adjust the margins, and select the captions you want.
    Then press the Print button.

  • I have downloaded the 30 day free trial using Adobe Download Assistant but I do not know how to open it and start using it.

    I have downloaded the 30 day free trial using Adobe Download Assistant but I do not know how to open it and start using it.

    This was so annoying!! It took me a good couple of hours but i figured it out, you need to do the following: Go to the folder where you saved the download (in my case i saved it in My Downloads) -> click on 'Adobe Photoshop Elements 12' -> click on 'PSE 12' -> click on 'Setup' (select the icon which is a box with a shield) -> follow instructions and....voila! You will need to restart when it suggests so save anything else first, then when it reboots you should see the icon on your desktop....hpe this helps!

  • How can my wife and I use our two iTunes account on one iPad

    How can my wife and I use our two iTunes accounts on one IPad

    Unfortunately it will be difficult. iPads are personal devices like phones and done have credentials. You can of course log out of and into the app store to download purchased apps but the iPad will then have all the apps of both your wife and you (though you could put these into folders I guess).
    /H

  • HT5796 I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed

    I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed my problem.

    I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed my problem.

Maybe you are looking for

  • How To  Configure  Eclipse Theme Editor in NW 7.0 ?

    I have downloaded the new Eclipse Theme Editor .Can anyone provide me any link to any material which provides a <b>Step-By-Step guide to configure this into NW 7.0</b> ?

  • Error Message when trying to watch shared video files thru the 'Video' app, via iTunes

    Since updating my iPad 2 to the new operating system, I can no longer watch shared videos from iTunes. I am getting the error "you do not have permission to access the requested resource.". I have restarted the ipad, turned home sharing off and on, r

  • How to hide this method?

    I want to use Protection Proxy Pattern,but I feel nervous about my real method,how can i hide it(such as set it friendly or protected)? you can see this code: interface Safe{      public String getSecret(); class RealSafe implements Safe{      public

  • SetAsyncTimerAttribute(..... ASYNC_ATTR_INTERVAL....) does not work in CVI 8.5, returns error=-2

    Using WindowsCVI version 8.5,  trying to set the time interval ( between 20 to 25sec.) in an ascynchronous timer.  IT DOES NOT WORK! The following code snippet is from asynctmr.c:             case ASYNC_ATTR_INTERVAL :                 double doubleIn

  • Fonts install now MacBook won't start

    Hi! Just got a new macbook as a mini design machine and installed my font library on it using font book (some 1200 fonts or so). Now the poor thing won't start up. It goes through the motions, but gets to the last stages of startup - spotlight almost