Setting bold font for nodes which are not leaf nodes

In JTree, is it possible to set the font for nodes which are not leaf nodes. Can I do this without using custom renderer, or at the most using a DefaultTreeCellRenderer ?
regards,
nirvan

In JTree, is it possible to set the font for nodes which are not leaf nodes. Can I do this without using custom renderer, or at the most using a DefaultTreeCellRenderer ?
regards,
nirvan

Similar Messages

  • Xml nodes which are not meet the schema validation

    Hi All,
    Is there way to keep xml nodes which are not meet the schema validation ,so that i can send those failed records back to the Source Target.
    I thought to implement to adding validate in the ForEach loop.Any hints

    In Windows you hold down the Ctrl key while clicking on the nodes you want to select. Don't know the equivalent in other environments.

  • BADI for VA01 which are not for internal use ???

    Hello Folks,
    Im looking for BADIs which are not for internal use for the transaction VA01...
    Could anyone send all the BADIS which can be implemented for VA01...
    Thanks in advance...
    Reddy

    Hi there, you are lucky enough because I have found them almost a few days ago:
    ---------- BADI for VA01 ----------
    A1) BADI
    BEFORE (choosing any ORDER: ....) :
      - BADI_SD_SALES
      - BADI_SD_SALES_BASIC
      - UKM_R3_ACTIVATE
      - BADI_LAYER
      - BADI_MATN1
    AFTER (choosing ORDER NR - xxxx -) :
      - ADDR_PRINTFORM_SHORT
      - BADI_SD_SALES_ITEM
      - BADI_IBASE_AUTHORITY
      - BADI_IBASE_IBCO
      - CU_CONFIG_DELEGATION
      - CUKO_PLANT_CHANGE
      - EHS_DG_002
      - SD_COND_ACCESS_A
      - BADI_SD_TO_FM
    AFTER CHANGING something in all items and shifting to TAB "item detail":
      - BADI_SD_DPBP
      - CFOP_DET_PREP
      - ADJUST_NET_DAYS
      - BADI_SD_SALES_ADDON
    AFTER CHANGING something again in all items and shifting to TABS:
      - CFOP_DET_PREP
    AFTER SAVING:
      - /SAPSLL/CTRL_SD0A_R3
      - QUANTITY_STRUCT_CK
      - DYNPRO_EXTENSION_CK
      - IBRT_GEN_ADD_IN
      - VALUATION_CK
      - WORKORDER_UPDATE
      - ATP_PUBLISH_RESULTS
      - FM_FYC_RECOVERY_POST
      - FMAVC_DECO
      - GM_POSTING_CONTROL
      - BADI_ISPS_GRANT
      - DIP_UPDATE_FKDAT
      - CACL_CHARACTER_INPUT
      - /SAPSLL/CTRL_SD0A_R3
      - /SAPSLL/RFC_DEST
      - /SAPSLL/CTRL_SD0A_R3
      - /SAPSLL/IFEX_SD0A_R3
      - /SAPSLL/KMAT
      - BADI_SD_UPDATE_PLVAL
      - CUX_ADD_IN
      - BOM_EXIT
      - WORKORDER_EXEC_STEPS
    In case you may need them...
    ---------- USER EXIT for VA01 ----------
    A2) USER EXIT for VA01 :
    SDAPO001  Activating Sourcing Subitem Quantity Propagation
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    A3) CLASSICAL USER-EXIT per VA01:
    --- include MV45AFZZ ---
    FORM userexit_delete_document.
    FORM userexit_field_modification.
    FORM userexit_move_field_to_vbak.
    FORM userexit_move_field_to_vbap.
    FORM userexit_move_field_to_vbep.
    FORM userexit_move_field_to_vbkd.
    FORM userexit_number_range USING us_r
    FORM userexit_pricing_prepare_tkomk.
    FORM userexit_pricing_prepare_tkomp.
    FORM userexit_read_document.
    FORM userexit_save_document.
    FORM userexit_save_document_prepare.
    Hope its enough
    Denis Mullaraj

  • How to select multiple nodes, which are not next to each other,  in a tree?

    The following code suppose to allow user select any combination of nodes (because of DISCONTIGUOUS_TREE_SELECTION), however, I can only select nodes which are next to each other. Can some one told me how to make this DISCONTIGUOUS_TREE_SELECTION work?
    Thank you very much!
    import javax.swing.*;
    import javax.swing.tree.*;
    public class TestTree extends JFrame {
    public TestTree() {
    super();
    setBounds(0,0,500,500);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JTree tree = new JTree();
    getContentPane().add(tree);
    TreeSelectionModel model = new DefaultTreeSelectionModel();
    model.setSelectionMode(TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION);
    tree.setSelectionModel(model);
    public static void main(String [] args) {
    TestTree test = new TestTree();
    test.show();

    In Windows you hold down the Ctrl key while clicking on the nodes you want to select. Don't know the equivalent in other environments.

  • Smart mailbox for mails which are not in another smart mailbox

    Hello!
    I tried to create a smart mailbox for all the mails which doesn't appear in any other smart mailbox.
    I know that I can tell my smart mailbox not to look for mails who are in the inbox or the other default-boxes of the mail program.
    But how can I choose a smart Mailbox instead???

    Thanks, John, but the original idea isn't mine. Someone else realized that some time ago:
    Re: Smart Mail Box that contains messages not in any other smart mail box

  • Italic and bold fonts for Hoefler Text are no longer available to MS Word

    Apple provides regular, italic, black, and black italic styles for the Hoefler Text font. I've used them before but since I installed Snow Leopard, I cannot creat italic or bold (black) in MS Word. When I make text italic or bold (black), the characters disappear--the sentence shortens as if I had deleted the phrase, but if I change it back to regular, it reappears.
    Font Book shows that I have all of these styles of Hoefler Text in the Library. I tried disabling and then enabling, but that didn't work. Has anyone else encountered this problem? If so, have you discovered a solution? Thank you.

    Thanks for the file. It obviously helped, but I am not sure how. I probably should have taken careful notes about what I did by way of disabling and removing the .ttf fonts and then dragging in the .dfont variety. At one stage when I brought up a Hoefler document in Word, the regular Hoefler text had disappeared. I panicked and removed the .dfont version. Later, after trying something else, the text came back but (judging by the numerals) it was not Hoefler. To make a long story short, all styles of Hoefler (including italic and black) are now working. There are no duplicate font files—I used Remove Duplicates—but I have no Hoefler file in either of the two Fonts folders, even though I can see Hoefler Text in Font Book! To be safe, I used Font Book to export the Hoefler Text to a back-up folder, and the version it exported is the .ttf version. In Get Info I confirmed that it’s the 6.1d7e1 variety. I restarted the computer twice, and determined that this situation is stable. Go figure.
    In any event, you set me on the right road. Hoefler Text is now working as it should. I appreciate your help.

  • TS3103 My apple-based e-mail stopping working on May 22-- it keeps asking for passwords -- which are not accepted.  What is going on?  I am on snow leopard 10.6.8-- I can only get e-mail on my phone!!

    I am unable to sign in on e-mail (mobile me OR me.com)-- It just randomly stopped on May 22nd.  Nothing will update from that date.  My password comes up as invalid; I have tried to re-set but it still comes up as invalid.  What is going on???  This is so unlike apple. 

    Your post is pretty lengthy and I have to admit I didn't read it all. Please try restarting in Safe Mode, if that doesn't work please do both a SMC and PRAM reset. These may take 2-3 attempts.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • How to find documents which are not linked to a project?

    Hi all,
    i'm just looking for a variant to search for documents which are not linked to a project within ta SOLAR_EVAL.
    I need a way to report how much documents are not linked to a project; just stored in KW.
    Can anyone give a hint?
    Thanks a lot!
    Jan

    Hi Jan,
    This report SOLMAN_UNUSED_DOCUMENTS will help you identify the documents which are not linked to the project.
    (OR) Use Tcode: SI80 to find any document in SAP Solution Manager KW.
    Regards,
    Sanjai

  • HT5570 I tried to reset setting due to my phone speaker are not functioning except if i plug in earphone.after i key in my phone code,it promp a request for restriction code which i totally cant recall.

    I tried to reset setting due to my phone speaker are not functioning except if i plug in earphone.after i key in my phone code,it promp a request for restriction code which i totally cant recall.how can i resolve this issue.

    Hello Ridhuan,
    Thanks for using Apple Support Communities.
    If you forgot your restrictions passcode you will need to restore your iPhone to its factory settings.
    i forgot my passcode
    https://discussions.apple.com/thread/5196099
    Take care,
    Alex H.

  • How to create a report for open sales orde documents which are not invoiced

    Hi Experts this is urgent,
    +pls give the Logic for document flow+
    My requirement is create a report for sales orders which are not invoiced  using the following table.
    VBAK : sales order header
    VBAP : sales order item
    VBFA : sales document flow
    VBUK for processing status
    KOMV for duties value and sales order value
    LIKP : delivery not header
    LIPS :delivery note item
    For information : In the header level the processing Status is indicated in the table VBUK field LFSTK for one sales order number. A,B , C are the possible entries.
    Case A : When a sales order is invoiced we can display information on the header status :
    Overall status : Completed  and display a invoice number in the document flow. When the items of the sales orders are invoiced the process status is the following :  Overall status       Completed            
    Delivery status      Fully delivered      
    Case B : An open sales order not delivered and not invoiced will have overall status : Open on the header and item level and will not have subsequent documents.
    Case C :
    When the items for the sales order are delivered but not invoiced the status will be u201Cfully deliveredu201D
    And the subsequent documents will be delivery notes and good issue if the delivery note is issued.
    With regards
    ravi
    Edited by: ravik ravik on Jun 25, 2008 3:29 PM

    Hello Ravi,
    U neednot develop any report..
    there is std report with txn V.02
    or copy this and make necessary changes.
    Reward, if helpful.
    Rgds,
    Raghu.

  • Programs which are not being executed for a specific period

    Hi,
    We are planning to do the application upgrade in few months,with respect to that we would like to find out what all programs/transactions(standard or custom) which are not being executed for a specific period.What is the way to find this?
    Regards,
    Sam

    Hi Sam,
    You can use st03 and defice theprograme name and period to sotp the activity.
    Regards,
    Anil

  • I have just started with Logic X, having been a Logic 8 user for many years. I have some expensive plug-ins which are not being recognised by the news Logic. Where should I install them ?  YoursdisillusionedbyLogic

    I have some expensive plug-ins which are not being recognised by the new Logic. Where should I install them ? 
    I am using Mavericks OS, and I am considering transfering my choiceof DAW to Protools.
    YoursdisillusionedbyLogic

    Hi
    LPX only supports 64bit Audio Unit plugins. You probably need to get the latest updates for all of your plugs.
    Some plugs are not currently available as 64bit versions: you may want to try
    http://www.soundradix.com/products/32-lives
    CCT

  • How can i set different font for different tabs/pages

    I want to set different fonts for different tabs/pages?
    is it possible to do the same? If yes how?
    I can change the fonts under tools>options>contents>advanced. but that changes global settings.
    tried some add ons too- but that too changes the global settings.
    some pages like tweetdeck do not display icons etc properly under custom fonts.
    when i check "allow pages to select their own font" tweetdeck shows up fine but a number of other pages show fonts that are too big or some non standard fonts.
    Is there a way where i can select site default fonts for some sites/tabs, and custom fonts for other sites/tabs?
    otherwise i have to open different sites in different browsers- say i use my custom fonts- which apply globally, and open tweetdeck etc in Internet Explorer or Chrome etc. if i can have all tabs in one window/browser, that would be great.

    It's not a built-in feature to override a page's styles on a tab-by-tab or site-by-site basis, but perhaps someone has created an add-on for this?
    It also is possible to create style rules for particular sites and to apply them using either a userContent.css file or the Stylish extension. The Greasemonkey extension allows you to use JavaScript on a site-by-site basis, which provides further opportunity for customization. But these would take time and lots of testing to develop and perfect (and perfection might not be possible)...
    Regarding size, does the zoom feature help solve that part? In case you aren't familiar with the keyboard and mouse shortcuts for quickly changing the zoom level on a page, this article might be useful: [[Font size and zoom - increase the size of web pages]].

  • The selected remote nodes 'node3' are not accessible

    Hello,
    I removed node3 from 2 node RAC Cluster.
    After this I have re-add this node to my RAC. I added without any problem to CRS but I have a problem with script addNode.sh (/u01/app/oracle/product/crs/oui/bin).
    I have to separate homes for ORACLE_HOME and ASM_HOME, so I need to run this script twice for each ORACLE_HOME.
    I run addNode.sh from one of the cluster nodes (node1), if I run:
    export ORACLE_HOME=/u01/app/oracle/product/11.1.0/asm
    cd $ORACLE_HOME/oui/bin
    ./addNode.sh -silent CLUSTER_NEW_NODES={node3} CLUSTER_NEW_PRIVATE_NODE_NAMES={node3-priv} CLUSTER_NEW_VIRTUAL_HOSTNAMES={node3-vip}
    I got the following error:
    Performing tests to see whether nodes node2,node3 are available
    ............................................................SEVERE:The selected remote nodes 'node3' are not accessible.
    ... 100% Done.
    I reviewed logs located in /u01/app/oraInventory/logs I found
    Status of node 'node3':
    null
    The virtual host name 'node3-vip' for node 'node3' is already in use.
    I checked crs_stat from $ORA_CRS_HOME, but all applications (ons, gsd, vip) and targets are ONLINE. I tried to run vipca -nodelist node1,node2,node3 and updated a configuration. I checked /etc/hosts, connection via SSH between all hosts belonging to RAC: node1, node1-vip, node1-priv etc. Everything looks like fine, so I have no idea what caused this problem.
    Software which I used:
    Linux: UNL 5.4 x86_64
    11g Release 11.1.0.7.0 - 64bit, Oracle Clusterware
    Thank you for your answer,
    Best Regards,
    Edited by: user4924714 on 2010-02-15 07:50

    Hi,
    Thanks for your reply.
    I am running addNode.sh from node which already exist in the Rac Cluster. I tried on node1, node2 but the resulat are the same.
    Best regards,

  • Font for photo info does not work on this MAC

    We are running a new MAC (OS 10.6.2, 2.66 GHz Quad) with Lightroom 2.6.  When I try to add photo data to a contact print, I see a series of boxes with AAAs.  I got the same result with the Identy Plate when I changed the font.  I changed to another font and it was fine.  This leads me to believe the default font for photo info is not supported on this machine.  We really need to use the photo info feature.  Is there a way to either
    1.  Change the font to one that is supported on this machine
    2.  Add the default font to this machine

    Considering the hundreds of thousands of Windows apps available, I doubt you're going to find such a list.
    Is there a comprehensive list posted somewhere that show which PC software has compatibity issues?
    Well since Windows software does not run on Mac OS, every application is going to have compatibility issues.
    You'll either have to buy the Mac version (if available) of the software you want to use, or install Windows on the Mac.

Maybe you are looking for