Process Train Component Look and Feel

I am extending the minimal skin for a project but want to retain the look and feel for default oracle rendered process train. However all I am getting is textual links for the process train.
Please can you tell me how to re-create the graphical (O-O-O) aspect of the process train?

I couldn't get the lines between the 'station' icons, but by playing with the border attribute I can get something that looks acceptable, but not the same. The line runs above the 'station' icons, not between. MyApp has a grey background, so the colors may look a bit odd and the arrow images I got from /usr/share/icons/crystalsvg/16x16/actions. It's not what you wanted but it's the best I could come up with:
.AFTrainStation:alias{
  border-top-style:solid;
  border-top-width: 5px;
  padding-top: 30px;
  padding-right: 4px;
  padding-left: 4px;
af|processTrain::visited{
  background-image: url(/MyApp/skins/MySkin/images/1leftarrow.png);
  background-position: top center;
  background-repeat: no-repeat;
  border-top-style: ridge;
  border-top-color: #33F8FF;
af|processTrain::unvisited{
  background-image: url(/MyApp/skins/MySkin/images/1rightarrow.png);
  background-position: top center;
  background-repeat: no-repeat;
  border-top-style: ridge;
  border-top-color: #3EA2FF;
af|processTrain::active{
  background-image: url(/MyApp/skins/MySkin/images/1downarrow.png);
  background-position: top center;
  background-repeat: no-repeat;
  border-top-style: groove;
  border-top-color: #9FF4FF;
af|processTrain::disabled{
  background-image: url(/MyApp/skins/MySkin/images/button_cancel.png);
  background-position: top center;
  background-repeat: no-repeat;
af|processTrain::visited-link {
  color: #ffffff;
af|processTrain::unvisited-link {
  color: #ffffff;
af|processTrain::sub-start{
  border-color:#336699;
  border-style:solid;
  border-width:2px 2px 0px 0px;
  padding:0pt
af|processTrain::sub-end{
  border-color:#336699;
  border-style:solid;
  border-width:2px 0px 0px 2px;
  padding:0pt

Similar Messages

  • How can I include a portal component look and feel in a java servlet

    Does any body know how can i include a portal component look and feel (tables, buttons, etc) in a java servlet?

    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.

  • Changing look and feel for one INSTANCE of a component

    I am trying to change the look and feel of just ONE instance of a component. In particular, I want to change the color of the JScrollBar thumb on a certain JScrollPane. I want this change to not affect any other component, either before or after. How can I do this?? Any help would be much appreciated.
    AC

    Hi acalvin3!
    I have a solution. Use the UIManagers database. You should overwrite the default settings for the resource you want to change, the code is self explaining:
          UIManager.put( "Button.margin", commonMargin );
          UIManager.put( "Button.focusInputMap", commonInputMap );
          UIManager.put( "Button.font", buttonFont );To reset values you only have to use
          UIManager.put( "Button.margin", null );
          UIManager.put( "Button.focusInputMap", null );
          UIManager.put( "Button.font", null );Set values before you create your component and reset values immedeately after you created your component, otherwise you may affect other components too.
    With following code you can find out default values for the whole UIManagers database:
          Hashtable defaultProps = UIManager.getDefaults();
          Enumeration enum = defaultProps.keys();
          while (enum.hasMoreElements()) {
             Object key = enum.nextElement();
             System.out.println( "key: '" + key + "'\t value: '" + defaultProps.get(key) + "'" );
          }You just have to look for the output for the component you want to change the look and feel.
    Have fun...

  • Notification center look and feel

    The new notification center look and feel seems quite unlike the rest of the iPhone.
    Most of the iPhone has a light colored, rounded, kind of comfortable look. But the new notification center has a much more dark, angular look. (To me, it looks more like an Android app than an iOS component.)
    Any chance it can be rebranded? Or failing that, any chance of a settings option to customise the background image, so I can at least change from the dark "linen" texture to a wallpaper of my choice? (e.g. it might look much nicer (to me!) if I could change it to use the default iPhone water drops background). The slide down button itself (the bit of the notification center graphics which appears on screen, even in full-screen mode, if you make the 'wrong' move) could be much more rounded, as well.
    Mike

    iOs 5 in general looks and feels awkward to me.  It feels cheap and not at all as polished as Apple's products have been in the past.  The alarms have new colors for no apparent reason, the text messages have colors for no apparent reason, the notification center has a distracting texture, again, for no reason... Yet none of these colors or textures are configurable or removable.  What was the point exactly?
    This theme shift is quite discouraging in the grand scheme of things.  It doesn't bother me much, but I definitely prefered the way my phone looked when I bought it.

  • 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

  • HELP !! XP look and feel ...

    how can i make my frame have an XP look and feel ??????
    please help me in details , cause i haven't done this look and feel thing before ??? thanks in advance ..

    You need to change to the windows LnF which is not the default. The
    following code will do it for you. Note that it will only work if your
    using Windows XP.
    * LookAndFeel.java
    public class LookAndFeel {
        public static final String MAC_CLASS = "com.sun.java.swing.plaf.mac.MacLookAndFeel";
        public static final String METAL_CLASS = "javax.swing.plaf.metal.MetalLookAndFeel";
        public static final String MOTIF_CLASS = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
        public static final String WINDOWS_CLASS = "com.sun.java.swing.plaf.windows.WindowsLookAndFeel";
        public static final String GTK_CLASS = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
        public static final String KUNSTSTOFF_CLASS = "com.incors.plaf.kunststoff.KunststoffLookAndFeel";
        public static boolean updateLookAndFeel(String currentLookAndFeel, java.awt.Component parent) {
         try {
             javax.swing.UIManager.setLookAndFeel(currentLookAndFeel);
                if(parent != null) {
                    javax.swing.SwingUtilities.updateComponentTreeUI(parent);
         } catch(Exception ex) {
             System.out.println(ex);
                return false;
            return true;
    }To get it to work do the following:
        LookAndFeel.updateLookAndFeel(LookAndFeel.WINDOWS_CLASS, this);where this represents your JWindow or JFrame.
    Hope it helps.
    James.

  • BSP - Look and Feel / Theme

    Good Morning All,
    disclaimer: I checked the blogs, I checked the discussions, I checked the examples, I checked the doco - and couldn't find the answer to my question.
    Question:
    I've already seen it, but can't remember where it is, does anyone know the name of the BSP Sample/Example which comes with the WAS which has the EP6 look and feel ?
    I saw it a few weeks ago and I can't find it now and I want to study the code from it to make my app have a nicer look and feel.
    Note: I read Thomas's blog on - 'A developer's Journal Part VI
    and although that example discussed what I am interested in I couldn't see examples in the code of creating the header bar etc, maybe it's just me, but at the moment that's what I would like to achieve and to do it by example.
    So to conclude if anyone knows / can remember the name of the BSP example which has an EP6 look and feel please let me know so that I can study it for inspiration.
    Thanks very much,
    Milan.

    Hallo Milan,
    I think that you are doing good. It is always the best to follow a small mix of documentation reading and practical work. So let me tell you the minimum to get a first version working. Thereafter to can continue reading!
    Problem: we want to implement a simple link tag (in 15 minutes!) that works like this:
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <%@extension name="bcm06" prefix="bcm06"%>
    <htmlb:content design="design2003">
      <htmlb:page>
          <b><bcm06:simpleLink href="http://www.sap.com">
              SAP Home Page!
          </bcm06:simpleLink></b>
      </htmlb:page>
    </htmlb:content>
    In SE80 we defined a new BSP library bcm06. We define a new element simpleLink. Typical handler class name will be CL_BCM06_SIMPLELINK (just the convention we use).  As body this tag can contain other HTML and also over BSP elements (we want to just render a link around all of body). We don't worry about the rest of the checkboxes. They will become interesting later on.
    We activate the library. The workbench will detect that no handler class exists, and will generate all of the stuff we need. Now already the tag is full functional, and can be used on any BSP page. It just will not do anything.
    What was generated? The class inheritance diagram is as follow: CL_BCM06_SIMPLELINK --> CL<b>G</b>_BCM06_SIMPLELINK --> CL_BSP_ELEMENT.
    The class CL_BSP_ELEMENT is the base class, and it contains a lot of interesting functionality. None of which we worry about now. Never try to change it!
    The class CL<b>G</b>_BCM06_SIMPLELINK (note that CLG<b></b>_!) is generated new each and everytime that you touch the definition of the tag. Effectively all the defined attributes are generated onto this class, so that they are already of the correct type, and that this information is always in sync. This means that all your tag defined attributes are directly attributes on your class. In our case, the defined "href" attribute (type string) is now an attribute on the CLG class.
    The last class CL_BCM06_SIMPLELINK will only be generated once if it does not exist. This is the class where you work. In this class there are two methods that are interesting to you at this moment. Later you will learn about the rest.
    DO_AT_BEGINNING: This method is called effectively in response to the <lib:tag> sequence. This is the code that executes before the body. This is the place where we would like to render out "<a href=...>" sequence.
    DO_AT_END: This method is called effectively at the end of the tag, when the </lib:tag> is seen. The body has now already been processed and sent onto the output stream. So we only need to render "</a>".
    Note that these methods are implemented empty. You <b><u>*MUST*</u></b> overwrite them, and implement them in your class. See instructions from Thomas. Source code:
    <b>METHOD if_bsp_element~do_at_beginning.</b>
      DATA: html TYPE string.
      CONCATENATE `<a href="` me->href `">` INTO html.
      me->print_string( html ).
      rc = co_element_continue.
    ENDMETHOD.
    <b>METHOD if_bsp_element~do_at_end.</b>
      me->print_string( `</a>` ).
      rc = co_page_continue.
    ENDMETHOD.
    Notice that you DO NOT need that super call. The base method will always be empty (from definition, will never change). You also have a direct PRINT_STRING method in newer SPs. The return code you must set. (To tell the truth, the constants for RC have been picked so perfectly that if you forget them, it should not hurt in 85% of the cases.)
    That is it. Test page. Mine worked!
    Of course, we can start looking at more exotic things, like empty tags, at tags that skip their bodies if not required, processing the body, validation, etc.
    But this overview was just to give you that first success feeling, and also to give you a better framework for understanding more of the documentation as you continue to read.
    Recommended: read <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">Getting Help</a> to see how you can quickly navigate between BSP page and a tag's definition, from where you also quickly get to the implementation class of the tag.
    bye, brian
    PS: Now if this is not already the first page of your weblog done

  • Customisin Look and Feel

    I am still in the process of "finding my feet" when it comes to programming with Java, and as a result need a little guidance.
    Could anyone please tell me of a good place to find information that offers tutorials or good explanations of how to customize the look and feel of JComponents in swing.
    Much appreciated,
    Craig.

    Take a look at the java source code for the SwingSet2 demo that comes with the java plugin...it's exactly what you need.

  • Setting the Brushed Metal look and feel for macs using Java.

    Hello,
    I am relatively new to Java and I am new to Mac-specific java stuff. Anyways, when I try to set the look and feel of my classes to the "apple.awt.brushMetalLook" look and feel, I am unable to. It works if I have System.setProperty("apple.awt.brushMetalLook", "true"); written before I create any swing component. This would be fine, except that means that it is impossible to extend any swing component, such as JFrame or JApplet. Is there a way around this?
    Thanks!

    This might answer your question:
    http://lists.apple.com/archives/Java-dev/2003/Apr/msg00829.html

  • Does java has "Transparent" look and feel?????

    I want to know whether there is a transparent look and feel developed for java,
    if it is there please post an link to download the API
    Thank you very much..

    As far as I know, NO.
    There is a way to do this, using robot to get desktop image and draw it using paint object when you render your component, but, performance is not good.

  • Edit templates and change the look and feel of apex UI

    Hi Friends,
    I am trying to change the look and feel of apex pages(change the alignment,color etc) and try to edit the template
    of apex pages. Please give me links or tutorials that helps to accomplish this,
    Thanks,
    Tj

    Hello Tj,
    You can spend some time on how to create your own Template, but it comes down to design your site in html and then break it into pieces and change the Templates in APEX with that html.
    In that html you use tags e.g. #BOX_BODY# to tell APEX where the forms and reports need to come.
    In the doc there are some explanations too: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/themes.htm#BABBFHJA
    I think the best method is to just try it. Sure we give a course on that too, so it's up to you if you need training on that or the doc/your tries are sufficient or not.
    Once you know how things work you can do pretty much everything.
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/

  • HTMLB or html - when we need full control of look and feel and events

    Hi Experts,
          In my requirement i  need to change the look and feel of the BSP UI as per customer standards and i need to have most of my processing on client side, Please advise me whether to go for HTMLB or normal HTML. mainly i fount most of the client side events are not available in HTMLB....
    Thanks in advance
    Karthik

    Hi Karthik,
    The look and feel of the BSP Tags can be applied via Portal. If you are seeing your BSP application through a protal system, then you can develop a theme inside the portal and apply it to your BSP application. The portal theme will be automatically supported by the HTMLB tags. For more infomation on this you can search in the portal forum section, you will find a lot of post for this topic.
    But if you need a complex customization of the UI controls inside the BSP application, as suggested in the previous post you should go for HTML + Javascript library.
    Hope it is helpful!
    Regards,
    Maheswaran

  • Function to change Boarder Look and feel of Jframe - Not working

    Hi all,
    In the given SSCE, the functionpublic void changeButtonColor(Component[] comps) to change the border look and feel of JFrame is not working.Please help.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.FlowLayout;
    import java.awt.Insets;
    import java.util.Vector;
    import javax.swing.AbstractButton;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JViewport;
    import javax.swing.SwingConstants;
    import javax.swing.UIManager;
    public class ScrollableWrapTest {
        public static void main(String[] args) {
            try {
                final JPanel mainPanel = new JPanel(new WrapScollableLayout(FlowLayout.LEFT, 10, 10));
                mainPanel.setBackground(Color.WHITE);
                JScrollPane pane = new JScrollPane(mainPanel);
                pane.setPreferredSize(new Dimension(320, 200));
                Vector v = new Vector();
                v.add("first");
                JButton button = null;
                for(int i =0;i<v.size();i++){
                        JPanel panel = new JPanel(new BorderLayout());
                        panel.setBackground(Color.WHITE);
                        int num = mainPanel.getComponentCount()+1;
                        button = new JButton("button" + num);
                        button.setPreferredSize(new Dimension(90, 25));
                        JLabel label = new JLabel((String)v.elementAt(i));
                        label.setHorizontalAlignment(SwingConstants.CENTER);
                        panel.add(button, BorderLayout.NORTH);
                        panel.add(label, BorderLayout.SOUTH);
                        mainPanel.add(panel);
                        mainPanel.revalidate();
                ScrollableWrapTest st = new ScrollableWrapTest();
                st.buildGUI(pane);
            } catch (Exception e) {e.printStackTrace();}
        public void buildGUI(JScrollPane scrollPane)
             JFrame frame = new JFrame("Scrollable Wrap Test");
             JFrame.setDefaultLookAndFeelDecorated(true);
            UIManager.put("activeCaption", new javax.swing.plaf.ColorUIResource(Color.LIGHT_GRAY));
            changeButtonColor(frame.getComponents());
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.add(scrollPane, BorderLayout.CENTER);
            frame.setLocationRelativeTo(null);
            frame.pack();
            frame.setVisible(true);
        public void changeButtonColor(Component[] comps)
          for(int x = 0, y = comps.length; x < y; x++)
            if(comps[x] instanceof AbstractButton)
              ((AbstractButton)comps[x]).setBackground(Color.LIGHT_GRAY);
              ((AbstractButton)comps[x]).setBorder(BorderFactory.createLineBorder(Color.LIGHT_GRAY));
            else if (comps[x] instanceof Container)
              changeButtonColor(((Container)comps[x]).getComponents());
        private static class WrapScollableLayout extends FlowLayout {
            public WrapScollableLayout(int align, int hgap, int vgap) {
                super(align, hgap, vgap);
            public Dimension preferredLayoutSize(Container target) {
                synchronized (target.getTreeLock()) {
                    Dimension dim = super.preferredLayoutSize(target);
                    layoutContainer(target);
                    int nmembers = target.getComponentCount();
                    for (int i = 0 ; i < nmembers ; i++) {
                        Component m = target.getComponent(i);
                        if (m.isVisible()) {
                            Dimension d = m.getPreferredSize();
                            dim.height = Math.max(dim.height, d.height + m.getY());
                    if (target.getParent() instanceof JViewport)
                        dim.width = ((JViewport) target.getParent()).getExtentSize().width;
                    Insets insets = target.getInsets();
                    dim.height += insets.top + insets.bottom + getVgap();
                    return dim;
    }Please help.
    Rony

    You are calling changeButtonColor(frame.getComponents()) before you add the JScrollPane to the content pane.
    But why not just move this to the button creation loop?
    button = new JButton("button" + num);
    button.setBackground(Color.LIGHT_GRAY);
    button.setBorder(BorderFactory.createLineBorder(Color.LIGHT_GRAY));

  • Webutil Open File Dialog look and feel

    Webutil all revisions?, Windows NT 4.0/XP.
    The open/save file dialog boxes in webutil are always the same style (Oracle/Motif?) when either the LookandFeel is set to Generic/Windows or Oracle/Motif.
    Is there anyway to change it to always look like Windows Look and Feel?

    Hello,
    One possible way would be to write your own Java Bean component that call the standard openfile dialog, then set the LAF yourself:
       UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
       ...but, I know, this represents some extra work.
    Francois

  • Help on Look-and-Feel of JComboBox

    Can anyone guide me on how to change the look-and-feel and style of a JComboBox? Is it possible? If yes, how?

    I was wondering about that myself... I want to change the look of a combobox, or any other component. I think I should do it with the following code
    public static void setLookAndFeel(String�className)
    but I don't know what className to use. If I am not mistaken it should be the name of the class that implements the Look and Feel, please help!

Maybe you are looking for

  • How to use one dataTable to dynamically assign different values?

    For example, there is only one popup window that contains one dataTable. For every commandButton that calls this popup window will result in different dataTables. How to do that? Thank you.

  • Itunes library doesn't show all the music on the ipod

    Hello, My daughter's ipod version 6.1.6 shows that there should be 800 songs on her device. We plugged into the pc and the itunes menu showed this but when you go to the ipod itself and access the information that is on the ipod in the About section

  • JSP - Dynamic Table Data

    Hi all. I have this problem for some time now. I need to show data as soon as I retrieve it from database. The code I'm using is as follows: private boolean constructUiDynamically() {         Table table                  = null;         TableRowGroup

  • Source Files Vs. Generated Files

    I inadvertenly copied some files to my source directory that were wrong. Since I knew I had the correct files in the generated copy, I copied these files back to my source files. Now my formatting is not right. Is there an easy way to fix this? Helpa

  • Approval document in cProjects 4.0 through Smartforms

    Hi all, Is there any way to manage approval documents in cProjects through smart forms instead of Adobe Server (AIF)? If so, is there any documentation for configuring it that way? Thank you very much in advance! Kind regards, Isabel