Menu look n feel -- mouse rollover effect.

I am trying to get my menu listen to mouse events without going through the hassal of creating all the mouse listener objects (I've done that before, think that was a dumb way of doing java UI). Anyway, my search on this forum returns little result.
My questions is: how can you get the same menu bar effect in Nestcape or any File Editors without a few hundred lines of code in Java.
fireMouseDragMouseEntered()? Example?
Thanks!

What functionality are you looking for? The menus in Java do respond to the mouse. If you move the mouse to the menu and click it will open and you can select an Item and it will create an ActionEvent. Are you trying to get the menu to automatically open when you move the mouse over it?
If you want the menu to automatically open then you are going to have to do a lot of coding to do to override the default functionality of how the menus work.

Similar Messages

  • Menu Rollover Effects... please help

    I'm trying to make a menu that does sort of a cover-up slide
    motion, and text raising effect when the mouse moves over it.
    I've got the movie clips finished, and they do what I need
    them to, but when I preview my project, the animation/effect
    continuously runs, rather than just running during mouse rollover.
    I'm assuming it's either a problem with my invisible buttons, or my
    action script, but honestly I don't even know where to start. I've
    started over from scratch at least 13 times now, and still I can't
    figure this thing out. Any advice would be greatly appreciated,
    thanks.

    first, put a stop() action on the first frame and last frame
    of the MC. then use gotoAndPlay(2) in a onRollOver handler, the MC
    will then play though once and stop at the end. then in the
    onRollOut handler use gotoAndStop(1); to reset the animation to the
    begining.

  • How to change the look and feel for Heading of quick launch menu in project server 2010

    Hi
    can someone tell me how to change the look and feel of Header names in quick launch.
    I want the header to be displayed in Bold with Underline to it.
    could this be possible for just header in quick launch in project server 2010. 

    Hi Rohan
    It does not work this way. You have to use a content editor webpart.
    See references below that might help you starting with this customisation:
    Http://go4answers.webhost4life.com/Example/sharepoint-2010-quick-launch-look-feel-78379.aspx
    Http://m.sharepointpromag.com/sharepoint/four-ways-add-or-remove-quick-launch-menu-control
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • 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

  • Using menu to update look and feel

    Hi all,
    I am trying to update the look and feel of my application.
    In the main method I set the look and feel to metal.However, I have created a menu with an option to change the look and feel at runtime. I want the user to be able to just select the required look, e.g. Windows,on the drop down menu and then have the application updated.
    I know that the following does not work:
    void jMenuItem10_actionPerformed(ActionEvent exc) {
    try {
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    this.repaint();
    catch(Exception excs) {
    excs.printStackTrace();
    Am I miles away from the correct solution or am I nearly there? All help gratefully received.
    Regards.

    After UIManager.setLookAndFeel() add this row:
    SwingUtilities.updateComponentTreeUI(this);
    I don't think you need this.repaint();
    Hope this will help you!

  • One more nugget: Chart zoom with the "Mouse Over" effect

    Hello all.
    Just read my signature first, it might explain a lot. I do not intend to compete with Darren and I don't think this "nugget" (at least it supposed to be one) will amaze any of the LV veterans and this forum is rich of them. But maybe it will bring some new ideas to some of you or maybe it will be useful for some LV beginners (like me). It is very likely, my code will have some lapses, but please be gentle pointing that out to me. If you feel a need, you can always optimize the code and develope it further. Just don't forget to share!
    So back to the point.
    I am developing a project using LV. In my program there is a waveform chart which has to show 4 plots. Depending on the length of the X Scale, it sometimes gets hard to see the plots clearly because of their density.So I decided that I need a tool, which would zoom the chart in. And this is what I have came up with after a few "Google" searches to check which part of the bike is already invented and also a bit of programming by myself. 
    Maybe you guys (at least the veterans) know the BetterVIEW Consulting LV example where they have implemented the Mouse Over effect. So a part of their example has been used in this tool and part of the credit must go to them. I thank them a lot
    This tool uses a cluster and its property of visibility to show/hide the cluster depending on if the current position of the mouse cursor is in the desired range or not. The program also gets the image of the chart and returns the subset of the image. The subset is taken for the area arounf the mouse cursor. So if you move the mouse, the zoomed in area will also chage in response. After that, the subset of the image is zoomed in for better view. 
    The user might chage the zoom factor during the execution. Also it is possible to turn the zoom option On or Off if you don't wish to see it for the moment. 
    This is how the front panel looks like:
    And this is the image of the block diagram (see the attached files for the vi, the VI Snippet tool distorts the code too much, so I haven't added it):
    I haven't found anything the same in the forum. Yet I'm a newbie here and I don't have that much experience surfing it. If it wouldn't be something new (in the forum, not necessarily to some of you personally), just ignore the thread. I hope this was worth your time and your attention. 
    Good coding
    Message Edited by Giedrius.S on 02-11-2010 12:46 PM
    While evaluating my code please have in mind that I am a LV novice. Therefore sometimes my code might violate some coding rules that I have to learn about myself. But how else could I do that...
    Chart zoom with "Mouse Over" effect
    Attachments:
    Zoom.vi ‏198 KB
    Mouse_pos.vi ‏20 KB
    Check_pos.vi ‏18 KB

    Very nice Giedrius.
    It takes guts to "step up to the chalk board" so I will do what i can to give you some ideas to think about. This is similar to the type of feedback I offer durring our in-house code reviews.
    1) The floating property nodes outside the loop are not sequenced by wires so they could execute after the loop starts. Sometimes this could cause weird errors. Seq with the error cluster.
    2) Property nodes can be re-sized so you can apply more than one property setting in the same call. Property node have to execute in the UI thread (which is single threaded) so using a single nodes will force a single context switch rather than one for each.
    3) Setting the same property repeatedly in a loop just burns CPU. THe Scale min for both X an Y can be moved outside the loop ?
    4) THe Wait Until Next ms" function does not get used in any of my code. It is not a way to get a fixed wait but rather a random wait. If you code completes 1 ms after the next multiple, the delay is double less 1 ms. If you have multiple loops using them and it f the delay for each are not unique prime numbers, then the "Wait until next ms multiple" is a good (cough cough) way of getting them all to wake up at the same time and fight for the CPU.
    5)An Event Struture to monitor mouse enter/leave and mouse move (this would have to be a sepearte loop) is easier on the CPU than polling.
    6) Is that math in the case to handle the Chart position on the FP? If so then using the property nodes for the chart to find its postion will let you code adapt to GUI changes.
    7) Right to left wires are not well recieved.
    8) A Bundle by Name is prefered over a "Bundle" since it is self documenting. I know the Picture function so I can see that is the rectangle you are specifying but reader not famliar with that function would not be able to "READ" the code without poking at it.
    9) THe event structure would also help with setting the Zoom factor. Only poke it when you have to.
    That is all that comes to mind at the moment.
    Again thank you!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • 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

  • CSS rollover effects

    Hello,
    So I've been playing with muse since the beginning basically. A feature that would be greatly appreciated by me and probably the whole community would be CSS rollover effects. I know that there's states and all that, but I feel like that just uhhh kind of dull in a way. They work but there's only so much you can do. I know you can kind of make something in edge animate but that can get complicated for those who are not familiar and frankly uncomfortably with code (like myself). So I'm wondering in the next update if the Muse team can Add some sort of preset of CSS rollover effects to Muse.
    For example you would be able to make a menu or a gallery, Then you could click the thing you wanted to add the effect to, then could select what style of effect you wanted. If that makes sense..I'm not the greatest at explaing things via type.
    http://thecodeplayer.com/walkthrough/simple-hover-effects-with-css3-filters  <----- That is just an example of photo/gallerly effects that would be sweet if Muse could implimnet. As of now i cant find a good site for text rollover effects.
    Cheers
    -Ben

    I do not understand what you mean with "the rollover will extend the full width of the background"
    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • Changing the primary colors for Look N Feel

    We have an application that has a menu option to change the look n feel, currently using 4 or so of the standard ones. We are trying to change some of the colors to create a new skin / feel approp for our company.
    -- partial excerpt.
    look = "WHICHEVER";
    UIManager.setLookAndFeel(look);
    UIManager.put("Panel.background", new Color(191, 98, 4));
    // This does green in Metal only.
    UIManager.put("MenuBar.background", new Color(115, 164, 209));
    SwingUtilities.updateComponentTreeUI(root); Two issues I have are:
    1. According to this-
    http://www.jasperpotts.com/blog/2008/08/nimbus-uimanager-uidefaults/
    "Colors in Nimbus are derived, which means there are a core set of colors which are constants and all the other colors are calculated from those. This means you can simply change those and the 1000s of other colors that are related and used in the painters will update to reflect the new base color."
    But so far I am unable to change one fo the primary colors and have it noticably effect the other component colors.
    2. After changing the look and feel using the above snippet, it changes the look and feel immediatly, but it does not change the colors at that time, if I then switch to another look n feel, it shows the colors, and if I go back to Nimbus the colors are now changed as well.
    Thanks,
    [email protected]

    "Colors in Nimbus are derived, which means there are a core set of colors which are constants and all the other colors are calculated from those. This means you can simply change those and the 1000s of other colors that are related and used in the painters will update to reflect the new base color."Thanks for this info, it was new for me :-)
    But so far I am unable to change one fo the primary colors and have it noticably effect the other component colors.I recommend you use camickr's great utility UIManagerDefaults to know the nimbus' basic colors:
    You can find the utility here: [http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/]
    In that utility, change the look and feel to Nimbus, choose *'By Value Type'* radio button and select *'color'* in the combo box, all the default colors would be displayed, search for colors which appear to be basic colors ( not DerivedColor type )
    Using that utility, I found some basic colors that are really changing the look and feel e.g.
    nimbusBase, nimbusGreen, nimbusRed, nimbusOrange, etc.
    e.g. Try:
    UIManager.put("nimbusBase", new ColorUIResource(new Color(100,50,150)));Thanks!

  • Menu MovieClip to follow mouse

    Hi there,
    I think my previous post lost anyone who read it, thus no
    responses. I will try and explain it more clearly.
    If u look at this site www.douglasfisher.co.uk and click on
    "portfolio" and then one of the images he has a mouse following
    menu thats works really well - how can I create that!!?
    I can manage to make a similar menu that follows the mouse
    well, the problem I have is when the user rolls off the MC from the
    right or bottom - the MC keeps sticking as the mouse re-enters the
    MC
    Any help would be greatly appreciated.
    Mark

    Thanks for getting back kglad.
    As I said in my first post - I can get the movie clips
    movements working just fine - its a problem with turning on and off
    the rollover coding. Can anyone else shed light on to what I need
    to do, been trying to work it out 4 days now

  • Problem with java look and feel

    Hi! This is my first time posting here. Do apologize me if I am not familiar with the regulations here. Thanks!
    Currently, I am developing a project using NetBeans IDE. It is using RMI, and some basic UI. I am facing the following error when I tried applying the java look and feel code. Please see below for the code used and the error message.
    try {   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    } catch (Exception e) { }
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.plaf.ColorUIResource cannot be cast to java.util.List
    at javax.swing.plaf.metal.MetalUtils.drawGradient(MetalUtils.java:196)
    at javax.swing.plaf.metal.MetalInternalFrameTitlePane.paintComponent(MetalInternalFrameTitlePane.java:384)
    at javax.swing.JComponent.paint(JComponent.java:1027)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
    at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
    at javax.swing.JComponent.paint(JComponent.java:1013)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
    at java.awt.Container.paint(Container.java:1797)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:734)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Java Result: 1

    Thanks for everyone's help!
    Below is the executable code generated using NetBeans which is enough to generate the error message. Sometimes you can get the error message just by running the program. Sometimes the error will occur when you go into the Menu and click on Item.
    * NewJFrame.java
    * Created on January 8, 2008, 1:11 PM
    package client;
    import javax.swing.UIManager;
    * @author  Yang
    public class NewJFrame extends javax.swing.JFrame {
        /** Creates new form NewJFrame */
        public NewJFrame() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            jDesktopPane1 = new javax.swing.JDesktopPane();
            jInternalFrame1 = new javax.swing.JInternalFrame();
            jMenuBar1 = new javax.swing.JMenuBar();
            jMenu1 = new javax.swing.JMenu();
            jMenuItem1 = new javax.swing.JMenuItem();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            javax.swing.GroupLayout jInternalFrame1Layout = new javax.swing.GroupLayout(jInternalFrame1.getContentPane());
            jInternalFrame1.getContentPane().setLayout(jInternalFrame1Layout);
            jInternalFrame1Layout.setHorizontalGroup(
                jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 190, Short.MAX_VALUE)
            jInternalFrame1Layout.setVerticalGroup(
                jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 95, Short.MAX_VALUE)
            jInternalFrame1.setBounds(80, 40, 200, 130);
            jDesktopPane1.add(jInternalFrame1, javax.swing.JLayeredPane.DEFAULT_LAYER);
            jMenu1.setText("Menu");
            jMenuItem1.setText("Item");
            jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jMenuItem1ActionPerformed(evt);
            jMenu1.add(jMenuItem1);
            jMenuBar1.add(jMenu1);
            setJMenuBar(jMenuBar1);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 484, Short.MAX_VALUE)
                    .addGap(20, 20, 20))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 279, Short.MAX_VALUE)
            pack();
        }// </editor-fold>                       
        private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {                                          
    // TODO add your handling code here:
            jInternalFrame1.setVisible(true);
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            } catch (Exception e) {
                e.printStackTrace();
        // Variables declaration - do not modify                    
        private javax.swing.JDesktopPane jDesktopPane1;
        private javax.swing.JInternalFrame jInternalFrame1;
        private javax.swing.JMenu jMenu1;
        private javax.swing.JMenuBar jMenuBar1;
        private javax.swing.JMenuItem jMenuItem1;
        // End of variables declaration                  
    }Edited by: Boxie on Jan 7, 2008 11:23 PM

  • How to give BSP Iview look and feel of portal??

    Hi All,
    I've created a BSP application that I use to create an Iview for portal.
    I thought that if i used htmlb tags that the look and feel of portal would be automatic to my app but its not.
    I've tried assigning portal css classes to a html table but there's no effect.
    I've previewed one of the standard ivews and viewed the source and found the path of the css file.  But when i looked for it on the server, while the out folder was there (com.sap.portal.design.portaldesigndata) , there was no css files in this folder.
    So i'm at a loss.  In summary, how do i get my bsp app to have the portal look and feel?????  I would prefer to use the css files so that if any changes are made to the standard, the changes will be reflected in my custom iviews too.
    Any help, would be most welcome,
    Liz.

    Hi Liz,
    on the properties tab for the BSP application try selecting the "Supports Portal Integration" checkbox.
    Cheers
    Graham Robbo

  • Open a crystal report on B1 look in feel

    There's a way to open a crystal report on B1 look in feel?
    In SAP B1 8.8 we have a way to open a external crystal file. In menu Tolls >> Preview External Crystal Reports File, you inform the file and the report will open in a SAP B1 form.
    I need open a report from my add-on, and I'll wish make this way.
    any suggestions?
    Regards!

    Hi
    You can use Report and Layout Manger for uploading reports in SAP B1 Administration>Setup>General--->Report And Layout manager. Try this link for displaying report from your addon
    Possible solution: Open Crystal Reports Print Layout from UDO form
    Hope this helps
    Regards
    Arun

  • Jquery zoom plugin that shows images above the zoomed image on mouse rollover

    Hi all, after much effort and help from this forum I've managed to get a zoom effect to work on my image. It needed to be a loupe effect like this - http://www.dailycoding.com/Posts/imagelens__a_jquery_plugin_for_lens_effect_image_zooming. aspx
    This is the plugin I've used.
    Problem now is that I need images to appear above the image on mouse rollover. Currently - if I place images above this image and place my cursor over the image the zoom effect works but it ignores the images placed on top and just zooms in on the image shown below.
    I would be very appreciative of anyone who can help me with this issue.
    Thanks.
    I wondered if it was possible to stop the jquery zoom plugin working when I mouseover the image on top of the map. Maybe that would be a solution?

    > the image I have above the roll over I have just
    > inserted shows the image that should be shown when I
    roll over the image I
    > have
    > just inserted
    url address please. words will not work for this.
    random guess- check that the name and/or ID of every item on
    the page is
    unique.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Tweak Javas Look and Feel

    Hello everybody,
    just wondering if you can help me here, I want to tweak the Look and Feel of some of the objects within a program such a menu backgrounds etc. I think that I am the right lines with this but it does not appear to do anything
    I have a class which is called DefaultDEFTheme in this I am declaring the following lines:
    public ColorUIResource getRedBackground()/*Could this be problem because getRedBackground does not exist?*/
    return new ColorUIResource(255, 0, 0);
    Then I have a class that is called DEFLookandFeel and I want to set the colors in the UIDefaults table, so for instance this is the code if I wanted to change the menu background
    protected void initSystemColorDefaults(UIDefaults table)
    Object[] systemColors = {
    "desktop", getDesktopColor(), /* Color of the desktop background */
    "activeCaption", getWindowTitleBackground(), /* Color for captions (title bars) when they are active. */
    "activeCaptionText", getWindowTitleForeground(), /* Text color for text in captions (title bars). */
    "activeCaptionBorder", getPrimaryControlShadow(), /* Border color for caption (title bar) window borders. */
    "inactiveCaption", getWindowTitleInactiveBackground(), /* Color for captions (title bars) when not active. */
    "inactiveCaptionText", getWindowTitleInactiveForeground(), /* Text color for text in inactive captions (title bars). */
    "inactiveCaptionBorder", getControlShadow(), /* Border color for inactive caption (title bar) window borders. */
    "window", getWindowBackground(), /* Default color for the interior of windows */
    "windowBorder", getControl(), /* ??? */
    "windowText", getUserTextColor(), /* ??? */
    "menu", getMenuBackground(), /* Background color for menus, I am right in presuming this does not change? */
    "menuText", getMenuForeground(), /* Text color for menus */
    "text", getWindowBackground(), /* Text background color */
    "textText", getUserTextColor(), /* Text foreground color */
    "textHighlight", getTextHighlightColor(), /* Text background color when selected */
    "textHighlightText", getHighlightedTextColor(), /* Text color when selected */
    "textInactiveText", getInactiveSystemTextColor(), /* Text color when disabled */
    "control", getControl(), /* Default color for controls (buttons, sliders, etc) */
    "controlText", getControlTextColor(), /* Default color for text in controls */
    "controlHighlight", getControlHighlight(), /* Specular highlight (opposite of the shadow) */
    "controlLtHighlight", getControlHighlight(), /* Highlight color for controls */
    "controlShadow", getControlShadow(), /* Shadow color for controls */
    "controlDkShadow", getControlDarkShadow(), /* Dark shadow color for controls */
    "scrollbar", getControl(), /* Scrollbar background (usually the "track") */
    "info", getPrimaryControl(), /* ToolTip Background */
    "infoText", getPrimaryControlInfo() /* ToolTip Text */
    for (int i = 0; i < systemColors.length; i += 2)
    table.put( (String) systemColors, systemColors[i + 1]);
    UIManager.put("Button.select", getButtonSelectColor());
    // Set the color for selected button */
    UIManager.put("Button.background", getButtonBackground());
    /* Set the color for selected button */
    UIManager.put("Menu.background", getRedBackground());
    /* Set the color for the menu to red background*/
    Then further on I set this:
    public static ColorUIResource getRedBackground(){ return getCurrentTheme().getRedBackground(); }
    But i have left in the getMenuBackground above it, I have also tried to take it out but nothing happens.
    I also have a class called DEFTheme and in this I declare the following
    public ColorUIResource getRedBackground()
    return new ColorUIResource(255, 0, 0 );
    Yet after changing all of this nothing ever happens. Am I going about this the completley wrong way ie should I change the colors in the DEFTheme and thats it?
    Please please help, this is becoming a real problem and I cannot find any relevant resources!!
    Thanks so much in advance,
    Z.

    Yes, its a crosspost, but this is the correct forum since this a Swing related question. Your crosspost comment belongs in the other forum.
    Check out this article:
    http://www.javareference.com/jrexamples/viewexample.jsp?id=66

Maybe you are looking for