Custom L&F with Shadow effect for Menus & Tooltips

Hai friends !
I want to design a custom look and feel with shadow effect for menus
and tooltips. Pls help me....
I tried following but..
i) Extended abstract border....
ii)Extends ColorUIResource to support "alpha"
iii)setOpaque(false) in installUI() method
Event hough I used transperent color for border the underlying color of
component is displaying at the corners.

I don't think there's anything you can do with the Tooltips, because the only methods I see that have to do with the tooltips are setTooltipText and getTooltipText..
But, you can do transparent borders, and here's some code that shows you how to do it. This doesn't do exactly what you want, but you should be able to get there.
import javax.swing.*;      
import javax.swing.border.*;  
import java.awt.*;
public class BorderTest extends JFrame {
   JPanel panel;
   JButton buttona;
   JButton buttonb;
   public BorderTest () {
      super("BorderTest");
      panel    = new JPanel();
      buttona  = new JButton("TransBorder");
      buttonb  = new JButton("NonTransBorder");
      getContentPane().add(panel);
      panel.setLayout(new GridLayout(0, 2));
      panel.add(buttona);
      panel.add(buttonb);
      panel.setBackground(Color.red);       
      // these two buttons are both blue, but the one with the transparent
      // border ends up looking somewhat purple.
      buttona.setBorder(new TransBorder());
      buttonb.setBorder(new TransBorder(Color.blue));
      setDefaultCloseOperation(EXIT_ON_CLOSE);
      setBounds(0, 0, 300, 300);
   private class TransBorder extends AbstractBorder {    
      Color transColor;
      public TransBorder() {
         super(); 
         transColor  = new Color(0, 0, 255, 100);  // transparent blue
      public TransBorder(Color c) {
         super(); 
         transColor  = c;
      public Insets getBorderInsets(Component c) {
         return new Insets(3, 3, 3, 3);
      public Insets getBorderInsets(Component c, Insets i) {
         return getBorderInsets(c);
      public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) {
         g.setColor(transColor);
         g.fillRect(x, y, w, h);
   public static void main(String[] args) {
      BorderTest bt  = new BorderTest();
      bt.setVisible(true);
}Hope this helps.
Eric

Similar Messages

  • Shadow Effect for a Truck

    Desperately looking for some expertise!
    I need assistance in creating the shadow effect underneath a vehicle and its tires. I have hunted through as many books as I can find and even looked at the D&D in the current issue of Photoshop User but I'm having no luck (yes I am a novice)!
    This is for an ad for a fire truck that I am doing for a national publication and I have to get it right! If this is really difficult can you suggest someone in Central New Jersey that may be able to assist.
    Thank you,
    Rich
    ps: I am using CS3 on Windows XP.

    G'day Rich
    It might be an idea to look at some vehicle pictures to get an idea of the shape of your shadow.
    You would then make a selection of the shape and put in on a seperate layer behind your vehicle picture. (vehicle picture would have to be cutout i.e. surrounded by transparency)
    Then fill this selection with the colour of the shadow, this colour is often not grey but is best selected from the colour of a real shadow. Then blur it (filter > blur > gaussian blur) then add noise (filter > noise >) and finally change the blend mode of this layer to something like multiply, this effect will depend on the actual colour of the background you are using.
    There are other ways to do this as always in Photoshop.
    Sometimes the actual shape of your vehicle layer could be used to make the selection and then transformed but this doesn't always work.
    If you could post a pic it might help to better advise.
    My very first ad was also as a novice for a worlwide travel magazine! so good luck with this and don't be put off by unhelpful comments!
    regards
    John

  • Custom Tilelist Component With Special Effects

    I am trying to create a custom tilelist component which incorporates some special visual effects I need for my app. What I'm trying to do is replace the blue themed rollover color which shows when each item is rolled over with an effect which applies the glow effect to each hovered over items image and label and also converts the image to color whilst the item is hovered over (the tilelist itself is converted to greyscale upon application complete). At the moment I have it set so the blue them is completely removed but I want to instead alter the rolover them e to how I've described above. Here's what I mean below, which I made using static images and text (the social item is being hovered over in that picture), followed by the code for my custom tilelist so far:-
    http://i223.photobucket.com/albums/dd147/jimmyoneshot/theicons.jpg
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TileList xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:itemRenderer>
        <mx:Component>
         <mx:Canvas width="125" height="145">
          <mx:Image source="{data.icon}" height="64" width="64" top="10" horizontalCenter="0"/>
          <mx:Label text="{data.label}" bottom="1" horizontalCenter="0" color="#FFFFFF" fontWeight="bold" fontSize="12"/>
         </mx:Canvas>   
        </mx:Component>
        </mx:itemRenderer>
    <mx:Script>
    <![CDATA[
      import mx.core.EdgeMetrics;
      import mx.core.IFlexDisplayObject;
      import mx.skins.halo.ListDropIndicator;
      import mx.events.DragEvent;
      import mx.controls.listClasses.IListItemRenderer;
      use namespace mx_internal;
      override protected function drawSelectionIndicator(
        indicator:Sprite, x:Number, y:Number,
        width:Number, height:Number, color:uint,
        itemRenderer:IListItemRenderer):void
      // Remove the Selection indicator
      override protected function drawHighlightIndicator(
       indicator:Sprite, x:Number, y:Number,
       width:Number, height:Number, color:uint,
       itemRenderer:IListItemRenderer):void
      ]]>
    </mx:Script>
    </mx:TileList>

    I'm unstuck :)  The key to getting this to work is to import the packages you are going to use in your component.xml.
    So, for me..I had to add the following:
            com.adobe.idp.workflow.dsc.type
            com.adobe.idp.taskmanager.form
            com.adobe.idp.taskmanager.form.impl
            com.adobe.idp.taskmanager.form.impl.xfa

  • [Tutorial]   Shadow Effects  for Photos & Web Elements

    Latest tutorial I've put up for simple shadow effects can be
    found here:
    http://www.sitepoint.com/forums/showthread.php?t=581074
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com

    Nadia Perre *ACE* wrote:
    > Latest tutorial I've put up for simple shadow effects
    can be found here:
    >
    http://www.sitepoint.com/forums/showthread.php?t=581074
    Very nice, Nadia!
    Linda Rathgeber - Adobe Community Expert
    http://www.adobe.com/communities/experts/members/8.html

  • Problem With Fade Effect For JTextField

    Hello Friends !
    I am putting a 'bounty' of 10 Duke dollars
    for the clever clogs who can help me out !
    I want to create a 'fade in' effect when a
    textfield has the focus and a 'fade out'
    effect when it looses focus.
    The code for what I have done so far is
    listed below, but it leaves nasty 'artifacts'
    behind when painting.
    regards, Asad.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class RunProgramAgain{
    public static void main(String[] args){
    JFrame frame = new MyFrame();
    class MyField extends JTextField{
    public MyField(){
    setPreferredSize(new Dimension(100, 30));
    public void paintComponent(Graphics g){
    super.paintComponent(g);
    if(hasFocus())
    fadeIn();
    else
    fadeOut();
    private synchronized void fadeIn(){
    for(alpha = MIN; alpha <= MAX; ++alpha)
    setBackground(new Color(RED, GREEN, BLUE, alpha));
    private synchronized void fadeOut(){
    for(alpha = MAX; alpha >= MIN; --alpha)
    setBackground(new Color(RED, GREEN, BLUE, alpha));
    private int alpha = MIN;
    private static final int MIN = 0;
    private static final int MAX = 10;
    private static final int RED = 0;
    private static final int GREEN = 255;
    private static final int BLUE = 0;
    class MyButton extends JButton{
    public MyButton(){
    super("Start");
    class MyFrame extends JFrame{
    public MyFrame(){
    setSize(new Dimension(300,250));
    getContentPane().setLayout(new FlowLayout());
    getContentPane().add(new MyButton());
    getContentPane().add(new MyField());
    show();
    }

    Played some more and came up with a class that will allow you to fade the background color of any JComponent:
    import java.awt.*;
    import java.awt.event.*;
    import java.util.Hashtable;
    import java.util.Vector;
    import javax.swing.*;
    public class Fader
         private static final int MIN = 0;
         private static final int MAX = 10;
         private Color fadeFrom;
         private Color fadeTo;
         private Hashtable backgroundColors = new Hashtable();
         **  The background of any Component added to this Fader
         **  will be set/reset to the fadeFrom color.
         public Fader(Color fadeTo, Color fadeFrom)
              this(fadeTo);
              this.fadeFrom = fadeFrom;
         **  The original background of any Component added to this Fader
         **  will be preserved.
         public Fader(Color fadeTo)
              this.fadeTo = fadeTo;
         **  Fading will be applied to this component on gained/lost focus
         public Fader add(JComponent component)
              //  Set background of all components to the fadeFrom color
              if (fadeFrom != null)
                   component.setBackground( fadeFrom );
              //  Get colors to be used for fading
              Vector colors = getColors( component.getBackground() );
              //     FaderTimer will apply colors to the component
              new FaderTimer( colors, component );
              return this;
         **  Get the colors used to fade this background
         private Vector getColors(Color background)
              //  Check if the color Vector already exists
              Object o = backgroundColors.get( background );
              if (o != null)
                   return (Vector)o;
              //  Doesn't exist, create fader colors for this background
              int rIncrement = ( background.getRed() - fadeTo.getRed() ) / MAX;
              int gIncrement = ( background.getGreen() - fadeTo.getGreen() ) / MAX;
              int bIncrement = ( background.getBlue() - fadeTo.getBlue() ) / MAX;
              Vector colors = new Vector( MAX + 1 );
              colors.addElement( background );
              for (int i = 1; i <= MAX; i++)
                   int rValue = background.getRed() - (i * rIncrement);
                   int gValue = background.getGreen() - (i * gIncrement);
                   int bValue = background.getBlue() - (i * bIncrement);
                   colors.addElement( new Color(rValue, gValue, bValue) );
              backgroundColors.put(background, colors);
              return colors;
         class FaderTimer implements FocusListener, ActionListener
              private Vector colors;
              private JComponent component;
              private Timer timer;
              private int alpha;
              private int increment;
              FaderTimer(Vector colors, JComponent component)
                   this.colors = colors;
                   this.component = component;
                   component.addFocusListener( this );
                   timer = new Timer(5, this);
              public void focusGained(FocusEvent e)
                   alpha = MIN;
                   increment = 1;
                   timer.start();
              public void focusLost(FocusEvent e)
                   alpha = MAX;
                   increment = -1;
                   timer.start();
              public void actionPerformed(ActionEvent e)
                   alpha += increment;
                   component.setBackground( (Color)colors.elementAt(alpha) );
                   if (alpha == MAX || alpha == MIN)
                        timer.stop();
         public static void main(String[] args)
              // Create test components
              JComponent textField1 = new JTextField(10);
              JComponent textField3 = new JTextField(10);
              JComponent textField4 = new JTextField(10);
              JComponent button = new JButton("Start");
              JComponent checkBox = new JCheckBox("Check Box");
              JFrame frame = new JFrame("Fading Background");
              frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              frame.getContentPane().add(textField1, BorderLayout.NORTH );
              frame.getContentPane().add(button, BorderLayout.SOUTH );
              frame.getContentPane().add(textField3, BorderLayout.EAST );
              frame.getContentPane().add(textField4, BorderLayout.WEST );
              frame.getContentPane().add(checkBox);
              //  Fader preserving component background
              Fader fader = new Fader( new Color(155, 255, 155) );
              fader.add( textField1 );
              fader.add( button );
              fader.add( checkBox );
              //  Fader resetting component background
              fader = new Fader( new Color(155, 255, 155), Color.yellow );
              fader.add( textField3 );
              fader.add( textField4 );
              frame.pack();
              frame.setVisible( true );
    }

  • Seamless transitioning or ADD transition effects for menus

    My last production I tried to make a seamless transition between a menu selection and the feature. Encore seems to always want to dip (or jump) to black after a selection is made. Can a future version (2.0?) add some flexibility to make transitions in and out of menus? Look at any of the Hollywood-style DVDs now; they all have an animation or clip that melds with the menu and again once a choice has been made. Just a suggestion.
    Ed Slonaker
    El Pilon Productions

    So you are saying what they do is possible in Encore? What I don't understand or have trouble agreeing with you both on here is the whole part that leads into and out of the menu. You are telling me that that is just part of the menu being a motion menu, but that the buttons just don't appear until a certain point in the motion menu, then they disappear when a button is selected to continue in the motion menu transition? Make sense? I know there is a VERY slight, but barely noticeable jitter or whatever you wanna call it between each of those points, but it is so slight that it is almost not recognizable.
    But what it sounds like you are trying to say that they do to make that work, is that they are not using that intro video as a timeline, but as a motion menu without buttons that is technically just a video and once it is done playing through its loop it forwards itself on to an identical menu that just loops endlessly through the main menu until you select an option, then from there it transitions through yet another menu into whatever the next asset is? Is this right? If so, is that all possible in Encore?
    Sorry if I sound ignorant and argumentative, I am not trying to be, this is just something I have been wanting to do but have not figured out how to with my previous attempts, and I thought it might just not be possible with consumer/prosumer level applications as opposed to pro-level DVD authoring that they do in Hollywood. Thank you guys for your help and input.
    Edit: DUH! Man I am so stupid, ugh. What I was trying to say above is exactly what they do! You guys are TOTALLY CORRECT! Thank you for helping me with this, now my DVD's of the future will be MUCH BETTER! I don't know why I didn't even think of this before, sheesh. Anyway, I just watched through the Nemo DVD and saw that this is exactly how they do it. Thanks again! I apologize for so ignorantly disagreeing with you oh great ones! HA!

  • Separators with text content for menus

    I want to have a menu/choicebox with several separators to split the menu into sections, but I would like the separators to be more than just lines, specifically I want some text there -- essentially the separator acts as a header for the menu items in the section that follows.
    Is that possible?

    Hi. You can use SeparatorMenuItem:
            SeparatorMenuItem sp = new SeparatorMenuItem();
            sp.setContent(new Label("abcv"));
            ChoiceBox cb = new ChoiceBox();
            cb.getItems().addAll("item1", "item2", sp, "item3");

  • Need help with scroll effects for horizontally + vertically scrolling website

    Hi,
    I recently came across a website that uses both horizontal and vertical scrolling where 1 scroll = full browser length move to the next section (as opposed to several rotations in a continuous motion of the mouse ball like the majority of websites). Please see the example here because I'm probably not explaining this very well : A Chocolate Bar, Restaurant and Shop for Chocolates, Fondue, Gift Boxes, and More | Max Brenner (http://maxbrenner.com).
    I'm wondering if this effect is something that can be done in Muse and if so, how to do it. It's something I'm seeing more and more and almost behaves like a slideshow that can be controlled by scrolling.
    Thank you!
    Michele

    Hi Michele,
    I am afraid that this is not possible out of the box at this stage, I will recommend that you post this on the ideas section over here, Ideas for features in Adobe Muse
    You can, in the mean time, use some CSS to disable the scroll bar, preventing the partial scrolling of the page and disabling the mouse wheel scrolling as well, leaving behind only your navigation to scroll through the page.
    - Abhishek Maurya

  • Is there any type of automated shadow effect for text?

    Hi, I've got a 30-second sequence of white text on black background, consisting of about 40-50 individual clips where the text is moving randomly in each clip. Some clips have the text moving left to right some right to left, some diagonally, zooming in or out, all various sizes and movements.
    I'd like to put shadows on each text movement to give it the proper depth, but to manually setup the keyframes to look authentic with all the movement would seems to take an enormous amount of time and work when there might be a simpler method. Is there any automated/faster way to do this?
    Thanks.

    Thanks, I'm familiar with the paste attributes, but the problem with using that feature is that the text movement/panning/zooming in each clip is different, so using the shadow movement from one clip won't match up to any other.
    I need it to look authentic, as though it is an actual shadow created by a light on a background. If the text in one clip is moving left to right and increasing in size, the shadow should match. But if I copy that shadow movement to another clip, which might be moving right to left and decreasing in size, the shadow movement would look strange and inaccurate.

  • CS5 custom build with GTX 285 for long-form 4k projects

    I've been researching nonstop for several days, and it's time to ask for your expert opinions.  I would appreciate any help.
    I'm ordering a new system for Production Premium CS5, and mostly I will use Premiere Pro CS5 to edit long-form projects (huge timelines with thousands of clips) of Red 4k footage.  It's a feature film with only a few F/X shots, but we'd like to do as much F/X, sound mixing, and color correction in CS5 as possible.
    Here is what I'm considering:
    CUSTOM BUILD from CYBERPOWERPC (about $1950 including items not listed):
    OS:  Windows 7 Professional x64
    CPU: Intel® Core™ i7-930 2.80 GHz 8M Intel Smart Cache LGA1366
    HDD: 1TB SATA-II 3.0Gb/s 16MB Cache 7200RPM HDD (Single Hard Drive)
    MOTHERBOARD: * (3-Way SLI Support) GigaByte GA-X58A-UD5 Intel X58 Chipset SLI/CrossFireX Ultra Durable™3 Mainboard DDR3/1600 ATX Mainboard w/7.1 Dobly Audio,eSATA,Dual GbLAN, USB3.0, 2 x SATA-III RAID,IEEE1394a,4 Gen2 PCIe,2 PCIe X1 &1 PCI [+132]
    MEMORY: 12GB (2GBx6) DDR3/1600MHz Triple Channel Memory Module [+219] (Kingston HyperX)
    SOUND: Creative Labs SB X-Fi Xtreme Audio 24-BIT PCI Sound Card [+48]
    VIDEO: Nvidia GeForce GTX 285 (I will have to take out their card and install this myself for GPU acceleration)
    1.  Do you see any poor or strange decisions?
    2.  I liked that mobo because of the chipset's possibilities and because it has 1394 for old-style DV capture.  Plus it has 8 SATA 2.0's, 2 SATA 3.0's, 2. eSATA 2.0's, and 2 USB 3.0's for huge/fast storage options in the future.  Is there some better alternative if I'm keen to have at least one of each of these formats?
    3.  I'll clone their 1TB OS drive onto a smaller 250GB drive to use as the OS drive, then use their 1TB drive as part of a 2TB RAID 0 video storage.  Will using the mobo's raid controller or some type of virtual RAID (like I did in Xp64) be fine, or do I need a separate RAID controller (like I had in the late 90's).
    4.  What do you think about that processor and RAM for what I'm doing?  Any reason to prefer 2 Quad-Core's (if dual processors are even compatible with CS5)?  Please let me know if the current configuration will lag with huge timelines with thousands of 4k clips.
    5.  Maybe I don't need the Creative sound card and could just use the mobo's sound?
    6.  Will it be simple for me to remove their graphics card and install an Nvidia GeForce GTX 285 myself?
    7.  The Nvidia GeForce GTX 285 seems like a good fit for GPU acceleration for me since I'm not expecting to have 4+ layers of videos, though I will be doing multiple effects on 1 or 2 layers.  Would having a Quadro FX give any advantage over the GTX 285 for huge timelines with thousands of 4k clips?  Or any advantages for any other use?
    8.  The GTX 285 has 2 DVI's as its only connectors (plus something that looks like S-video).  Can I use one DVI for my workstation and one DVI for monitoring video in realtime on an HDMI/DVI-equipped LCD TV or professional HD video monitor.  Any problems with viewing/outputting my 4k video in HD in realtime?  What is the best setup to view your video on an external monitor?  Back in the CS2 days I used a 1394 through a camcorder into an analog professional monitor, but that's not going to be HD, plus I heard there's a sync problem these days.
    Thanks for your advice.

    Thanks for your advice, everyone! 
    I'm gaining a lot of knowledge, but I have some followups so I'll break it down into subcategories and hopefully you can chime in on one or more topics.
    To give more info about my daily use and purpose:
    --smoothly edit huge amounts of RED 4k footage/clips and view the video externally in as high a resolution as possible (2k or minimum of 1k).
    ---no reason to have more than 3 layers visible at a time.
    --the vast majority of the time only 1 video layer (with video effects) will be visible, with perhaps a handful of fades/dissolves during the entire 2-hour feature. 
    --I don't mind if it takes slightly more time rendering DPX files at the end, but I don't want any hiccups and never want to render during day-to-day editing and monitoring.
    GRAPHICS CARD and VIDEO MONITORS
    1.  I'm pretty much set on the GTX 285, but I wondered if for my purposes I'd get any significant benefit from the Quadro FX 5800 (+$2000-$2600) or the GTX 480 (+$100)?  Either in speed of playback or in output to external video monitors. The 5800 has 4GB RAM versus the GTX 285's 1GB, and the GTX 480 has 1.5 GB.   Does this RAM matter for what I'm doing or are the cores much more important?  Also, if I chose the GTX 480 then I'd have to pray that everything would be stable with a MPE/CUDA/GPU-acceleration hack, or hope Adobe comes through with full support of that card.
    2.  What is the 3rd output on the GTX 285?  There are two DVI outputs and then something that looks like S-Video.  Is it S-video out? Or an HD audio out that travels alongside the DVI output to an external video monitor?
    3. Does it slow down the system to send the video at 1k or 2k to an external video monitor since you'd be using both DVI outputs simultaneously?
    RED 4k PLAYBACK and RAM vs CPU
    1.  For day-to-day editing, I'm fine scaling to 1/4 resolution if necessary and monitoring video externally at 1k or 2k.  Would my current system already achieve that smoothly?
    2.  From what I've gathered here and elsewhere, for better 2k or 4k playback it might be better to spend extra on CPU rather than RAM.  I could spend
    --$1000 more for 24GB RAM (instead of 12GB)
    --$290 more for an i7 975 Extreme 3.33 GHz 8M Cache
    --$686 more for an i7 980x Extreme 3.33 GHz 12M cache.
    Given my needs and the current total system cost of $1950, which of these 3 would you choose?  Or should I stay with the cheaper i7 930 2.8 GHz and overclock (which I've never done before).
    ECBowen:
    It sounds like you've used a system similar to what I'm buying to playback RED 4k on a timeline in full, 1/2, and 1/4 scale.  I'd greatly appreciate if you could clarify YES/NO for which are possible to have SMOOTH PLAYBACK with your 980x/12GB RAM/GTX 285 system.  I know it's a lot to ask, but it would make me feel so much better about this big purchase:
    -full scale 4k of 1 layer with 0 video effects
    -full scale 4k of 3 layers with 0 video effects
    -full scale 4k of 1 layer with 3 video effects
    -full scale 4k of 3 layers with 3 video effects (NO, right?)
    -1/2 scale of 1 layer with 0 video effects
    -1/2 scale of 3 layers with 0 video effects
    -1/2 scale of 1 layer with 3 video effects
    -1/2 scale of 3 layers with 3 video effects
    -1/4 scale of 3 layers with 3 video effects
    RAID CONTROLLER
    1.  I won't use the virtual/software controller.  The GigaByte UD5 says it has RAID 0, 1, 5, 10.  Does that mean it has an onboard hardware controller that I can configure in Windows 7 or using some software supplied with the mobo?

  • Odd shadowing effects in XFCE with dual monitors and intel graphics

    Linux fowie-desktop 2.6.34-ARCH #1 SMP PREEMPT Mon Jul 5 21:03:38 UTC 2010 i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz GenuineIntel GNU/Linux
    lspci shows:
    00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
    not using an xorg.conf
    rc.conf (snippets)
    LOCALE="en_US.UTF-8"
    HARDWARECLOCK="UTC"
    TIMEZONE="America/Denver"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(!usblp vboxdrv !saa7134 saa7134-dvb)
    DAEMONS=(syslog-ng dbus hal @network @netfs @crond @alsa @cups @sensors @samba @ddclient @sshd @httpd @mysqld @smartd)
    and my .xinitrc:
    /usr/bin/xrandr --output VGA1 --left-of DVI1 --output DVI1 --mode 1920x1080
    exec ck-launch-session startxfce4
    Xorg.0.log at http://pastebin.ca/1925313
    If I use the xf86-video-intel driver from extra, the xrandr command to do dual-outputs fails and I get both monitors showing the same desktop (mirrored mode).  I switched to use AUR's xf86-video-intel-git (reading the forums it said this would fix the dual-monitor issue until extra moves to 2.12.0-2) and I do get the dual monitors working propery with the xrandr command, but I'm experiencing wierd effects.  For every unminimized window on the desktop, if I put another window in front, the shadow of the window below stays on top of the window containing the focus.  Hard to explain, so I'll use a photo:
    That's what it looks like with xf89-video-intel-git, libdrm-git, dri-git, and anything else git and intel graphics related I can find.  Any ideas what's wrong, or what I would even call this problem so I can look around and see if anyone else is having the same issues?
    Last edited by fowie (2010-08-25 20:21:53)

    Ok, I went into the XFCE4 setting manager and opened the "Window Manager Tweaks" module, Under "Compositor" if I disable display compositing the shadowing effect is gone, making the display much more usable (thanks!).  But now compositing does not work.  Guess I'll go report this to XFCE, or is the XFCE compositing manager handled by someone else?
    Last edited by fowie (2010-08-25 23:11:54)

  • How to place multiple images in batch with drop shadow effects on room backgrounds at the same position?

    I want to place multiple images of hand paintings with drop shadow effects on room backgrounds to make them look as if the paintings are hanged on the room walls. I know how to do it one by one, but that takes time and I want to do it in batch at once.
    I am quite a beginner for adobe photoshop CS6. I belive such an automated task is possible through 'Automated Batch' function and/or 'Create Droplet' function. Kindly share your expert opinion.

    If you want to go with Batch I would recommend creating an Action of more or less these steps:
    • set the resolution to the same as the background image’s
    • change the image from Background Layer to regular Layer if necessary
    • convert it to a Smart Object
    • add a Drop Shadow Layer Style to the image (do not use Global Angle)
    • place the background image (File > Place …)
    • move it behind the image layer
    • Image > Reveal All
    • make Selection from that layer’s transparency (cmd-click its icon in the Layers Panel) and use Image > Crop
    • select and transform the image layer to fit the intended position
    This would naturally work out best if the images had the same size and proportions.
    For the reflection on the floor duplicate the image, flip it vertically, move it in position and reduce its opacity to maybe 10%.
    Realistically you may have to hide it partially behind the pillows, a Vector Mask would be an option.

  • How to place multiple images of hand paintings with drop shadow effects on room backgrounds?

    I want to place multiple images of hand paintings with drop shadow effects on room backgrounds to make them look as if the paintings are hanged on the room walls. I know how to do it one by one, but that takes time and I want to do it in batch at once.
    I am quite a beginner for adobe photoshop CS6. I belive such an automated task is possible through 'Automated Batch' function and/or 'Create Droplet' function. Kindly share your expert opinion.

    If you want to go with Batch I would recommend creating an Action of more or less these steps:
    • set the resolution to the same as the background image’s
    • change the image from Background Layer to regular Layer if necessary
    • convert it to a Smart Object
    • add a Drop Shadow Layer Style to the image (do not use Global Angle)
    • place the background image (File > Place …)
    • move it behind the image layer
    • Image > Reveal All
    • make Selection from that layer’s transparency (cmd-click its icon in the Layers Panel) and use Image > Crop
    • select and transform the image layer to fit the intended position
    This would naturally work out best if the images had the same size and proportions.
    For the reflection on the floor duplicate the image, flip it vertically, move it in position and reduce its opacity to maybe 10%.
    Realistically you may have to hide it partially behind the pillows, a Vector Mask would be an option.

  • Blur control disabled for Drop Shadow Effect and Filter

    Win2k Pro
    2GB Ram
    AICS 11.0.0
    This is odd: the blur control in the Drop Shadow Effect and Filter dialog boxes is disabled. It seems to me there was a time it was ENabled.
    This is the situation for both vector and bitmap objects. I've played with Document Raster Settings.
    Truth be told, I _did_ reinstall Illustrator last year and have not used it much since.
    Any insights you can share?
    Thanks

    Please excuse this post ... didn't mean for it to appear as a reply under <br />another post.  My apology.<br />lk<br /><br /><br /><br /><[email protected]> wrote in message <br />news:[email protected]..<br />>I purchased a vector image from istockphoto ... when I opened the file in<br />> illustrator it is just an outline without color.  I select the outlines <br />> but<br />> can't fill it with color!  What am I missing?<br />><br />><br />><br />><br />><br />> <[email protected]> wrote in message<br />> news:[email protected]..<br />>> Win2k Pro<br />>> 2GB Ram<br />>> AICS 11.0.0<br />>><br />>> This is odd: the blur control in the Drop Shadow Effect and Filter dialog<br />>> boxes is disabled. It seems to me there was a time it was ENabled.<br />>><br />>> This is the situation for both vector and bitmap objects. I've played <br />>> with<br />>> Document Raster Settings.<br />>><br />>> Truth be told, I _did_ reinstall Illustrator last year and have not used<br />>> it much since.<br />>><br />>> Any insights you can share?<br />>><br />>> Thanks<br />>

  • Code for image shadow effect

    iWeb creates very nice shadows. Is it a separate image created on the fly or some javascript? Is there any way to get the code that generates that effect? I'd like to extend it to other pages that weren't made in iWeb.
    Thanks in advance.
    Mike

    OK. Here's the solution for anyone interested. A couple of warnings first though: Apple has a naming scheme with the shadows. If you rename "shadow_1" to "shadow_pocket", for example (even if you change it in the HTML file too, it won't work.
    If you saw the code I posted last time, you know how to use one type of shadow. The code below is a javascript file that allows 3 different shadows. Be careful to put braces and parenthesis in the right places. Javascript is a very sensitive language. You can use divs to enclose the images you want to add the shadow effect to. The divs need to have class="tinyText shadow_X", where X is the kind of shadow you want.
    On to the offset… This was actually very easy. It is found in the Javascript below "IWPoint(0.0000,1.0000)". In that example, it literally means that the shadow is offset 1 pixel downward and no horizontal offset. It's a simple (x,y) coordinate system where x and y are the pixel increments from the original image.
    The Javascript code:
    setTransparentGifURL('Media/transparent.gif');function applyEffects()
    {var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_1:new IWShadow({blurRadius:2,offset:new IWPoint(0.0000,1.0000),color:'#000000',opacity:1.000000}),shadow_2:new IWShadow({blurRadius:5,offset:new IWPoint(0.0000,2.0000),color:'#000000',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:5,offset:new IWPoint(0.0000,2.0000),color:'#000000',opacity:1.00000})});registry.applyEffect s();}
    function hostedOnDM()
    {return false;}
    function onPageLoad()
    {loadMozillaCSS('Blank_files/BlankMoz.css')
    fixAllIEPNGs('Media/transparent.gif');applyEffects()}
    Apple has done incredible work on these JavaScript libraries. So, anyone that wants to add beautiful shadows to their images will find these posts helpful.
    Thanks for your help too Old Toad.
    Mike

Maybe you are looking for

  • Running Windows & other software

    I had posted similar questions in a previous thread, but a couple of trolls came along and highjacked that thread; so now I'm posting a revised set of questions in this new thread. I have several questions to ask about using Microsoft Windows, Parall

  • IPhone (unhacked) and rigtone issue

    Saturday evening, I decided to buy three additional ringtones for my iPhone, so I picked the songs and purchased ringtones. They show in iTunes just fine, and when I synced, they were put into ringtones in iTunes just fine. But when I look at my iPho

  • How validate the password in screen painter?

    Hi friends, i have got a requirement such that i have to create a screen with Empd_id and password, its like login screen. After giving the password and then by pressing enter it has to pass to next screen i have no idea for this can any please help

  • Scale Conditions based on Cumulative sales Volume

    Hi, Can anyone throw some light on " Scale Conditions based on Cumulative sales Volume". Thanking you in advance ChanHari

  • .air to exe or an MSI package?

    Is it possible to convet an .air file into an MSI package? or even an .exe? My developers have created this app with Air and would like to roll it out companywide. We have about 300 users and don't want to install one by one manualy. Can some one hel