JFrame resize flicker using look&feel

I just discovered JFrame's setDefaultLookAndFeelDecorated. Of course, it works great (refreshing to see it on vanilla windows!), but the frame flickers during mouse resizing. Every pixel the mouse moves, the frame is drawn gray then the previous frame's image is drawn over. Is there any way to stop this?
And is there any way to do dynamic resizing? i.e. The window continuously revalidates&redraws itself while the user is resizing, and not just when the user stops resizing. At the least, is there a way to dynamically resize the border? Otherwise, a gray box (and the flicker) are the only things that shows until the user stops resizing.
Specs: WinMe/JDK1.4.

Run the following complete program and you should get the flicker problem when resizing it. Them dukes be still available! Tell me if you have any idea how to correct it, or how to dynamically resize the "guts" of the window. Thanks.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class JTestFrame extends JFrame {
     public static void main(String args[]) {
          new JTestFrame().show();
     private JMenuBar menuBar = new JMenuBar();
     public JTestFrame() {
          super("Java is cool");
          // Get the pane to add components to
          Container content = getContentPane();
          // Resize the frame
          Toolkit kit = getToolkit();
          Dimension wndSz = kit.getScreenSize();
          setBounds(wndSz.width/4, wndSz.height/4, wndSz.width/2, wndSz.height/2);
          // Make the frame use its look&feel for its border
          setUndecorated(true);
          getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
          // Make a menu for no other purpose than making a menu
          JMenu fileMenu = new JMenu("File");
          fileMenu.setMnemonic(KeyEvent.VK_F);
          JMenuItem fileExitMenuItem = new JMenuItem("Exit");
          fileExitMenuItem.setMnemonic(KeyEvent.VK_X);
          fileExitMenuItem.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent e) {
                    System.exit(0);
          fileMenu.add(fileExitMenuItem);
          menuBar.add(fileMenu);
          JTextArea text = new JTextArea();
          getContentPane().add(new JScrollPane(text), BorderLayout.CENTER);
          setJMenuBar(menuBar);
          // Set the default close operation to exit the application
          setDefaultCloseOperation(EXIT_ON_CLOSE);
}

Similar Messages

  • Frame Moving Runtime using Look and Feel

    Hi All,
    I need creating Frame Moving runtime using Look and feel (Oracle forms 10 g with swing concept). If any bodies know give me a idea and demo files.
    Thanks and Regards
    M.Sathiya

    Dear Francois,
    Thanks all are working good and result also perfect but frame and DnD is not properly working compile time no problem only problem is run time it given error :java.lang.VerifyError:(class:oracle/forms/fd/frame$FrameBorder;methed <init> Signature:(Loracle/forms/fd/frame;)V) please tell me how can solve this problem.
    Regards,
    M.Sathiya

  • Packages to change Look&Feel,Icons etc.,how to use them?

    I downloaded several free packages to change the Look&Feel of my Desktop
    NHudDrive etc.,when I unzip I only see lots of Icons etc. supposed to
    change the Desktop looks but no explanation how to do it.
    Have anyone used them,and know how to do it?

    Instructions are here http://support.apple.com/kb/HT2493
     Cheers, Tom

  • 10G StrutsPageFlow Look/Feel/Use

    Look and Feel:
    In a post Brian Fry stated they are looking at Look and Feel for future releases. Today I was playing with the Struts Page Flow and here are a few Look/Feel/usability items
    Again Thanks All
    A
    =============================
    Add a full screen editor for Diagram Editing (Allow hot keys to floating pallets). Multiple monitor support if not already there.
    More options for direct access on right click of objects to code, properties, ect.
    Usability
    I used the BC4J toy store example from Steve Muench and created a StrutsPageFlow from struts-config.xml. What a mess.
    Next I right clicked on the diagram Diagram|Refresh Diagram from all Pages... Even worse.
    I Right Clicked and selected Layout Diagram|Right to Left. This creates an unusable document that I could not find a way to get back to usable by clicking. The anchors in the lines do not clean up when the lines are moved or straightened.
    I think I see the error in my logic for the next one but it seems to still be a problem in the way the system keeps the PageFlow, XML and code, consistent when using cut and paste. I do not know the exact path to recreate problem:
    *after the Layout Diagram Results above I hand edited the whole pageflow to get all the bad anchors out and the whole diagram on a single page. 
    *Next I selected all items on the Struts Page Flow and  used cut from the menu to cut  all the Items displayed
    *I deleted the page flow using File| Erase from Disk.
    *I Creaed a new page flow and Pasted all the items back.  They came back and looked like the page flow I cut but they were hollow, cold, and empty.
    *This destroyed the PageFlow, config. xml, and project.
    oops.
    More Later ?
    A

    Arron,
    Certainly the default layout of an imported struts-config in the preview is not pretty - For production it will automatically do a Hierarchical Top to Bottom which is a little better but we have to do some further work to tweek the label and line positioning - this is an area which will constantly evolve for the better...
    Cut copy paste on the diagram does not work in Preview - it is fixed for production so I'm sorry about that.

  • Ok, using Windows Look-feel ... any changes?

    Hi:
    I am presently using the Kunststoft theme. I want to the use the SUN supplied Windows Look-feel, but I cannot change the black background in my desktop application. I use JInternal frames but start with a desktop pane.
    Does anyone know how to specifically change the black background over the "default" black background that the windows UI sets. I tried setBackground(new Color(255,0,0)); .. got red for a moment, then the screen changed to black.
    Any help appreciated. I really like the Windows Look-feel, but a lighter background desktop area is preferred.
    Thanks,
    PiratePete

    After you set the Windows L&F, you must set another property.
    Here is an example:
    //Set the system L&F
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    //Perhaps the system is windows, so you must do this if you want to see
    //the mnemonics without pressint Alt key
    WindowsLookAndFeel.setMnemonicHidden(false);

  • Implementing JFrame Resizing Rules?

    Recently I've needed to enforce rules on a JFrame's dimensions (for example: preserving an aspect ratio).
    The obvious solution is to call setSize() from ComponentListener's componentResize() method. This is functional, but looking at the Java source, it's pretty inelegant. It actually starts a setSize() -> componentResized() -> setSize() loop that only terminates when setSize() is called with dimensions matching the current dimensions (see Component.reshape()). Also, its visually ugly because when maximized you can see the window snap back to the "fixed" size.
    It would seem that a more elegant way to add this functionality would be to have a method like "public Dimension checkDimensions(Dimension)" available for overriding.
    Does something like this already exist that I've missed?
    I've tried following the source, but I can't find the place where JFrame resizing is handled.

    The optimal solution would be to use a Look&Feel which doesn't have to use the OS window decorations, so the resize events are only generated in Java (not optimal in the fact that you don't get to have the OS frame decorations of course). Then you should be able to add your own RootPaneUI which simple doesn't allow resizing beyond a maximum size or auto resizing respecting an aspect ratio.
    See JFrame#isDefaultLookAndFeelDecorated and (for example) MetalRootPaneUI#MouseInputHandler. Perhaps there are thrid party look and feel where you can more easily replace a similar handler.

  • Customizing ADF Faces Look & Feel. Some questions & suggestions

    Hi everybody,
    We are developing an application with ADF Faces using JHeadStart. For the moment, I am studying the way we must modify the JHS templates to adapt each element to our needs.
    As it's told in the JHeadStart Developer's Guide, there are two ways to customize Look & Feel:
    1) Modifying the templates
    2) ADF Skinning
    I'm using both methods, but I feel that thay are not good enough to adapt the L&F to our customer requirements.
    My main problem now is in the ADF Table customization. I want to use ADF Table because it offers us a lot of features that are not in the jsf table (the selection column, the table overflow...), and is very usefull combined with the generated JHS code. But at the same time, it doesn't offer a lot of functionality in the look & feel customization. Using JSF Table, I can set the CSS style for headers, rows, columns, the table, I can set the border, cellspacing and cellpadding. But I cannot do
    any of these thing (or at least, I don't see how) with the ADF Table.
    Our customer (a government) have a strict definition of the look & feel of his web applications. They want we use their CSS styles definition file, so they can modify at once the Look & Feel of all their applications. Modifying the L&F through skinning generate other styles, not use the style classes in our CSS (o so I think).
    So, the questions:
    1) There is any way to set the suitable styles for the ADF Table components (headers, rows)?
    1bis) Why, If I have defined a new skin, with only just a few selectors, some styles from oracle are applied? Maybe because the render kit in the 'adf-skins.xml' is "oracle.adf.desktop"? If it is true, how can I make that they are not used, I must implement a render kit or can I use another existent?
    2) Can I decide how looks the select column (for example a button instead of a radio button)? Can I decide where does it goes (right or left)?
    3) There is any way to hidden the text Show/Hide of the showDetail in the table (the tableOverflow), as I can change the icons through skinning? If it is not possible, How can I overwrite the text. I need it in Catalan, but it is shown in English for this locale. Where is the message bundle I should overwrite?
    4) There is any way to force a tree to start fully expanded?
    5) There is anywhere documentation about the javascript functions used in ADF and their meaning? I think for example in the previous question. If I knew which javascript function I should call for expand the tree and its parameters, I could put the call in the onload event of the body.
    6) I use a selectInputDate. I have skinned the launch-icon, and I would like to do a similar thing in the chooseDate that is opened in a new window. But It seems not to be affected for my skinning directives (if I put a chooseDate in the same page, its L&F follow the skinning rules I've defined). I don't know if this dialog is an ADF feature or a JHS generated feature.
    7) There is any way to keep unmodified the id I've choosed for a component? (I mean, an inputText with id="hello" in a form with id="form" will have in the HTML an id = "form:hello", but I would like it to be simply 'hello')
    8) How can I control the position and the size of a dialog (the chooseDate dialog or a dialog I've created)? In the cases I've been testing, it seems the dialog is forced to resize depending on the content. I would like to know if I can establish a fixed size.
    9) There is any way to open a non-modal dialog? (which I could keep open at the same time that another instance of the same dialog)
    For the moment, I think I have no more question. But give me time.... :-D
    The suggestion I've to do is basically more flexible components for a better customization (for example, the styles settings I've talked about previously). ADF components are nice and powerful, but I think they should generate pages that follow the tendencies in the web development: tableless pages (I cannot understand the utility of the objectSpacer existing the margins), use of CSS for layout...
    Any answer, comment or suggestion will be welcome.
    Carles.
    Message was edited by:
    cbios

    I have been able to make the UIX 2.2 and ADF Faces LAF look near identical by updating the oracle-desktop.xss file within UIX 2.2 as follows
    <!-- Change the accent color ramp to tan -->
    <style name="DarkAccentBackground">
    <!--<property name="background-color">#cccc99</property>-->
    <property name="background-color">#d2d8b0</property>
    </style>
    There are still some differences:
    1) A black line appears on the ADF Faces on the 'menu1' facet selected tab below the text. DON'T KNOW HOW TO REMOVE THIS FROM ADF Faces or add it to UIX 2.2!!!
    2) In UIX 2.2 a bulleted list uses the HTML <li> tag. In ADF Faces it doesn't use the HTML <li> tag rather it constructs the bulleted list using lower level HTML tags with the 'bullet' becoming an image, in my browser this means the disc is smaller in Faces. The motivation for this change I think is explained via this post. Since I have no control over how this specific HTML tag is rendered it forces me to replace the /adf/images/bltdscn.gif file in adf-faces-impl.jar with a larger disc!
    http://www.thescripts.com/forum/thread96839.html
    May update this again if there are other things I notice.

  • Setting Themes for Java Look & Feel

    Hi All,
    I am tring to set my customized theme to Java Look & Feel. I am able to set the theme using the following code:
    ASC_WhiteSatin theme = new ASC_WhiteSatin();
    MetalLookAndFeel.setCurrentTheme(theme);
    The above code works fine and changes the color schemes correctly.
    If I set another theme after setting the previous one i.e.let say abc Theme, dialogs and frames are updated properly where as JFileChooser start showing combination of both. Why?
    I am also updating the Look & Feel and calling
    SwingUtilities.updateComponentTreeUI(this);
    SwingUtilities.updateComponentTreeUI(this.getParent());
    ((JFrame)this.getParent()).pack();
    to refresh the themes for my frame. I am using JDK 1.4.1.
    Thanks in advance
    Wahaj

    try the beta-version of 1.4.2

  • Java Look & Feel in Windows

    I would like to implement the Java L&F on windows plattforms with those nice notched, blue title bars. I'm using the crossplattform look and feel from the UIManager (jsdk 1.4.1_01). Everything looks smashing (my scrollbars gets notched...mmm...nice) xept for the titlebars. They are as ugly as everything else in Windows. I'm using JFrames.
    Note: When I run javaws apps, some of them get the Java L&F but when I run them as pure Java I'm stuck with Windows-titlebars. Grrr...

    Sorry Stevo,
    That is not necessarily true.
    As of Java 1.4:
    JFrame has a method called setDefaultLookAndFeelDecorated.
    So, before you create any frames if you call:
    JFrame.setDefaultLookAndFeelDecorated(true);then all of your frames should have what you want, if the l&f supports it.
    The Java Look & Feel does support, so that should give you what you need.
    E. West

  • Getting incorrect JComboBox color through UIManager in Nimbus Look&Feel

    Hello all,
    As I implementing a multi columns JComboBox, I need to provide my own custom ListCellRenderer.
    * @author yccheok
    public class ResultSetCellRenderer extends javax.swing.JPanel implements ListCellRenderer {
        // Do not use static, so that our on-the-fly look n feel change will work.
        private final Color cfc  = UIManager.getColor("ComboBox.foreground");
        private final Color cbc  = UIManager.getColor("ComboBox.background");
        private final Color csfc = UIManager.getColor("ComboBox.selectionForeground");
        private final Color csbc = UIManager.getColor("ComboBox.selectionBackground");
        private final Color cdfc = UIManager.getColor("ComboBox.disabledForeground");
        @Override
        public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
            System.out.println("UIManager.getColor(ComboBox.selectionForeground) = " + UIManager.getColor("ComboBox.selectionForeground"));
            System.out.println("UIManager.getColor(ComboBox.selectionBackground) = " + UIManager.getColor("ComboBox.selectionBackground"));
            this.setBackground(isSelected ? csbc : cbc);
         this.setForeground(isSelected ? csfc : cfc);
            jLabel1.setBackground(isSelected ? csbc : cbc);
         jLabel1.setForeground(isSelected ? csfc : cfc);
            jLabel2.setBackground(isSelected ? csbc : cbc);
         jLabel2.setForeground(isSelected ? csfc : cfc);
            jLabel3.setBackground(isSelected ? csbc : cbc);
         jLabel3.setForeground(cdfc);
            final ResultType result = (ResultType)value;
            jLabel1.setText(result.symbol);
            jLabel2.setText(result.name);
            final String type = result.typeDisp != null ? result.typeDisp : result.type;
            final String exch = result.exchDisp != null ? result.exchDisp : result.exch;
            jLabel3.setText(type  + " - " + exch);
            return this;
    }I try to get the selection colors of JComboBox through UIManager.
        private final Color csfc = UIManager.getColor("ComboBox.selectionForeground");
        private final Color csbc = UIManager.getColor("ComboBox.selectionBackground");However, I realize that while I am in Nimbus Look & Feel, the above 2 return me null.
    May I know is there any workaround to overcome this? Or I had missed out something?
    Thanks.
    Edited by: yccheok on Oct 21, 2010 10:39 AM

    because "c" is instance of UIResource:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.plaf.*;
    public class NimbusComponentColorTest {
      public JComponent makeUI() {
        final Color c = UIManager.getColor(
            "ComboBox:\"ComboBox.renderer\"[Selected].background");
        System.out.format("c instanceof UIResource: %s", c instanceof UIResource);
        JLabel label01 = new JLabel("label01");
        /* //com/sun/java/swing/plaf/nimbus/AbstractRegionPainter.java
        protected final Color getComponentColor(...) {
          // we return the defaultColor if the color found is null, or if
          // it is a UIResource. This is done because the color for the
          // ENABLED state is set on the component, but you don't want to use
          // that color for the over state. So we only respect the color
          // specified for the property if it was set by the user, as opposed
          // to set by us.
          if (color == null || color instanceof UIResource) {
              return defaultColor;
          } else if(saturationOffset!=0||brightnessOffset!=0||alphaOffset!=0) {
        label01.setOpaque(true);
        label01.setBackground(c);
        JLabel label02 = new JLabel("label02");
        label02.setOpaque(true);
        label02.setUI(new javax.swing.plaf.metal.MetalLabelUI());
        label02.setBackground(c);
        JLabel label03 = new JLabel("label03") {
          @Override public void paintComponent(Graphics g) {
            g.setColor(c);
            g.fillRect(0,0,getWidth(),getHeight());
            super.paintComponent(g);
        JLabel label04 = new JLabel("label04");
        label04.setOpaque(true);
        label04.setBackground(new ColorUIResource(Color.RED));
        JPanel p = new JPanel();
        p.add(label01); p.add(label02); p.add(label03); p.add(label04);
        return p;
      public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
          @Override public void run() { createAndShowGUI(); }
      public static void createAndShowGUI() {
        try {
          for (UIManager.LookAndFeelInfo laf:UIManager.getInstalledLookAndFeels())
            if ("Nimbus".equals(laf.getName()))
              UIManager.setLookAndFeel(laf.getClassName());
        } catch (Exception e) {
          e.printStackTrace();
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        f.getContentPane().add(new NimbusComponentColorTest().makeUI());
        f.setSize(200, 100);
        f.setLocationRelativeTo(null);
        f.setVisible(true);
    }

  • [solved] How-To apply lxappearance Look&Feel for qpdfview?

    Hello,
    as the title says: I wonder if there is a way to get the configured lxappearance Look & Feel for the qpdfview pdf-viewer.
    I'd also write some code if necessary but I'm don't know where I should start…
    Help is as always appreciated. :-)
    Thanks in advance!
    Cheers,
    domac
    Last edited by domac (2012-08-16 16:29:29)

    Hello!
    You just need to install "libgnomeui". This package (or some of it dependencies... I never "investigated" what exactly happens) provides what is necessary to make Qt applications use the GTK theme. Probably it is going to work right after the installation. If not, try to logoff/login or restart the computer. And, as a "last resort" (it should not be necessary), change the Qt settings, on "qtconfig", to make it use the GTK+ Gui Style.
    I hope this have worked. Anything else, just ask!

  • How to standardize the look & feel of different vendor JSF components?

    Hi,
    There are various JSF components created by different parties. For example, Tomahawk from Myfaces, ADF faces from Oracle, SUN components that provided in Java Studio creator. They look different.
    Can we standard the look and feel for these various components when we use them in a same project? so that it wouldn't look that different when the page is displayed to the end user.
    Please advise.
    Thank you.

    Hi,
    Can you be more specific how to achieve that using css? You mean the look and fee that we see is not an image?
    Have you seen how Oracle ADF face look & feel is like?
    How to change its look to what we have SUN offered in its Java studio creator 2?
    Please advise.
    Thank you.

  • How to show different Look & Feel to different users?

    Hi,
    how to show different Look & Feel to different users?
    Thanks & Regards,
    Venu--

    If you want the user to select then LookAndFeel then Visitor Tools.
    If you want to use code and dynamically change it then http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/javadoc/index.html?com/bea/netuix/laf/PortalLookAndFeel.html
    if you have only a few combinations then you could even create different desktops and direct the user to the appropriate url

  • Changing shell, look & feel dynamically in desktop backing file

    (I apologize if this post is showing up twice - I tried posting with
    google groups but it doesn't appear at forums.bea.com, so I wanted to
    post again using xnews to make sure it shows up.)
    I have a backing file that I am using with my desktop and I need to be
    able to change the shell and look & feel dynamically, based on the page
    that is currently active. I am doing the following in the preRender()
    method:
    String newLAF = "myLookAndFeel";
    String newShell = "myShell";
    // here is where I would determine the appropriate LAF and shell based on the current page
    customizationContext = new CustomizationContext(Locale.getDefault(), request);
    customizationContext.setVisitorMode(true);
    DesktopView desktopView =
    PortalBeanManager.getPortalCustomizationManager().getDesktopView(customizationContext, webAppName, new PortalPath(portalPath), new DesktopPath(desktopPath));
    DesktopInstanceId dii = desktopView.getDesktopInstanceId();
    DesktopInstance di = PortalBeanManager.getPortalCustomizationManager().getDesktopInstance(customizationContext, dii);
    LookAndFeelDefinitionId lookAndFeelId = null;
    for(int i = 0, n = lookAndFeelDefinitions.length; i < n; i++) {
    if(newLAF.equals(lookAndFeelDefinitions.getDefinitionLabel())) {
    lookAndFeelId = lookAndFeelDefinitions[i].getLookAndFeelDefinitionId();
    break;
    di.setLookAndFeelDefinitionId(lookAndFeelId);
    ShellDefinitionManager shellManager = PortalBeanManager.getShellDefinitionManager();
    ShellDefinitionId shellId = null;
    ShellDefinition[] shellDefinitions = getShellDefinitions(webAppName, request.getLocale(), request);
    for(int i = 0, n = shellDefinitions.length; i < n; i++) {
    String shellName = shellManager.getShellView(customizationContext, shellDefinitions[i].getShellDefinitionId()).getMarkupView().getMarkupDefinition().getName();
    if(newShell.equals(shellName)) {
    shellId = shellDefinitions[i].getShellDefinitionId();
    break;
    di.setShellDefinitionId(shellId);
    PortalBeanManager.getPortalCustomizationManager().updateDesktopInstance(customizationContext, di);
    This works just fine, but I once the portal renders itself in my
    browser, I usually have to refresh the page before the changes to the
    shell and look & feel are visible. I would like to do this in the
    init() method of the backing file but I do not know how to determine
    the current active page from within init.
    I would appreciate any help you all could give me in finding a solution
    so I do not have to refresh the page in order to see the shell and look
    & feel changes. Thanks in advance!
    Andy

    We essentially have 2 "portals" running inside 1 .portal file. We'd
    like to be able to use single sign on and entitlements to allow/restrict
    access to various parts of the 2 portals (where certain books are
    consider part of portal "A" and others part of portal "B"). If you are
    logged in as a super-user, you will be able to access everything. If
    you are logged in as user type "A" you can only access portal "A," and
    similarly for user type "B" and portal "B."
    Portals A and B have each have a distinct header, footer (i.e. shell),
    and look and feel (skeleton and skin). If a super-user is looking at
    portal A, the portal should have portal A's header, footer, and look and
    feel, and similarly for portal B.
    How would you recommend we accomplish this? Would it make more sense
    (and is it possible) to have the header and footer jsps determine what
    content to render based on the current book or page, and then use the
    code you suggested below to change the look and feel dynamically?
    Thanks,
    Andy
    jolleyc wrote:
    in order to pick up the changes for that request you will need to do a redirect back to the server (our login examples shwo you how to do this). this is because the control tree has already been retrieved from the database (so you need to go back and get a new version).
    I quick note: If you plan on doing this a lot this is quite a heavy process. if you just need to change the lookAndFeel on the fly you can look at the following ( i t think this is in the tutorial portal)
    A) Modify the shell to include a jsp and backing file
    <netuix:header>
    <netuix:jspContent backingFile="com.acme.DynamicLookAndFeelHeaderBacking" contentUri="/portlets/lookAndFeel/dynamicLookAndFeelHeader/dynamicLookAndFeelHeader.jsp"/>
    </netuix:header>
    B) backing file looks like
    public void init(HttpServletRequest request, HttpServletResponse response)
    // Get the session from the request
    HttpSession session = request.getSession();
    // Get the LookAndFeel object from the PrimaryTheme in the request
    LookAndFeel lookAndFeel = LookAndFeel.getLookAndFeel(request);
    if (request.getParameter("defaultButton") != null)
    session.setAttribute("skin", "default");
    if (request.getParameter("textButton") != null)
    session.setAttribute("skin", "text");
    if (request.getParameter("classicButton") != null)
    session.setAttribute("skin", "classic");
    String selectedSkin = (String) session.getAttribute("skin");
    if (selectedSkin != null)
    lookAndFeel.setSkin(selectedSkin);
    lookAndFeel.setSkeleton(selectedSkin);
    lookAndFeel.reinit();

  • Oracle Forms Look & Feel

    I want to change my forms look & fell thats why I performs below mention steps.But when form run the look & feel naver change only visual attribute of emp block becomes purple & when i change color then its not change means always remains purple.
    Steps Performed.
    1) My Forms install on C:\Oracle\Dmhome10g Direcotry.
    2) I am using Oracle JINITIATOR 1.3.1.17
    3) I am using JRE 1.4.2.17.
    4) My Os Platform Is Windows Advance Server 2000.
    5) I put Laf.Jar file in C:\Oracle\Dmhome10g\Forms90\Java.
    6) I open formsweb.cfg file & put archive=frmall.jar,laf.jar
    When I run the form then emp block visual attribute becomes purple & other theme remains defult no other changes performed. And when I change color then no action happened.
    I had 1 question in my mind.
    1) Where I put "DrawLAF.java" file.
    Regards
    Fahed Akhter

    Fahed,
    I'm not sure we are talking about the same thing. I am speaking about the Java console opened when you run your form (the little coffe-cup icon in the quick task bar) that should show something like this:
    Java Plug-in 1.5.0_12
    Utilisation de la version JRE 1.5.0_12 Java HotSpot(TM) Client VM
    Répertoire d'accueil de l'utilisateur = C:\Documents and Settings\Francois
    c: effacer la fenêtre de la console
    f: finaliser les objets de la file d'attente de finalisation
    g: libérer la mémoire
    h: afficher ce message d'aide
    l: vider la liste des chargeurs de classes
    m: imprimer le relevé d'utilisation de la mémoire
    o: déclencher la consignation
    p: recharger la configuration du proxy
    q: masquer la console
    r: recharger la configuration des politiques
    s: vider les propriétés système et déploiement
    t: vider la liste des threads
    v: vider la pile des threads
    x: effacer le cache de chargeurs de classes
    0-5: fixer le niveau de traçage à <n>
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    La version Forms Applet est : 10.1.2.0
    Francois

Maybe you are looking for

  • Indexing for Business Partner Duplicate check((Manual Account Creation)

    Hi, We are working on a BP de-duplication functionality in SAP CORM. We have implemented all the necessary steps for de-duplication. But, we are facing one issue while trying to initially index the data using program - 'SIC_BAS_RADII' using the follo

  • How to clear Cache in SAP BW

    Hi All, i changed 1 .js file in mime repository, but the changes are not getting reflected when i run 1 of the WAD templates. it still picks the old .js file. i guess there is some problem related to clearing of cache memory. Any ideas about how to c

  • What happens to content after my subscription expires?

    Hi, this is my first time using an adobe product for a small business, and I'm trying to work out what happens after the subscription ends. I need to create three or four projects this year which I want to host on our employee learning system for the

  • Routing operation validity

    I can find out the operation Valid from date from table PLPO or PLAS, but from which table can I find out the Valid to date of the routing operation ?

  • Query Regarding Variants

    Hi , Is variant client dependent or independent ? Best Regards Chandrika.