How to make transperent widget.

Hi all,
I am new to this xlet things and it has been long time since I worked on java. so, this might have a simple solution which I am overlooking.
I have HStaticIcon in the background and trying to put HStaticText on the top. I want to make static text background transperent so, All I want see is text and background image.
Is there any way I can do it?
Thanks

Text elements have a method that allows you to choose how you want to draw the background. You get what you need with the .setBackgroundMode() method. More exactly with something like
HStaticText example = new HStaticText(the constructor you need);
example.setBackgroundMode(HStaticText.NO_BACKGROUND_FILL);Try to get a good color combination or text size so you can still read the text after this change.

Similar Messages

  • How to make accordion widget in netbeans

    As i am new to this field.Can anyone guide me how to make accordion widget in netbeans.I have downloaded the spry zip file.
    Thanks in Advanced

    You will not see them on the lock screen. Only on the notification screen (swipe down from the top AFTER unlocking the phone).

  • How to make a widget like "gorongosa landscapes", featured in ibooks author gallery of widgets?

    Dear all,
    I would like to make a widget, similar to "Gorongosa landscapes" demo in author gallery of widgets:
    http://www.apple.com/ibooks-author/gallery.html
    Any idea?
    Best,
    M

    The easiest way woud be a gallery, second keynote. But in the thumbnails only show up with the gallery widget at top or bottom.
    If you want nearly the same as in the "Gorongosa landscapes" do it in html.
    Very good and quite easy is Hype. In their blog is a tip how to get an animation working in iBooks Author.

  • How to make weather widget appear in Notification Center?

    I've set up various apps for notification center.  I can now see notificatoins for emails, etc. that come in after my iphone is locked.  however, how or where do the weather and stock widgets show?  They are turned on, but not showing on the lock screen.  what am i missing?  I have a 3gs.

    You will not see them on the lock screen. Only on the notification screen (swipe down from the top AFTER unlocking the phone).

  • How to make Transperant container visible , invisble by code

    Dear experts ,
    I want make transaperant container visible or invisible based some boolean value .
    I have gone thr' class    CL_WD_UIELEMENT and CL_WD_TRANSPARENT_CONTAINER. I have found method SET_VISIBLE .
    Let suppose name of my transperant container TC_COSTCENTER .Please let me know what code I have to write . Where should I write ?
    I am writing it code in WD_INIT as this process is based on value that I get on boolean value which tell decide visibility of Transperant container.
    Waiting for reply . Urgetly .
    Points will be given surely .
    Cheers
    Parry

    Hi Parry,
    The dynamic programming way is follows:
    you need to first get a reference to the root element 'ROOTUIELEMENTCONTAINER' from the view reference available within the wddomodifyview method. the variable returned is of type cl_w_uielement_container. you can use the method get_root_element( ) of the interface if_wd_view for this purpose.
    next get a reference to the transparent container by using the method get_child of the class cl_wd_uielement_container( using the variable returned from the prevoius call) and cast it to a variable of the class cl_wd_transparent_container. to this method you need to pass the id of your transparent container.
    Once you have the reference you can use the method set_visible( ) to make the container visible or invisible at runtime.
    However you need to be careful about the placement of this code within the wddomodifyview method because it would get executed every time. Thus the best way is to store the reference to view in a component controller the first time and later on use this attribute anywhere within your component.
    Regards,
    Shweta

  • How to make label transperent

    I have a Form with a image on the background.
    the radio group button has a label. This label is not transparent. So, i have to choose a white background. But that is not nice.
    When I fill the Prompt property, I get a prompt which is transperent.
    How can make the background of the label transparent?
    thanks in advance
    Albert

    I don't know of any way to change the label to be transparent, but you can use the prompt as a label. Just delete the label and set the prompt attachment edge to End with the desired offset. You may also need to change the width of the radio button. Then what appears to be a label (but is actually a prompt) is transparent.

  • How to make gallery mobileme widget's window larger?

    the max size i can get from widget Gallery Mobileme is 320x260, how to make larger?

    how to make a slide show in a gallery widget slower?

  • How to make separately editable blocks in one widget?

    How to make separately editable blocks (Width, Height, BGColor,...) in one widget?

    There's an example widget for a 5x5 table which allows you set the color of different areas differently.
    Download the sample files at the bottom of the MUCOW documentation page:
    MuCow Documentation
    The sample named 'Table5x5.mucow' sets different parts of the widgets to different colors.

  • Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now ?

    Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now that they do not have the spry option?

    bbull2005 wrote:
    Preran, why wouldn't Dreamweaver include it's own menu/navigation bar widget?
    I can't answer on Preran's or Adobe's behalf, but I think you'll find at least part of the answer here: http://wiki.jqueryui.com/w/page/38666403/Menubar
    Adobe decided to discontinue development of Spry in August last year, and Dreamweaver CC made the switch to using jQuery UI widgets and effects. One reason for dropping Spry was that it failed to work correctly in some browsers. Judging from the fact that the jQuery UI menubar is now "on ice", creating a flyout menu that works reliably across all devices is proving more difficult than originally envisaged.
    Because all other widgets in Dreamweaver CC use jQuery UI, it's a reasonable assumption that Adobe hoped the jQuery UI menubar would be ready in time, but it wasn't.

  • How to make screenshot/jpg/pdf of ENTIRE long Safari window (not just visible part)?

    I want to get a "screenshot" (i.e. an image in any format -- PNG, JPG, PDF, whatever) of a looooooooong Safari window diplaying a Web page that entends far below the bottom of the visible screen area and has to be scrolled down to see all of it.
    I know about the standard screenshot keyboard tricks in 10.6 -- Command-shift-4, Command-shift-4 then spacebar/click, Command-shift-3, etc. But not any of them allow the user to get a screen shot of the entirety of a long/deep window -- they only capture what is visible on the screen.
    Also, another trick people often mention is to "print" (command-P) the Safari page, but instead of sending it to a printer choose "Save as PDF." Brilliant -- except that for some reason I've never been able to "print" a Safari page -- as soon as I hit the command-P keystrokes in Safari, I immediately get a spinning beachball that will only go a way with a force-quit of Safari. This has always been true on this computer (MacBook Pro) -- not sure if it's a common bug or if it's just an eccentricity of my particular machine. Either way, that option is off the table because "printing" is impossible with my Safari.
    I also searched around for various third-party freeware applications, and despite a lot of grandiose promises, none of them actually was able to capture an entire window including portions not currently visible on the screen.
    I did find a commercial application called SnapWeb that does have the capability to do exactly what I want -- but it doesn't produce usable images in demo mode and requires $$$ to unlock and work properly, something I'm currently unwilling to pay for a simple one-use gimmick that simply must be part of the OS already.
    So my question is:
    Is there any native way within the 10.6 OS that allows users to capture an entire long Safari window as an image file (not as a Web Archive, but as an image file composed of pixels), which includes the entirety of a Web page no matter how "long" it is, even if it extends far below the visible screen footprint?
    And if there is no native way in 10.6, if there a freeware/shareware application/widget/plugin/whatever which does the same thing?
    I already know about a commercial software that does it (SnapWeb), so I don't need more recommendations for paid apps. And I know that I can laboriously construct a JPEG by hand with Photoshop by taking a screenshot of the visible window, scrolling down a little, taking another screenshot, etc. etc., and then
    "stitching" them together. Yeah, it's possible (and in fact is what I've done in the past), but it's a time-consuming hassle that shouldn't be necessary.
    Help! I've wondered about how to do this for years, and have never yet found a satisfactory answer.

    Woo-hoo!
    After fiddling with Paparazzi! for another 40 minutes, I finally deciphered (through trial-and-error) how to maneuver through its awkward user-interface to an extent that I was finally able to make it "work" -- at least work sufficiently for my purposes. And lo and behold, it does indeed have the capacity to capture a screenshot of an entire long Web page, including the portion not visible on the screen. In fact my first attempt was to experiment with this very page of our thread on Apple "Discussions" about how to solve this problem -- and I got Paparazzi! to save it as a jpeg!! The whole thread, top to bottom, exactly as on the screen, not re-formatted for printing. The final file size was 985 pixels wide by 4,204 pixels long (1.2mb).
    I have since experimented with a couple other pages and had success with them as well.
    HOWEVER, I can't guarantee that Paparazzi! will work with every page on the Web, because I think one of the problems when I first attempted to use it was that the page I was trying to get a screenshot of contained a lot of Flash elements and other data-heavy widgets, and I think those messed up Paparazzi!'s memory or overwhelmed it or something. But perhaps such huge and problematic pages are rare enough to not be much of an issue using Paparazzi! under normal circumstances.
    So, I'll consider this problem "solved," and give user "jsd2" a "This helped me" star, since even though I already had Paparazzi! he encouraged me to revisit it.
    And for the record to help those who might stumble on this thread in the future seeking a solution to the same problem:
    The freeware program to get is called "Paparazzi!" and is available directly on the developers site here:
    http://derailer.org/paparazzi/
    Also, note that the current version only works with 10.6.8 or later, but if you have a previous version of the Mac OS, the developer helpfully maintains an archive of older releases that work with older OS versions -- you can access the old (and new) versions here:
    http://derailer.org/paparazzi/downloads
    It's also available for free download on various popular third-party sites, like:
    http://www.macupdate.com/app/mac/15966/paparazzi!
    Be warned that Paparazzi! does not have a very intuitive user interface, nor a user manual, so be patient with it and you should be able to figure out how to make it work.
    If you want another application that also does the trick and which has a simpler and better user experience, but you don't mind paying money to buy it, you can purchase and download "SnapWeb" on its developer's site here:
    http://www.tribalmedia.com/bts/snapweb/snapweb.html
    And if anybody seeing this in the future knows whether or not there is a native way to capture entire Web pages built in to 10.6, please post the info here. Thanks!

  • How to make this example run on IE ?

    for example below :
    * LunarPhasesRB.java requires the following files:
    *    images/image0.jpg
    *    images/image1.jpg
    *    images/image2.jpg
    *    images/image3.jpg
    *    images/image4.jpg
    *    images/image5.jpg
    *    images/image6.jpg
    *    images/image7.jpg
    * It is a modified version of LunarPhases.java that
    * uses radio buttons instead of a combo box.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.URL;
    public class LunarPhasesRB implements ActionListener {
        final static int NUM_IMAGES = 8;
        final static int START_INDEX = 3;
        ImageIcon[] images = new ImageIcon[NUM_IMAGES];
        JPanel mainPanel, selectPanel, displayPanel;
        JLabel phaseIconLabel = null;
        public LunarPhasesRB() {
            //Create the phase selection and display panels.
            selectPanel = new JPanel();
            displayPanel = new JPanel();
            //Add various widgets to the sub panels.
            addWidgets();
            //Create the main panel to contain the two sub panels.
            mainPanel = new JPanel();
            mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
            mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
            //Add the select and display panels to the main panel.
            mainPanel.add(selectPanel);
            mainPanel.add(displayPanel);
         * Get the images and set up the widgets.
        private void addWidgets() {
             * Create a label for displaying the moon phase images and
             * put a border around it.
            phaseIconLabel = new JLabel();
            phaseIconLabel.setHorizontalAlignment(JLabel.CENTER);
            phaseIconLabel.setVerticalAlignment(JLabel.CENTER);
            phaseIconLabel.setVerticalTextPosition(JLabel.CENTER);
            phaseIconLabel.setHorizontalTextPosition(JLabel.CENTER);
            phaseIconLabel.setBorder(BorderFactory.createCompoundBorder(
                BorderFactory.createLoweredBevelBorder(),
                BorderFactory.createEmptyBorder(5,5,5,5)));
            phaseIconLabel.setBorder(BorderFactory.createCompoundBorder(
                BorderFactory.createEmptyBorder(0,0,10,0),
                phaseIconLabel.getBorder()));
         //Create radio buttons with lunar phase choices.
         JRadioButton newButton = new JRadioButton("New");
         newButton.setActionCommand("0");
         newButton.setSelected(true);
         JRadioButton waxingCrescentButton =  new JRadioButton("Waxing Crescent");
         waxingCrescentButton.setActionCommand("1");
         JRadioButton firstQuarterButton = new JRadioButton("First Quarter");
         firstQuarterButton.setActionCommand("2");
         JRadioButton waxingGibbousButton = new JRadioButton("Waxing Gibbous");
         waxingGibbousButton.setActionCommand("3");
         JRadioButton fullButton = new JRadioButton("Full");
         fullButton.setActionCommand("4");
         JRadioButton waningGibbousButton = new JRadioButton("Waning Gibbous");
         waningGibbousButton.setActionCommand("5");
         JRadioButton thirdQuarterButton = new JRadioButton("Third Quarter");
         thirdQuarterButton.setActionCommand("6");
         JRadioButton waningCrescentButton = new JRadioButton("Waning Crescent");
         waningCrescentButton.setActionCommand("7");
         // Create a button group and add the radio buttons.
         ButtonGroup group = new ButtonGroup();
         group.add(newButton);
         group.add(waxingCrescentButton);
         group.add(firstQuarterButton);
         group.add(waxingGibbousButton);
         group.add(fullButton);
         group.add(waningGibbousButton);
         group.add(thirdQuarterButton);
         group.add(waningCrescentButton);
            // Display the first image.
            phaseIconLabel.setIcon(new ImageIcon("images/image0.jpg"));
            phaseIconLabel.setText("");
           //Make the radio buttons appear in a center-aligned column.
            selectPanel.setLayout(new BoxLayout(selectPanel, BoxLayout.PAGE_AXIS));
           selectPanel.setAlignmentX(Component.CENTER_ALIGNMENT);
            //Add a border around the select panel.
            selectPanel.setBorder(BorderFactory.createCompoundBorder(
                BorderFactory.createTitledBorder("Select Phase"),
                BorderFactory.createEmptyBorder(5,5,5,5)));
            //Add a border around the display panel.
            displayPanel.setBorder(BorderFactory.createCompoundBorder(
                BorderFactory.createTitledBorder("Display Phase"),
                BorderFactory.createEmptyBorder(5,5,5,5)));
            //Add image and moon phases radio buttons to select panel.
            displayPanel.add(phaseIconLabel);
           selectPanel.add(newButton);
           selectPanel.add(waxingCrescentButton);
           selectPanel.add(firstQuarterButton);
           selectPanel.add(waxingGibbousButton);
           selectPanel.add(fullButton);
           selectPanel.add(waningGibbousButton);
           selectPanel.add(thirdQuarterButton);
           selectPanel.add(waningCrescentButton);
            //Listen to events from the radio buttons.
           newButton.addActionListener(this);
           waxingCrescentButton.addActionListener(this);
           firstQuarterButton.addActionListener(this);
           waxingGibbousButton.addActionListener(this);
           fullButton.addActionListener(this);
           waningGibbousButton.addActionListener(this);
           thirdQuarterButton.addActionListener(this);
           waningCrescentButton.addActionListener(this);
        // Load the selected image (lazy image loading).
        public void actionPerformed(ActionEvent event) {
           phaseIconLabel.setIcon(new ImageIcon("images/image"
                                  + event.getActionCommand()
                                  + ".jpg"));
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
        private static void createAndShowGUI() {
            //Create a new instance of LunarPhasesRB.
            LunarPhasesRB phases = new LunarPhasesRB();
            //Create and set up the window.
            JFrame lunarPhasesFrame = new JFrame("Lunar Phases");
            lunarPhasesFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            lunarPhasesFrame.setContentPane(phases.mainPanel);
            //Display the window.
            lunarPhasesFrame.pack();
            lunarPhasesFrame.setVisible(true);
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }i know run above example on command line while i don't how to make run on IE ?
    because mostly people are used to look at sth on IE ?
    so i think it's important to runs javacode on IE .
    who can help me ?
    thanks!

    If you want it to execute inside a web browser then you need to convert it to an applet. Alternatively you can investigate Java Web Start.

  • CS4|5 Exporter - how to make slider with no checkbox?

    Hi all,
    I can't work out how to make a slider with no checkbox next to it.
    Also it is possible to make two fields next to each other?
         eg:
                   M: 15     N: 3
    Zac, it would be nice if you mentioned in the Docs that multi choice widgets are a Radio Button pair for < 3 otherwise it's a Drop Down box.

    Hi Rallymax,
    The slider + checkbox behavior was a problem with the first version of the exporter API in CS4, but in CS5 it has been fixed.  The problem was in how the exporter host layer interpreted the parameters specified via the Export Param Suite.  So when making presets for your exporter, it would make sense to use CS5, since CS4 has the problematic behavior.  I haven't tried this, but bringing those presets from CS5 back to CS4 may solve the problem in CS4.
    So far we haven't had any need or request for two editable fields side-by-side.
    Sure, I can add that detail to the docs.
    Regards,
    Zac

  • How to make transparent SWF files ???

    Hi all, plz i have 2 questions ,,, First, how can i remove
    the title menu from the swf file so when i lanuch it (( locally not
    in a browser )) the upper bar which has the min,max,close buttons
    hidden,,, is that possible ??????
    Second, Is it possible to export a transperent flash movie
    ??? for example i want to make a flash movie in the shape of a
    circle ,, so when any one open the swf file just the circle appears
    without background or frame for the window,, Can i do this with
    flash ???
    Thanx alot...

    On Sat, 9 Feb 2008 08:17:13 +0000 (UTC), "Ghost Of Death"
    <[email protected]> wrote:
    >Hi all, plz i have 2 questions ,,, First, how can i
    remove the title menu from
    >the swf file
    I don't remember exactly, but you need to find a doc about
    fscommand
    paramers. There is such doc somewhere at Macromedia / Adobe
    websites.
    I saw it some time ago. The is a parameter like "mainmenu" or
    so,
    which can be "true" or "false". As far as I remember there
    was such
    thing.
    > Second, Is it possible to export a transperent flash
    movie ???
    Flash movie itself is "transparent" uless an explicit
    background shape
    is used. It is another question how to make Flash Player box
    to be
    transparent. Web browsers support so called windowless mode,
    but Flash
    Projector (SAFlashPlayer.exe) - does not.
    Personally I use my own projector, written in Delphi, which
    uses
    special third-party component, supporting windowless mode.
    There are
    other tools, supporting it. Try to search Google for
    "TFlashPlayerControl".

  • How to make embedded HTML form look normal?

    Hello,
    In Muse, if I Insert HTML code with:
    <form action="action_page.php">
    First name:<br>
    <input type="text" name="firstname" value="Mickey">
    <br>
    Last name:<br>
    <input type="text" name="lastname" value="Mouse">
    <br><br>
    <input type="submit" value="Submit">
    </form>
    …the form is displayed in my Muse page.  However, it doesn't look normal, meaning:
    - The text fields have no border and appear to be invisible until you start typing in them.
    - The Submit button size is minimal, wrapping tightly around the text, and there is no border or bevel.
    * I have experimented with specifying an HTML border and width in the above code, with no change in results.
    Basically, this HTML code looks normal in a regular .html page.  However, in a Muse page (with Insert HTML), the visual appearance of the form elements looks abnormal… stripped-down.
    Can anyone suggest a way to add HTML form content and make it look correct?  I don't want to use the Muse Form Widgets, because they all "require" the email field, and I don't want that capability.  Thanks for any suggestions.

    I answered my own problem.
    It seems that the solution is having knowledge of CSS, which I don't.  That's what Muse is supposed to provide, and I'm not a CSS expert.
    At http://www.ronpershing.com/blog/how-to-make-a-custom-contact-form-in-adobe-muse/ , Ron Pershing gives some very simple code on making it all work with Muse.  I'm not affiliated with him or his website, but since he was kind enough to publish a solution, his work should get some attention.

  • How to make a simple C program universal from the command line???

    Hi all,
    I've developed widgets that use a simple C program. I had no clue how to make it universal. Apple documentation is all about big projects to be developed inside Xcode and so on, but I don't understand even the introductory remarks...
    As far as I've read, I have to make a binary for PPC and a binary for i386, and then merge it with lipo. Fine. I get my PPC binary from:
    gcc-4.0 prog.c -o prog_ppc -lm -arch ppc -arch ppc64
    Now, it seems that I have to use:
    gcc-4.0 prog.c -o prog_i386 -lm -arch i386
    The latter command didn't work until I added -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/ at the end. With this, it creates a binary file, but with the following message:
    /usr/bin/ld: warning fat file: /usr/lib/system/libmathCommon.A.dylib does not contain an architecture that matches the specified -arch flag: i386 (file ignored)
    and I guess this is quite an issue if I don't have the common math functions, no?...
    Can somebody help me? I googled a lot on this, and found nothing helpful.
    Cédric

    Thanks, it helped me. I googled a bit to build up my Makefile, and this is what I got.
    CC= gcc-4.0
    CFLAGS= -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386
    LDFLAGS= -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -lm
    TARGETS= skycalc.fixed.c
    all: $(TARGETS)
    $(CC) $(TARGETS) $(CFLAGS) $(LDFLAGS) -o skycalc_universal
    Thanks again.

Maybe you are looking for

  • Automatic button activation

    Hi I know very little about Flash and must apologise in advance for what may be a very stupid question. I am using Dreamweaver to create a simple website and have used one of the standard Flash buttons from within Dreamweaver itself. After viewing it

  • Error rendeing JSP

    Hi All, Im using JSPDYNPAGE. Im getting this error while rendering my JSP. #1.5 #00E0ED0BA5EF007C00000B340000451600044F579C50F98A#1213137610143#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#BHARDWS#1916##n/a##798c7830373b11dd82790

  • Sort order for "News"

    I have the "News" Layout Set running. The sort order in the portal display is oldest top, newest at the bottom. Is there a way to change the order the other way around, without "Manual" intervention, i.e. not moving the news around by hand?

  • Ship-to Address in two different laguages

    Dear All, Can we maintain two different languages(English & Arabic) in ship-to address in sales order header level partners. scenario: our client requirement is at the time of sales order creation the ship-to addrss is changed in english languag, the

  • Where can I find HP Memories Disc for download? Uninstalling it caused problems.

    I uninstalled HP Memories Disc and now my computer prompts me to reinstall it when I open various unrelated programs.  It's supremely frustrating and the only solution seems to be to reinstall it.  However I have no idea where my discs are for this