PushButton with Windows XP Look and Feel

Hi all,
I am looking for a way to give my buttons in my Oracle Forms 10gR2 (with Sun JPI 1.5) a Windows XP look and feel. In my formsweb.cfg I can choose between a generic and an oracle look and feel. The generic look and feel claims to have the windows look and feel, but unfortunatly, this is a Windows 3.11 L&F. Because of the overall look and feel of the Oracle L&F we decided on using this L&F but we would like our buttons to look like other buttons in Windows XP. I think this can be done by building a specific java implementation class but I have no experience with this.
Did anybody already build such an implementation class and willing to share it with me?
Thanks in advance,
Harold

The only way to accomplish this is with a Java Bean or PJC. Refer to the Oracle Forms Demos for some examples of what can be done with Beans and PJCs. Also, refer to the following page:
http://forms.pjc.bean.over-blog.com/categorie-450786.html
Forms Demos on OTN:
http://www.oracle.com/technology/sample_code/products/forms/index.html
One other suggestion would be to use:
LookAndFeel=oracle
colorScheme=blaf
This will not resemble XP, but does offer a more professional looking application over the standard colors. BLAF was originally created for Oracle Applications, but works in all versions of Forms 6i and newer. BLAF = Browser Look And Feel

Similar Messages

  • Windows 10 look and feel thoughts

    First off I want to start by saying I've run Windows 8/8.1 from the beginning on all my machines. With Windows 8 I didn't miss the start menu and quickly understood the advantages and the short cuts. Also working for a large software company
    I personally made sure that we created a Windows 8 app and a Windows 8 Phone app. Oh yea, early adopter of the Windows 8 phone too which I still absolutely love. I'm not saying everything was rosy. I still have Win App API complaints
    which I voiced on another thread years ago and still have the same complaint all thought I do understand why they do what they do. There are so many great features in Windows 8/8.1/10. Being able to log in once from any device and access the same information,
    desktop and One Drive. Now I can't live with out these features. Home, office, phone, surface. I love it.
    The second the Windows 10 preview launched it was loaded on my laptop and surface. Not even VM. Yes it crashes a lot. It's a tech preview. Of course it does.
    I demoed some bleeding edge code on a bleeding edge OS to a customer. By bleeding I mean cut your wrist bleeding. It's a tech preview I knew better. After that tragedy, I had to get ready for our yearly conference which I planed
    on using Windows 10 for but instead decided to reload my laptop with Windows 7.... I have barely touched Windows 7 in years. Why Windows 7. The start menu. I didn't realize that missed it and how much better it is to use till Windows 10. In Windows
    10, I love the new start menu. Incorporating the live tiles with the basic Win 7 start menu ready extend it functionally and make it far easier and efficient to use.
    This is where I realized the difference and it's really just purely visual, but that is a lot. It isn't just the start menu. I miss the look and feel of Windows 7. The features in Windows 7 don't even compare with the new versions of Windows but why is it
    that Windows 10 still feel like Windows 3.1. Hardware has only gotten better. Even the GPU onboard of the newer CPUs is better than a lot of video cards these days however Win forms, shadowing all of the visuals that made Windows 7, well for
    lack of a better word, pretty. They are all gone. Win 8 to 10 are all about WPF and that's ok, but even WPF looks and feels better on Windows 7. This is where the new OSs fail. I know that the difference in the way WPF and Win forms appear has been
    highlighted on more than a few threads. But I think it's beyond that. The whole presentation in Windows 10 is just lacking.
    Now, would I personally go back to Windows 7 on all machines because of the visual short comings of Windows 10. No, of course not. The new features are far to valuable. But I'll never demo anything with dialogs, forms and even WPF forms on
    anything other than Windows 7 again. A 6 year old feature lacking OS that just looks more refined than the current OSs.
    Just some thoughts. Some people might not agree with me.

    I'd try them over here.
    http://answers.microsoft.com/en-us/windows/forum/windows_tp?tab=Threads
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Windows XP Look and Feel

    Hi,
    When I use Windows XP style Look & Feel on Windows XP Title Bar and Scroll Bar disappears or the color is set to transparent.
    I set Look and Feel using:
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    Even I run SwingSet2 on Windows XP and set the Look & Feel to Windows XP Style the result is the same.
    Is there any recommendation about this?
    Thanks...

    I forgot to say that I am using Java SDK v1.4.2_4

  • How to do a TableCellRenderer with Windows XP Look'n Feel ?

    In my application i use a sortable JTable view. In order to visualize the sorted column selected by user interaction i wrote my own TableCellRenderer implemantation to feature this with an icon in the table header which shows an arrow symbol for ascending or descending sort order. In addition to that i installed a handler which underlines the header label when the user hovers over a header column with the mouse. This all works perfectly but now i challenged the following problem: The application works in a Microsoft Windows XP environment and uses the corresponding XP Look'n Feel (available since Java SDK 1.4.2). The entire application makes uses of this specific
    Look'n Feel but as i use a userdefined TableCellRenderer the table outlook is the one of the 'old' default windows Look'n Feel not the one of Windows XP. If i use the default renderer all looks what it should look like but the enhanced sorting and hover capabilities get lost.
    My question: How do i combine the xp look with my enhanced table header features ?
    I had a look at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI and there's an embedded inner class named XPDefaultRenderer which makes use of the xp skinning technology and paints the correct xp like border. Unfortunately this class is declared private and the com.sun.java.swing.plaf.windows.XPStyle which is being used inside is package private. So no chance to implement a userdefined swing component that features the xp Look'n Feel.
    Is this whole thing organized like that to fulfill copyright restictions in relation to the xp Look'n Feel which should stay unmodified ? Or is there another chance to get the userdfined renderer to feature the correct Look'n Feel ? At the moment the table header doesn't fit in the Look'n Feel at all which is annoying. Is there a solution ? Please help if you know any possible way to solve this. Thank you.

    Just a followup on the missing mouse-over effect and the bad sizing of
    XP table headers in 1.4.2. These problems are covered by bug reports:
    http://developer.java.sun.com/developer/bugParade/bugs/4855121.html
    http://developer.java.sun.com/developer/bugParade/bugs/4774013.html
    Both of these bugs will be fixed in 1.5. Here is a workaround you can
    use for 1.4.2.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.table.*;
    import com.sun.java.swing.plaf.windows.*;
    public class XPTableHeaderRenderer extends DefaultTableCellRenderer
                           implements MouseListener, MouseMotionListener {
        private JTableHeader header;
        private DefaultTableCellRenderer oldRenderer;
        private int rolloverColumn = -1;
        public XPTableHeaderRenderer(JTableHeader header) {
         this.header = header;
         this.oldRenderer = (DefaultTableCellRenderer)header.getDefaultRenderer();
         header.addMouseListener(this);
         header.addMouseMotionListener(this);
        private void updateRolloverColumn(MouseEvent e) {
         int col = header.columnAtPoint(e.getPoint());
         if (col != rolloverColumn) {
             rolloverColumn = col;
             header.repaint();
        public void mouseMoved(MouseEvent e) {
         updateRolloverColumn(e);
        public void mouseEntered(MouseEvent e) {
         updateRolloverColumn(e);
        public void mouseExited(MouseEvent e) {
         rolloverColumn = -1;
         header.repaint();
        public void mousePressed(MouseEvent e) {
         rolloverColumn = -1;
         header.repaint();
        public void mouseReleased(MouseEvent e) {
         updateRolloverColumn(e);
        public void mouseClicked(MouseEvent e) {
        public void mouseDragged(MouseEvent e) {
        public Component getTableCellRendererComponent(JTable table, Object value,
                                     boolean isSelected, boolean hasFocus,
                                     int row, int column) {
         JComponent comp =
             (JComponent)oldRenderer.getTableCellRendererComponent(table,
                                              value, isSelected,
                                              hasFocus || (column == rolloverColumn),
                                              row, column);
         comp.setBorder(new EmptyBorder(3, 8, 4, 8));
         return comp;
        public static void main(String[] a) throws Exception {
         UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
         JFrame f = new JFrame();
         JTable table = new JTable(5, 5);
         f.getContentPane().add(new JScrollPane(table));
         if (System.getProperty("java.version").startsWith("1.4.2")) {
             // Replace the XP renderer with our own
             JTableHeader header = table.getTableHeader();
             TableCellRenderer renderer = header.getDefaultRenderer();
             String name = renderer.getClass().getName();
             if (name.equals("com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer")) {
              header.setDefaultRenderer(new XPTableHeaderRenderer(header));
         f.setBounds(100, 100, 200, 200);
         f.setVisible(true);
    }Cheers,
    /Leif

  • How to do a MyScrollBarUI with Windows XP Look'n Feel?

    I am having a simular issue as the one posted in this thread:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=435791
    However I am overriding the paintTrack and paintThumb methods of BasicScrollBarUI and attached my own mouse listeners because I have creatd a "zoom" scrollbar. The zoom scrollbar has handles drawn one each end and when they receive a drag event, the component zooms the area.
    All this is working fine except when the laf is Windows XP style, I can not get the new look because com.sun.java.swing.plaf.windows.XPStyle is package private.
    In the thread above I see that the table cell render was replaced but saved to do the drawing.. Is there a work around for scrollbars thumb and track. Also my buttons on the ends do not get the new look.

    I am having a simular issue as the one posted in this thread:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=435791
    However I am overriding the paintTrack and paintThumb methods of BasicScrollBarUI and attached my own mouse listeners because I have creatd a "zoom" scrollbar. The zoom scrollbar has handles drawn one each end and when they receive a drag event, the component zooms the area.
    All this is working fine except when the laf is Windows XP style, I can not get the new look because com.sun.java.swing.plaf.windows.XPStyle is package private.
    In the thread above I see that the table cell render was replaced but saved to do the drawing.. Is there a work around for scrollbars thumb and track. Also my buttons on the ends do not get the new look.

  • Windows 8 look and feel

    HI,
    is there a way to have the modern look of windows 8 (the content before chrome approach) using jdeveloper to develop a new application?
    thanks,
    M

    What is the JDeveloper version?
    For the JDeveloper 12c Windows 8 is certified.
    http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-cert-1964670.html
    For 11.1.2 Windows 7  is certified. Not Windows 8.
    Oracle JDeveloper 11g Release 2 (11.1.2) Certification

  • Start the SMC GUI with special configuration/look and feel

    Hello,
    I forwarding alarm to another management system. Now I might again back.
    I woulkd like to launch the SMC console and the Alarm tab should be shown directly.
    It would be even better if directly the information of an special alarm is shown.
    Does somebody have an idea for it?
    Thanks

    Hi Dholze,
    I need only the part "that link back to the specific
    alarm information withing a SunMC console".
    Do you have an idea how to create this Back-URL?
    CheersI know we have a small Java utility will launch the SunMC Console against one host in particular (i.e. instead of the user being dropped in a Domain and having to hunt for the correct system (default) they open directly to the host with the alarm (like double-clicking the icon for that host in the Console)).
    They will be in the Module Browser tab so they can see the alarm lit up in colour, not in the Alarms tab though.
    I think it's shipped with our Netcool integration software, but it can be used anywhere.
    Regards,
    [email protected]

  • Problem With ButtonUI in an Auxiliary Look and Feel

    This is my first post to one of these forums, so I hope everything works correctly.
    I have been trying to get an axiliary look and feel installed to do some minor tweaking to the default UI. In particular, I need it to work with Windows and/or Metal as the default UI. For the most part I let the installed default look and feel handle things with my code making some colors lighter, darker, etc. I also play with focus issues by adding FocusListeners to some components. I expect my code to work reasonably well no matter what the default look and feel is. It works well with Motif, Metal, and Windows, the only default look and feels I've tested with. What I'm going to post is a stripped down version of what I have been working on. This example makes gross changes to the JButton background and foreground colors in order to illustrate what I've encountered.
    I have three source code files. The first, Problem.java, creates a JFrame and adds five buttons to it. One button installs MyAuxLookAndFeel as an auxiliary look and feel using MyAuxButtonUI for the look and feel of JButtons. The next button removes that look and feel. The next button does nothing except print a line to System.out. The next button installs MyAuxLookAndFeel as an auxiliary look and feel using MyModButtonUI for the look and feel of JButtons. The last button removes that look and feel.
    The problem is, when I install the first auxiliary look and feel, buttons are no longer tabable. Also, they cannot be invoked by pressing the space button when they're in focus. When I remove the first auxiliary look and feel everything reverts to behaving normally. When I add the "Mod" version, button tabability is fine. The only difference is I've added the following code:
    if ( c.isFocusable() ) {
       c.setFocusable(true);
    }That strikes me as an odd piece of code to profoundly change the program behavior. Anyway, after adding and removing the "Mod" look and feel, the tababilty is forever fixed. That is, if I subsequently re-install the first look and feel, tababilty works just fine.
    The problem with using the space bar to select a focused button is more problematic. My class is not supposed to mess with the default look and feel which may or may not use the space bar to press the button with focus. When the commented code in MyModButtonUI is uncommented, things behave correctly. Even the statement
    button.getInputMap().remove( spaceKeyStroke );doesn't mess things up after the auxiliary look and feel is removed. So far I've tested this with JRE 1.4.2_06 under Windows 2000, JRE 1.4.2_10 under Windows XP, and JRE 1.5.0_06 under Windows XP and the behavior is the same.
    All of this leads me to two questions.
    1. Is my approach fundamentally flawed? I've extended TextUI and ScrollBarUI with no problems. This is the only problem I've encountered with ButtonUI. My real workaround for the space bar issue is better than the one I've supplied in the example, but it certainly is not guaranteed to work for any arbitrary default look and feel.
    2. Assuming I have no fundamental problems with my approach, it's possible I've found a real bug. I searched the bug database and couldn't find anything like this. Of course, this is the first time I've tried seasrching the database for a bug so my I'm doing it badly. Has this already been reported as a bug? Is there any reason I shouldn't report it?
    What follows is the source code for my example. It's in three files because the two ButtonUI classes must be public in order to work. Thanks for insight you can provide.
    Bill
    File Problem.java:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Problem extends JFrame {
       public boolean isAuxInstalled = false;
       public boolean isModInstalled = false;
       public LookAndFeel lookAndFeel = new MyAuxLookAndFeel();
       private static int ctr = 0;
       public static void main( String[] args ) {
          new Problem();
       public Problem() {
          this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setSize(250, 150);
          setTitle("Button Test");
          JButton install = new JButton("Install");
          JButton remove = new JButton("Remove");
          JButton doNothing = new JButton("Do Nothing");
          JButton installMod = new JButton("Install Mod");
          JButton removeMod = new JButton("Remove Mod");
          this.getContentPane().setLayout(new FlowLayout());
          this.getContentPane().add(install);
          this.getContentPane().add(remove);
          this.getContentPane().add(doNothing);
          this.getContentPane().add(installMod);
          this.getContentPane().add(removeMod);
          install.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                if ( !isAuxInstalled ) {
                   isAuxInstalled = true;
                   UIManager.addAuxiliaryLookAndFeel( lookAndFeel );
                   SwingUtilities.updateComponentTreeUI( Problem.this );
          remove.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                if ( isAuxInstalled ) {
                   isAuxInstalled = false;
                   UIManager.removeAuxiliaryLookAndFeel( lookAndFeel );
                   SwingUtilities.updateComponentTreeUI( Problem.this );
          doNothing.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                System.out.println( "Do nothing " + (++ctr) );
          installMod.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                if ( !isModInstalled ) {
                   isModInstalled = true;
                   UIManager.addAuxiliaryLookAndFeel( lookAndFeel );
                   SwingUtilities.updateComponentTreeUI( Problem.this );
          removeMod.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                if ( isModInstalled ) {
                   isModInstalled = false;
                   UIManager.removeAuxiliaryLookAndFeel( lookAndFeel );
                   SwingUtilities.updateComponentTreeUI( Problem.this );
          setVisible(true);
       class MyAuxLookAndFeel extends LookAndFeel {
          public String getName() {
             return "Button Test";
          public String getID() {
             return "Not well known";
          public String getDescription() {
             return "Button Test Look and Feel";
          public boolean isSupportedLookAndFeel() {
             return true;
          public boolean isNativeLookAndFeel() {
             return false;
          public UIDefaults getDefaults() {
             UIDefaults table = new MyDefaults();
             Object[] uiDefaults = {
                "ButtonUI", (isModInstalled ? "MyModButtonUI" : "MyAuxButtonUI"),
             table.putDefaults(uiDefaults);
             return table;
       class MyDefaults extends UIDefaults {
          protected void getUIError(String msg) {
    //         System.err.println("(Not) An annoying error message!");
    }File MyAuxButtonUI.java:
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.plaf.*;
    import javax.swing.plaf.multi.*;
    import javax.accessibility.*;
    public class MyAuxButtonUI extends ButtonUI {
       private Color background;
       private Color foreground;
       private ButtonUI ui = null;
       public static ComponentUI createUI( JComponent c ) {
          return new MyAuxButtonUI();
       public void installUI(JComponent c) {
          MultiButtonUI multiButtonUI = (MultiButtonUI) UIManager.getUI(c);
          this.ui = (ButtonUI) (multiButtonUI.getUIs()[0]);
          super.installUI( c );
          background = c.getBackground();
          foreground = c.getForeground();
          c.setBackground(Color.GREEN);
          c.setForeground(Color.RED);
       public void uninstallUI(JComponent c) {
          super.uninstallUI( c );
          c.setBackground(background);
          c.setForeground(foreground);
          this.ui = null;
       public void paint(Graphics g, JComponent c) {
          this.ui.paint( g, c );
       public void update(Graphics g, JComponent c) {
          this.ui.update( g, c );
       public Dimension getPreferredSize(JComponent c) {
          if ( this.ui == null ) {
             return super.getPreferredSize( c );
          return this.ui.getPreferredSize( c );
       public Dimension getMinimumSize(JComponent c) {
          if ( this.ui == null ) {
             return super.getMinimumSize( c );
          return this.ui.getMinimumSize( c );
       public Dimension getMaximumSize(JComponent c) {
          if ( this.ui == null ) {
             return super.getMaximumSize( c );
          return this.ui.getMaximumSize( c );
       public boolean contains(JComponent c, int x, int y) {
          if ( this.ui == null ) {
             return super.contains( c, x, y );
          return this.ui.contains( c, x, y );
       public int getAccessibleChildrenCount(JComponent c) {
          if ( this.ui == null ) {
             return super.getAccessibleChildrenCount( c );
          return this.ui.getAccessibleChildrenCount( c );
       public Accessible getAccessibleChild(JComponent c, int ii) {
          if ( this.ui == null ) {
             return super.getAccessibleChild( c, ii );
          return this.ui.getAccessibleChild( c, ii );
    }File MyModButtonUI.java:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.plaf.*;
    public class MyModButtonUI extends MyAuxButtonUI
       static KeyStroke spaceKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0 );
       public static ComponentUI createUI( JComponent c ) {
          return new MyModButtonUI();
       public void installUI(JComponent c) {
          super.installUI(c);
          c.setBackground(Color.CYAN);
          if ( c.isFocusable() ) {
             c.setFocusable(true);
    //      final JButton button = (JButton) c;
    //      button.getInputMap().put( spaceKeyStroke, "buttonexample.pressed" );
    //      button.getActionMap().put( "buttonexample.pressed", new AbstractAction() {
    //         public void actionPerformed(ActionEvent e) {
    //            button.doClick();
    //   public void uninstallUI(JComponent c) {
    //      super.uninstallUI(c);
    //      JButton button = (JButton) c;
    //      button.getInputMap().remove( spaceKeyStroke );
    //      button.getActionMap().remove( "buttonexample.pressed" );
    }

    here is the code used to change the current look and feel :
    try {
                   UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel");
             catch (InstantiationException e)
                  System.out.println("Error occured  "+ e.toString());
             catch (ClassNotFoundException e)
                  System.out.println("Error occured  "+ e.toString());
             catch (UnsupportedLookAndFeelException e)
                  System.out.println("Error occured  "+ e.toString());
             catch (IllegalAccessException e)
                  System.out.println("Error occured in .. " + e.toString());
             Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
             Fenetre fen = new Fenetre();
             fen.setSize(dim.width, dim.height);
             fen.setResizable(false);
                 fen.setLocation(0, 0);
                  fen.setVisible(true);

  • Problem setting look and feel

    It seems like I'm not able to change the windows xp look and feel, I'm using this code to change it but nothing happens, the window comes out with windows LAF:
    " public static void main(String[] args)
    try {
    UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
    } catch (Exception e) { System.out.println(e.getMessage()); }
    new Ventana();
    Maybe... Am I missing some code? or a specific class needs to be downloaded?
    I'd apreciate any help

    That was not the problem, but thank you...
    I finally noticed the problem, what I was trying to do was actually done by writting this:
    JComponent.setDefaultLookAndFeelDecorated(true);
    Sets the OceanTheme feel on, but I noticed that when you try to use it with a Jdialog and a JFileChooser you get some ugly colors. Orange/Brown with JDialogs and Green with JFileChoosers. Is this a bug or it's ment to do that?
    Does somebody know how to fix it?
    Thanks for your support

  • NetBeans: Dinamically changing Look and Feel Problem

    Hi there, Java lovers.
    I need some help here!
    I love java, and I used to program my graphical user interfaces by hand. In my applications, there is a dropdown for the user to chose the desired look and feel. Then I save the selected option to a file and on the startup I do something like this:
                UIManager.setLookAndFeel(savedUserSelectedLookAndFeel);That always worked really fine. The look and feel would change and everything worked really well.
    However, programing GUI by hand is really a PITA. So I was seduced by Netbeans. I am using Netbeans 6.0 on Windows XP, and I designed the GUIs really fast now.
    The problem is, the system look and feel works really well, but when I change the look and feel of my application to a different one (Java/Motif/etc..) the look and feel changes but the components positions and sizes becomes all messed up. It really becomes impossible to work with a different look and feel because some components are outside of frames.
    I believe the cause of this is because Netbeans generates the code automatically using Grids and stuff like that, and by doing so, the change of the look and feel becomes messed up. This is a thing that would not happen with my manually created code.
    This is really troubling me. Does someone has the same problem. Is there something I can do? Or do I need to create my GUIs by hand like before?

    Oyashiro-sama (少し日本語を知っているし、そんな「様」っていう使い方はちょっと変そうですね (^_-) 「冗談」っていう顔文字です。)
    Sorry for the delay in reply, but one problem for you is that this is not a NetBeans users forum, thus you will not necessarily receive speedy replies here to your NetBeans questions. The best place to send NetBeans questions is:
    [email protected]
    [email protected] (for NetBeans API issues)
    As for your question, you seem to already know quite a bit about NetBeans UI Look and Feel programming, but have you seen these:
    WORKING WITH SWING LOOK AND FEEL:
    http://java.sun.com/developer/JDCTechTips/2004/tt0309.html#1
    Java GUI Swing Programming Using NetBeans 5 (should apply to NetBeans 6):
    http://wiki.netbeans.org/JavaGUISwingProgrammingUsingNetBeans5
    Regards,
    -Brad Mayer

  • How can I include a JSP, Maximized, and retain look and feel(WSRP)

    I have created a page group and defined a root page with a certain look and feel. There are two portlets on the page. Once the user clicks on a submit button, the portlet performs some action and includes a jsp included in the EAR file. The portlet needs to maximize the UI to display the jsp correctly.
    Once control returns back to the screen, the look and feel is lost and uses Oracle's default style. I have two questions:
    1. From the portlet, how can I retain the look and feel of the page group when referencing "external" jsp (i.e JSPs in the deployed portal EAR file).
    2. How can I "redirect" the user to the home page in a standard way? If there is not a standard way, how do I use the Oracle specific utilities to do it?
    All of my JSPs are developed externally out of the scope of the Oracle Portal.
    Environment - Oracle Portal 10.1.4 on Release 2 using WSRP to contact Oracle Release 3, hosted EAR file (WSRP Producer).
    Thanks in advance.

    Hi José,
    I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
    Regards,
    Guru.
    PS: Give points for helpful replies.

  • Change XP Look and Feel Rollover Highlight Color

    Is it possible to change the orange rollover highlight color that is used in the Windows XP Look and Feel? If so, how? I want to change it in once place and see the results on every component in my application.

    By the way, I'm using 1.5

  • Swing: Look and Feel

    I've found this page with a nice look and feel:
    https://substance.dev.java.net/docs/skins.html#CremeSkin
    But I can't use it.
    I import this:
    import org.jvnet.substance.skin.SubstanceCremeLookAndFeel;
    And do this:
    UIManager.setLookAndFeel(new SubstanceCremeLookAndFeel());
    But the import-libary are not correct. Hope somebody can help me! I'm using netBeans.

    you can add LAF without changing of code. Start app from command line like this
    @call set_classpath.bat
    @set classpath=../../laf/substance.jar;%classpath%
    @java -Dswing.defaultlaf=org.jvnet.substance.SubstanceLookAndFeel myPkg.myApp
    see quick review of LAF's - http://sss1024.googlepages.com/

  • Can i perform SDK 7 Compilation while maintaining SDK6 look and feel for my App

    In our organization we test the App using visual specs and our existing visual specs are aligned with SDK 6 look and feel. When i compile my app with SDK 7 the visual display of the App changes completely and is no longer in sync with the visual specs used for testing. As SDK 7 compilation is a mandate for post Feb 1 submission, is it possible to compile the code with SDK 7 while maintaining SDK 6 visual look and feel?

    What i am actually trying to do is to maintain the existing SDK6 UI Look and Feel on iOS7. Apple has issued a mandate to have all Apps compiled with SDK7 for App Store submission post Feb1, 2014. If i compile with SDK7, even if i set the deployment target as iOS6, when my app runs on iOS7 it will have the new Apple's iOS7 look and feel. How can i accomplish this?

  • HAP_DOCUMENT look and feel change

    Guys,
    We have designed a ZHAP_DOCUMENT which is running fine when we run from portal with user defined look and feel. However, when the Manager gets a notification in UWL and he uses the link to execute the application(i.e. a workflow getting triggered in the background), Manager sees the display unlike portal which is quite relevant to SAP standard look and feel.
    What should we be doing to change the display in Workflow?
    Let me know if you guys need further details.
    Cheers,
    Kunjal

    Not answered

Maybe you are looking for