How to set "Borland L&F" in  my Application

I can set Metal L&F like this:
try{
UIManager.setLookAndFeel("com.sun.java.swing.plaf.metal.MetalLookAndFeel");
}catch(Exception e){e.printStackTrace();};
JBuilder 9 includes "Borland L&F" wat parameter have i to provide to
UIManager.setLookAndFeel(???????????);

Do a search in the Borland jar files to find the BorlandLookAndFeel class, then use that. You can examine jar files using the jar tool or a zip program such as WinZip.

Similar Messages

  • How to set the stack size for alchemy application?

    Anybody know how to set the stack size for alchemy application?
    If you know, please tell me how to adjust the stack size for alchemy application?

    Hi,
    The stack size is set as public const gstackSize in the alchemy generated code.  You can see this if you build with ACHACKS_TMPS set.  The default is one megabyte.
    One way to change the stack size is to use llvm-dis to disassemble avm2-libc/lib/avm2-libc.l.bc, generating avm2-libc.l.ll, modify the constant, and then use llvm-as to recompile your modified library and overwrite the old one.  These utilities should be in your path if alchemy is set up.

  • How to set the icon for the entire application with JFrame.setIconImage

    I set the icon on the main frame using JFrame.setIconImage(). The icon is shown properly in the main frame.
    If more JFrames are opened from the main frame, the newly opened JFrames also show the icon.
    However if JDialogs are opended, in some cases the icon set on the main frame is shown and in other cases the coffee cup.
    What is JFrame.setIconImage() expected to do? Setting the icon for a single JFrame or the entire application?
    How can I set the icon for the entire application?
    How can I set the icon for JDialogs?
    Thank you

    In order for your dialogs to use the same icon as the frame, you must parent the dialogs to the frame which has the custom icon.
    See the following thread for more information: http://forum.java.sun.com/thread.jsp?forum=57&thread=362542
    cheers,
    Greg

  • How to set a new DocumentBuilderFactory in my application?

    Hello Suners,
    I really need some help to set a new DocumentBuilderFactory in my application.
    I have a new instance of DocumentBuilderFactory with my settings and i need to set it in the application so that it use it to show some special DOM elements.
    DocumentBuilderFactory.newInstance("com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl", null) ;now i just need a clue how to make it recognizable to my application i mean how to make my application obtain a reference to the new DocumentBuilderFactory so it can use the factory to configure and obtain parser instances?.
    Edited by: abulseed on Aug 29, 2010 6:59 AM

    abulseed wrote:
    now i just need a clue how to make it recognizable to my application i mean how to make my application obtain a reference to the new DocumentBuilderFactory so it can use the factory to configure and obtain parser instances?.That code already produces a reference to the new DocumentBuilderFactory (assuming it's correct code). The normal thing to do with the reference would be to assign it to a variable. Then your application could use the variable, which refers to the factory, to do those things which it is supposed to do.

  • How to set portal authorization in ABAP Webdynpro application

    Hi All,
    Do you have an idea how to set the visibility for Group UI element based on the Portal user authorization in ABAP Webdynpro , for example if the portal user A(or group A), logins into the portal on click of the ABAP Webdynpro IView then we need to set  invisible (hide) the Group UI element  in webdynpro ABAP Application.
    Do you have any sample code on the same to handle the portal authorization in Webdynpro ABAP?? , please let me know if couldnu2019t understand this requirement or my explanation
    Thanks,
    PortalUser100

    Hi Kris,
    Thanks for your reply.
    Like however we passed the UserID, can we pass Group ID also to the ABAP Webdynpro application??
    Can u get me other things, how to copy of the existing component and i want to give the new name for the component and there i need to modify, i dont want to disturb original component  before copy...let me know the procedure for the same??
    Regards,
    PortalUser100

  • How to set screen size of Labview toplevel application

    HI,
    I developed an application considering my monitors screen size. When my application was run on another machine whose monitor was set to a different resolution, parts of the application when off the screen. How can I make sure that when my application runs on any machine it will fit onto that screen.
    Thanks
    --A

    Hi,
    select File/VI Properties. In VI properties window select Category->Window Size. Select 3-rd option "Scale All Objects on panel as the Window Resizes".

  • How to set a page template as an "application level default template"?

    Hi,
    For some reason, my default application level page template is not 'default' anymore. is there a way to set that? Thanks.

    See Home>Application Builder>Application 999999>Shared Components>Themes>Create / Edit
    Jeff

  • How to set a Photoshop version the default application when two versions are installed?

    I have two versions of photoshop installed on my Mac. Double clicking on the Photo in Bridge CS6, the photo is opened in Photoshop CS5 (Photoshop CS5 (default). Haw can I set Photoshop CS6 as the default application?

    Thanks for your prompt replay, I had already done what you suggested, but it does not work. When you open in Bridge File>Open with you still see Photoshop CS5 (default) and the file is opened automatically with Photoshop CS5 and not CS6 unless you specifically choose Open with Photoshop CS6. I vaguely remember that I found once somewhere "would you like Photoshop xxx to be your default option? but I cannot remember where and I cannot find it anymore

  • How to set CLASSPATH in an ejb ear application

    Hi Gurus,
    I want to generate an EAR EJB Application and put 3 jars in the classpath of all ejb modules of this ear. Is it possible? How coul I do this without changing the application server's classpath.
    Cheers,
    George

    If you do put the ClassPath in the ejb's manifest file, what is the relative directory path for the ejb.
    For example if I want to include a jar file called mylib.jar. What would the classpath in the manifest file be.
    And were would I put the jar file, same path as the ejb itself?

  • How to set Dynamic Time Series in Planning application

    Dear All,
    I am having an issue by setting up dynamic time series (Y-T-D). I have set up at generation level 4. In our application the hierarchy of dimension Period is as follows.
    Yeartotal -> HY1 -> Q1 -> Jan, Feb, Mar
    Consider the following example
    Jan -> 100
    Feb -> 200
    Mar -> 300
    If I want to retrieve "Y-T-D Feb" the result should show me the sum of Jan & Feb in this case it should be 300. What is the syntax of retrieving YTD in smartview.
    In our application "Year" dimension name is "Year". How can I rename this dimension name if this is the requirement.
    Thanks in advance.
    Regards,
    Sami

    The format in Smart View would be Y-T-D(feb) more info at http://docs.oracle.com/cd/E17236_01/epm.1112/sv_user_11121102/ch17s02s02.html
    you will need to rename Year to something like Years, it depends if it is a classic or EPMA to how you rename it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to set custom master page for sharepoint application page ?

    Hello,
    I need to apply custom master page for the custom application page I created for login purpose.
    Can anyone please let me know how to apply master page for custom application page ?
    Note : I need to set custom master page for application page at web application level.
    thanks,
    Dipti Chhatrapati

    Hi Dipti,
    You can use the same reference as ASP.NET
    Example
    "<%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/minimal.master" title="teste" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
    meta:progid="SharePoint.WebPartPage.Document" %>"
    You can use SharePoint Designer 2010
    http://www.microsoft.com/download/en/details.aspx?id=16573 to make the reference from you aspx page to you custom masterpage.
    When you are editing a aspx page you can go to ribbon "Style" and attach the custom Masterpage.
    André Lage Microsoft SharePoint, CRM Consultant
    Blog:http://aaclage.blogspot.com
    Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

  • Iplanet 4.1 - How to set session timeout for a specific application

    Hi everyone,
    I have a Iplanet 4.1 old web instance running on Solaris 8. We are using this web instance to connect to few application instances running on Websphere 3.5. We have upgraded most of our web/app to higher version except this.
    One of the websphere applications need more session timeout. (Which I fuguredout not possible to do on Websphere).
    How do I achieve this on Iplanet 4.1.
    NOTE: I referred to Iplanet 6.x where we can achieve this by updating web-app.xml timeOut value per URI. I do not find web-app.xml under v4.1
    Thanks in advance,

    Sorry to say that we can't help here. WS4.1 is obsolete a long time ago.
    As you mentioned that you should use WS6.1SPx or WS7.0 for your production and get support.

  • How to Set Image size in webdynpro abap application

    Hi Experts,
    I am using image ui elemnet in my webdynpro application and i am getting the image on application, but here the problem is i am getting the image too big now i want to set the image size.
    Please Provide me the requried infromation to close the issuse.
    Thanks & Regards.
    Bhushan.

    The Image UI element has a height and width property.  Have you tried using those?
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9e/ef8841e3af1609e10000000a155106/frameset.htm
    Also consider using the property adjustImageSize to maintain the original proportions.

  • How to set 32bit ODBC connection to the application in 64 bit OS

    hi,
    I have BO installed in 64 Bit windows OS and the mysql data server in 32bit windows OS. i created DNS on the server for the data server. when i click on test connection, I'm getting a message
    DBD:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
    i think this error is due to Os .
    so how do i resolve this issue?
    regards
    sunil kumar koneru

    In this case with maxDB it was not possible to match source DB version. While the system that needed connection to BOBJ was rel7.7 it was not possible to install ODBC drivers from the maxDB client installer > 7.6.00.35
    Higher patch levels or releases went
    INSTALLER_INFO: Version = 7.6.06 Build 008-123-224-525
    INSTALLER_INFO: Changelist = 224525
    INSTALLER_INFO: MakeId = 435925
    INSTALLER_INFO: Type = kit
    SYS_INFO: Host name = BOBBY
    SYS_INFO: System = Windows
    SYS_INFO: Architecture = AMD64
    SYS_INFO: Version = NT 5.2
    SYS_INFO: Subversion = Service Pack 2
    MSG: InstallRegistry: space check ok: 29758306 kb on E: (567023269 kb total) available
    MSG: install registry successfully locked
    MSG: read 17 PACKAGES
    MSG: net registry size = 120750 bytes
    MSG: InstallRegistry: reserved 1024 kb disk space
    MSG: collector found 18 archives
    WRN: software in package "Base" (SDBBAS.TGZ) isn't runnable on your system
    magic string: MS Windows 32-bit i386 executable
    YOUR SYSTEM: architecture = AMD64
    YOUR SYSTEM: subversion = Service Pack 2
    YOUR SYSTEM: system = Windows
    YOUR SYSTEM: version = NT 5.2
    WRN: software in package "ODBC" (SDBODBC.TGZ) isn't runnable on your system
    magic string: MS Windows 32-bit i386 executable dll
    YOUR SYSTEM: architecture = AMD64
    YOUR SYSTEM: subversion = Service Pack 2
    YOUR SYSTEM: system = Windows
    YOUR SYSTEM: version = NT 5.2
    The maxDB guys should do something about this or it least point out proper solution(s).
    Edited by: SAP SAPBASIS on Jun 28, 2010 8:54 AM

  • How to set up a virtual directory on Application Server

    The environment of my application is Application server 9i version 2, on windows 2000, form 9.0.2.
    I am trying to get the ORACLE 9i forms show_document to work.
    I have successfully created an out file in the server directory.
    I need the document to be displayed by the form.
    Let me tell you more about my server.
    I installed Oracle application server on drive E.
    I copied my application to drive E and named PY which has 4 folders including :
    E:\PY\fmb (for fmb)
    E:\PY\forms (for fmx)
    E:\PY\sql (for sql programs)
    E:\PY\locrep (for lst files which are generated from sql programs)
    Someone told me I should create a virtual directory, e.g. docs, in your httpd.conf file to point to e:\py\locrep
    I've seen 4 httpd.conf files so I don't know which one I should modify and what should I type in exactly on what part ????
    E:\ora9ias\apache\apache\conf\httpd.conf
    E:\ora9ias\apache\apache\conf\httpd.conf.default
    E:\ora9ias\apache\apache\conf\httpd.conf.smibak
    E:\ora9ias\dcm\config\plugins\apache\httpd.conf
    After I modify the httpd.conf file, so what will my URL be ? Also, I have a lot of reports, I would like to run different reports at the same time ??????
    Thank you very much.
    Trang

    The best way to edit httpd.conf is using Enterprise Manager Website. Open this site (http://machine:1810) and drill down on your application server, and then on HTTP Server. Open link Advanced server Properties. Now you see a list of all configuration files. Click on a file to open it.
    To add the virtual path:
    - You could best add your virtual path in file forms90.conf (it is included in httpd.conf with the <include> tag).
    - Within this file you already find some virtual path definitions: Look for the AliasMatch tag, e.g. for the 'forms90/html' virtual directory.
    - Copy this line and change 'html' into the directory name you like to use, e.g. 'myfiles'. Map it to the physical directory (on your E: drive) where your files are. (E: must not be a network drive, however).
    - browse to your files using: http://machine:7777/forms90/myfiles/filename.
    Peter

Maybe you are looking for