Background Pictures in Disc Images

I've been trying to create a disc image using Disc Utility that displays a background image when you open it, similar to the kind used by many shareware apps distributed these days (ie. a picture that says "To install, drag this folder to your hard disk").
The problem is that I can't seem to get the background picture to "stick", as it were. I've set up a folder with a bg pic and dragged it onto Disc Utility to create a compressed disc image, but the background disappears when I open the finished product. I've tried altering the disc image once it's finished instead, but as soon as I eject it and re-load the image, it's lost its background picture.
I sort of managed to get this to work by creating an uncompressed read/write disc image with Disc Utility instead and then altering the contents with my background picture, but when I transfer it to another computer my settings have vanished. This isn't really an ideal solution anyway, though, as I would rather used a compressed image for internet distribution.
I've tried doing a search on this forum for similar queries, but most of them seem to concentrate on how to make the background picture a hidden file, which I'm not terribly concerned about. That, and I'm not all that keen on too much fiddling about in the Terminal...
So, can anyone help me here? How do those shareware developers make their custom disc images? Any help would be greatly appreciated. Thanks in advance!
- Greg
iMac G5 20 ALS   Mac OS X (10.4.7)  

Sorry, wrong forum!

Similar Messages

  • Background picture n problem on display other JInternal frame

    beginer;
    this is my code below n i compile it n the picture display correctly, but it seems to hide other internal frame as well, what wrong with my code :(, the problem is been specified between ? symbols
    public class InternalFrameDemo extends JFrame implements ActionListener {
    JDesktopPane desktop;
    public InternalFrameDemo() {
    super("InternalFrameDemo");
    int inset = 50;
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(inset, inset,
    screenSize.width - inset*2,
    screenSize.height - inset*2);
    Toolkit kit = Toolkit.getDefaultToolkit();
    Image icon = kit.getImage("ADD.gif");
    setIconImage(icon);
    //Set up the GUI.
    desktop = new JDesktopPane(); //a specialized layered pane
    createFrame(); //create first "window"
    setContentPane(desktop);
    setJMenuBar(createMenuBar());
    //Make dragging a little faster but perhaps uglier.
    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
    ImageIcon image = new ImageIcon("abc.jpg");
    JLabel background = new JLabel(image);
    background.setBounds(0, 0, image.getIconWidth(), image.getIconHeight());
    getLayeredPane().add(background, new Integer(Integer.MIN_VALUE) );
    JPanel panel = new JPanel();
    panel.setOpaque(false);
    setContentPane( panel );
    protected JMenuBar createMenuBar() {
    JMenuBar menuBar = new JMenuBar();
    //Set up the menu item
    return menuBar;
    public void actionPerformed(ActionEvent e) {
    else {
    quit();
    protected void createFrame() {
    Books frame = new Books();
    frame.setVisible(true);
    desktop.add(frame);
    try {
    frame.setSelected(true);
    catch (java.beans.PropertyVetoException e) {}
    protected void quit() {
    System.exit(0);
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    catch (Exception e) {
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    InternalFrameDemo frame = new InternalFrameDemo();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Display the window.
    frame.setVisible(true);
    tanz.

    This might be what you are trying to do:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.plaf.*;
    public class TestInternalFrame extends JFrame
         ImageIcon icon;
         public TestInternalFrame()
              icon = new ImageIcon("????.jpg");
              JDesktopPane desktop = new JDesktopPane()
                 public void paintComponent(Graphics g)
                      Dimension d = getSize();
                      g.drawImage(icon.getImage(), 0, 0, d.width, d.height, null);
              getContentPane().add( desktop );
              final JInternalFrame internal =
                   new JInternalFrame( "Internal Frame", true, true, true, true );
              desktop.add( internal );
              internal.setLocation( 50, 50 );
              internal.setSize( 300, 300 );
              internal.setVisible( true );
         public static void main(String args[])
              TestInternalFrame frame = new TestInternalFrame();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.setSize(400, 400);
              frame.setVisible(true);
    }

  • Background pictures do not show up on Singsnap when I open a song to listen to.

    When I click on a song to listen to on the site "Singsnap" some of the users have put pretty background pictures on their site but all I see is plain white, the background does not show up....It also does not show up on IE but it shows up beautifully on Google Chrome......Is there some setting I have disabled or what......The HTML is enabled...

    See:
    * [[Website colors are wrong]]
    * [[Websites look wrong]]
    * [[Images or animations do not show]]
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • Burn error (disc image)

    All of a sudden, iDVD 5.0.1 won't burn a disc image. Gets to some point through the process (might be half way, might be right through), then says, "Burning completed. Some errors were found during the burn process". Doesn't create any file at all. Have tried buring a few different projects, with the same result.
    Any clues?

    I am having exactly the same problem. My iDVD project started in iPhoto as a "saved slideshow". I have followed all of the steps as provided in two 3rd party manuals -- Jim Heid's "iLife '05" and David Pogue's "iMovie and iDVD 5 -- the Missing Manual". I have even done a "Project Archive" file as the basis to burn the iDVD to ensure that all the resources are together and available. My project consists of a 24 minute slideshow comprised of 230 photos all with "Burns Effect" panning and zooming and with a background music track. This was sent to iDVD from the iPhoto commands. The "Memories" theme was applied with text modification, changes to the font style text location and color, and changed audio selection. A second slideshow was added which consisted of an archive of all the photos used in the original, plus some added ones that were not used. This added a second button on the main menue with three sub-menues on a secondary menu, where the photos were automatically broken down by iDVD into three groups of photos of less than 100 each for a total playing time of approximately 6 minutes (1 sec per photo). The project was then saved and archived. Everything plays fine up to this point. The total memory of the saved archived project file is 2.86 Gb. The rendering and processing time for iDVD to create the disk image (.img) file exceeded 5 hours. I've tried to generate the disk image three times. Like Jim White, in one case after nearly 3 hours, the program put out an error message saying that errors had been encountered and the processing was being aborted. In the two other cases, the processing went the complete 5+ hours; gave a message that the "burning was finished, but that some errors had been found (on verification?) and produced NO FILE.
    I am using a Mac G4/1.25 Ghz MDD , Mac OS-10.4.2 with 768Mb RAM and 13.5 Gb of available hard drive storage at the beginning of disk image processing; with iPhoto 5.0.4 and iDVD 5.0.1.
    I have no experience with earlier versions of iDVD, so I can't say if this is a problem created by the 5.0.1 update, or the upgrade to Tiger. In any case, this is extremely poor error coding, especially considering the amount of time required for the image processing -- i.e.to state after 5 hours that an error was found which aborts or invalidates the burn without providing any clue as to what or where the error was -- this makes the entire software package of virtually NO VALUE.
    Your comments, please!

  • Error-29, Cannot burn a DVD or save a disc image from within FCPX using Mountain Lion

    Really stumped on this one.
    Running Mountain Lion, freshly downloaded version of FCPX, on a 2009 MacPro with 16 G RAM.
    Trying to share a 4 minute movie I edited.
    - No problem exporting as a quicktime move...worked fine
    - Big problem trying to either burn a DVD, save a disc image, or export to an Apple device.
    The progress bar gets about 90% complete, and then it stops and a message window comes up that says:
    There was an error burning your disc. The operation couldn't be completed. (DSPPublishing error-29)
    Thoughts?

    From Crash Analyzer:
    DSPPublishing error -29 (Final Cut Pro X)
    This error can occur when burning a disc if your menu has incompatible assets.
    Suggested Actions
    If your menu has a background image, make sure the image is not too large. Try reducing the size of the image and saving it as a JPEG or PNG.
    Report generated by Crash Analyzer in Pro Maintenance Tools

  • 6.0.3 Error During Disc Initialization for both DVD+R and Disc Image - Help

    I've been a mac user for a few years now, but I just bought a new MacBook, and my first superdrive! I'm all excited to test out the new hardware along with iDVD.
    I've made a rather simple DVD setup and the first time through it was encoding for about an hour and then it gave an error message which I don't recall other than it mentioned QT7. I ran updater, no new updates that I needed and I tried again, and from then on I've been getting the Error During Disc Initialization message when burning to my DVD+Rs or when I try and save as a disc image (yes, I've deleted the encoding assets). I have about 20GB free on HDD, and I'm trying to burn approx. 100min of video. I've rebooted multiple times, and I've remade my project a couple times but no dice.
    Any idears?
      Mac OS X (10.4.8)  

    What hardware do you have???
    You didn't answer Sue's question about free space on
    your start-up drive. You should have 20GB+ free.
    What are you sending to iDVD?
    Verbatim DVD-R, not DVD+R, are very reliable, unlike
    TDK and Memorex.
    Also look here:
    http://docs.info.apple.com/article.html?artnum=302925
    I am running on a 2.0 ghz MacBook with a SuperDrive using Sony DVD+R. I will definitely pick up some Verbatim DVD-Rs though to see if that makes iDVD happy.
    I have cleared up some room and now I have around 50GB free.
    I am trying to make a DVD of two seperate .mp4s of a soccer game. I have 3 pictures and two buttons.

  • IDVD can't create disc image

    I posted this in the iDVD forum and it was suggested that I also post it here, since its an FCP movie.
    (I use Final Cut Studio 5) Here is my iDVD post:
    (I have searched iDVD for solutions and have tried all i could find, as you'll read below, but still nothing worked for me, .....)
    I made 3 movies in Final Cut, exported them as stand alone movies. (This is the way I have done it in the past)... one is 43 minutes 16:9, one is 43 minutes letterboxed, other is 9 minutes 4:3. They had chapter markers in them.
    Created an iDVD project, widescreen format. Added the movies ( both by dragging and dropping and by 'add movie' command) and created a slideshow, with added audio.
    I 'Save as disc image' so i can burn several copies. This I have done a lot of times, in the past.
    Since Friday last, every attempt has given me an error: Multiplexor Error ...There was an error during muxing preparation (Project conversion) is the most common one. (I don't know how to access Terminal for more details)
    I have tried:
    • I first encoded at Professional setting .... error message
    • changed the encoding to High (to fit all three movies) ... read here that the Multiplexor error was due to the app not calculating the size right ... same error
    • removed the plist ... same
    • moved files off my hard drive for more space ... same result
    • removed the letterboxed movie to decrease size: same error
    • chapters: idvd did not recognize the FCP chapters (never had this problem before) so added ones in iDVD ... same error
    • removed idvd chapters... same result
    • went back to FCP and removed the chapters and re-exported the movies .. same result
    • change encoding to Best Performance (only 2 movies and slideshow now) ... same result
    • changed the theme ... same
    • removed the theme's audio... same result
    • reinstalled idvd ... same
    • brought the movies into iMovie, added chapters and exported (as QT movie to DV stream) ... same error, and the chapters disappeared again
    • saved the dvdproject in the Documents folder on my hard drive (thought this would do the trick as it had been on an external) ... same error
    I don't know what's left to try!!
    I'm doing all the things that I used to do but am having no positive results . The only thing that I have changed since the last dvd I made (a year ago) is upgrade to Leopard and Snow Leopard.
    Can anyone help me ... please? This is a commemorative project that is needed for an association's archive, so I can't not do it. I'm just at my wit's end and don't know what other measures to take. (other than use DVD Studio, and don't know how!)
    Thank you
    Elizabeth
    Added FCP info:
    movies were exported using QT conversion
    Format: QT Movie, default settings
    Options: size: NTSC 720x480 4:3 (for small movie)
    Settings: Best; Keyframes Automatic; H.264, 29.97 fps; no internet streaming.
    For 16:9 movie: same, but Size: Current (630x354)

    .... so when you all were telling me to use Compressor and DVD Pro, I went to the local McNally-Robinson and checked out the resources there.
    Found a Mac Genius book on FCP, which lightly touches on compressor, and an Apple Pro training book on DVD Pro 4, which also touches a bit on Compressor but gives specific instructions on settings to get me started (and which i have since experimented with).
    So I naturally bought them and have been reading in steps and then going to work. (That's why i haven't replied to you: wanted to be able to give you a report.)
    Since last week I have
    • compressed 2 movies, and recompressed the main one several times to fine tune the quality
    • made a dvd pro project (and 'saved as' in various versions and configurations) that has:
    • a 16:9 video with chapters, added in dvd pro
    • a 4:3 video with chapters( Dvd pro) converted to individual stories
    • a slideshow
    • a folder added to the dvd-rom with the photos used in the slideshow
    • an intro menu with my own livetype generated background movie (also used in the video)
    • the dvd template used changed to 16:9 instead of 4:3 aspect
    • 3 chapter menus for the 16:9 movie
    • a story menu for the 4:3
    • background music, different for different menus
    • remote control connections, for the tracks and the menu (that all work) (except for one problem that I have posted in the DVD forum)
    • built and formatted a few of the configurations to make disc images that then played in dvd player (but haven't burnt to disc yet as i am waiting to solve the final 'menu' button problem)
    Haven't done scripts or layered menus, or subtitles yet, and none of my work uses alternate angles, but i think I've got a fairly good handle on this now. And I think I'll use DVD Pro and Compressor from now on .... they're great and DVD pro is much more able to be individualized.
    I still need to experiment more with Compressor, tho', and to learn more about the compression codecs.
    (I don't like the quality of the Livetype segments in the 'send to QT' option form FCP, they're blurry. And the 'using Compressor' videos have nice crisp text, but there are residual lines in the edges of things wherever there is movement. I always set the Motion Estimation as 'best', and 2 pass VBR Best, and in the last one I tried, i set the Average bit rate at 7.6, max 8.9 and the GOP to IBP, size 7.
    Doesn't seem any different from the others, just a teeny bit larger in size. But i'm happy with it for now, no more time to tinker with this part on this project.)
    So thank you all for your help, and i will now start posting any problems with this (or any other) project to the other forums. (but I'll check back here again in case you have another bit of advice for me
    Elizabeth

  • Possible Fix for Disc Image Creation Problems

    I've noticed a number of posts describing problems similar to the one I had: with my first session with iDVD5, I tried creating an .img disc image (thanks to Apple, btw, for building that function in -- and for the new progress bars!), but it hung up all night long on the "Burn" task, and I had to force quit, leaving me with no image at all.
    I used disk image burning exclusively in iDVD4, because it allowed me to preview the result before committing it to a physical burn and prevented coaster-burning if something went wrong. I had had buffer problems when burning directly from iDVD -- but never with Disk Utility.
    Of course, in iDVD4, you cannot just burn a disk image using the app. Most are aware that using "Hurz" and "Pfurz" (see posts under iDVD4) provided a great workaround, however, and that's what I used.
    Well, it occurred to me that perhaps Hurz and Pfurz -- which basically interfered with iDVD4 to the user's advantage -- ought NOT to be in play with iDVD5. So I removed them from my user folder, et voila -- the very next time I tried the disk image function in iDVD5 (with the same project), it worked perfectly.
    But I can only SUSPECT that this was the solution, unfortunately, because of the fact that an automated maintenance script had repaird my permissions in the meantime. The problem might have been permission troubles resulting from installation.
    I do know this: removing Hurz and Pfurz and repairing the permissions worked for me. Hope it does for some others as well!

    Thanks, Len. I kind of wish Apple would make a bigger deal of this. Repairing permissions fixes ALL KINDS OF THINGS! And it is a VERY good idea to do it regularly.
    Like you, I do it once a week, using a wonderful freeware utililty called Onyx (search MacWorld or Google for it), which has a number of advantages over Disk Utility.
    In the first place, it will execute all the maintenance scripts as well. You might know that OSX has a number of scripts it runs in the background for maintenance, some daily, some weekly, and some monthly. But they are generally set to run late at night, which means you need to leave the computer ON and AWAKE. I don't do this as much as I should, so running Onyx ensures that these scripts get run. Since using Onyx, I have NEVER had a crash.
    Secondly, I can schedule it to do all this automatically, which is great - because I'm getting old . . . and I forget things. . . .

  • Can't do a save as disc image

    I have iMovie '09 (8.0.6) iDVD 7.1.2 and am having a problem saving a large file (3.9gb) as a disc image. This file was made in iMovie with chapters and I "Shared to Media Browser" (I am using the .m4v file).I did a short (2 min.) test file in iDVD to make sure I could get the chapters to work and save a disc image before doing the large project. The short test project successfully saved a disc image and I was able to see it with the DVD player. When I try to save as a disc image the time remaining is 37 min (I have a main menu and 2 sub menus) and the process quits after "rendering menu video asset". It is like there is no movie file inserted. Can anyone tell me what I am doing wrong, or not doing right. Thanks for any help you can provide.

    The file is .m4v and 71 min long.
    • .m4v is also a container - Please open it with QuickTime Player and open Inspector and read in what codec it is.
    • 71 min long - iDVD doesn't care about Gbs at all only time and this is Movie time AND MENU Time (as this can take 15 minutes and even more from the project) AND the various Encoding Qualities has different acceptance in time as:
    iDVD 08, 09 & 11 has three levels of qualities. (version 7.0.1, 7,0.4 & 7.1.1) and iDVD 6 has the two last ones
    • Professional Quality
    (movies + menus up to 120 min.) - BEST (but not always for short movies e.g. up to 45 minutes in total)
    • Best Performances
    (movies + menus  less than 60 min.) - High quality on final DVD (Can be best for short movies)
    • High Quality (in iDVD08 or 09) / Best Quality (in iDVD6)
    (movies + menus up to 120 min.) - slightly lower quality than above
    Menu can take 15 minutes or even more - I use a very simple one with no audio or animation like ”Brushed Metal” in old Themes.
    About double on DL DVDs.
    The menu (theme?) is called scrapbook and there is audio and no photos.
    • I use an as simple Menu possibly and no animation or Audio on this e.g. Brushed Metal from old themes
    Also there is over 600 GB free.
    • Great - my minimum is 25Gb free space - AND it is ONLY the Start-Up (Mac OS) hard disk that counts as neither Mac OS or iDVD can address any other for their temp. files.
    I sat and watched it save to disc image again, and it did work;
    • If You got a DiskImage that works OK then You can use Disk Util tool to burn it onto a DVD
    I captured the movie from a VHS tape; I'm converting old home movies. By the end of the tape the audio is not in sync with the video.
    • here You do as in so many Q: - anticipate that I/We are Magic in a way or two. You have to describe from VHS/VCR - step by step how Your material ended up in What Video-editor ?
    Use of A/D-box - brand and type
    Use of DVD-Recorder - brand and type AND IN WHAT Codec material is burned to DVD
    Use of iMovie HD6 (very very good for VHS to DVD - near to ZERO loss in quality)
    Use of iMovie08 to 11 - Not the choice of me as You lose every second line in the picture and it can not deliver full interlaced video over to iDVD any way known to me.
    Use of FinalCut - and project set up as HOW ?
    AND - way from this to iDVD - I NEVER use "Share to iDVD" as result will Suffer.
    As You see - there are lot's of info needed to be able to be of help.
    I use a A/D-Box (Canopus/Grass Valley ADVC-300) as this has two Major functions not found on cheaper solutions
    • Repairs broken TimeCode
    a. No Baby-sitting during Capture
    b. Audio keep in Full Sync.
    • Program added that enhance picture quality during Import/Capture.
    I'm not sure how to fix that other than to capture in smaller segments and link them together in iMovie. I have already captured all the segments and am now in the process of creating the movie file to use in iDVD.
    • Might work but way to tedious for me.
    Yours Bengt W

  • BackGround picture for a Swing application??

    hi,
    once I got a nice idea while watching some webpages. we can give a background picture for a webpage in <body> tag?
    I want to do same thing for any Swing application. Currently I am working on that issue. Any suggestions are welcome!!
    santhosh

    Hi everybody!
    Finally I got it. now Using this We can enable background for any swing application.
    the complete code is shown here. If you have any problems regarding this code, please mail to [email protected]
    /******************************[TexturedImageIcon.java]***********************/
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import javax.swing.*;
    /* this is used to generate a tiled image from a given image file.*/
    public class TexturedImageIcon extends ImageIcon
         private Dimension size = new Dimension(10, 10);
         BufferedImage bimg1,bimg;
         Graphics2D g2;
         ComponentListener cl = new ComponentAdapter(){
              public void componentResized(ComponentEvent ce){
                   Component c = (Component)ce.getSource();
                   size = c.getSize();
                   createImage();
         public void setImage(String filename){
              super.setImage(new ImageIcon(filename).getImage());
              bimg1=null;
              createImage();
         public TexturedImageIcon(Component comp, Image img){
              super(img);
              addListener(comp);
         public TexturedImageIcon(Component comp, String filename){
              super(filename);
              addListener(comp);
         public TexturedImageIcon(Component comp, URL url){
              super(url);
              addListener(comp);
         private void addListener(Component comp){
              comp.addComponentListener(cl);
         private void createImage(){
              bimg = new BufferedImage(size.width, size.height, BufferedImage.TYPE_INT_RGB);
              g2 = bimg.createGraphics();
              Rectangle2D rect = new Rectangle2D.Float(0,0,size.width-1, size.height-1);
              Rectangle2D tr = new Rectangle2D.Double(0,0,super.getIconWidth(), super.getIconHeight());
              if(bimg1==null){
                   bimg1 = new BufferedImage(super.getIconWidth(), super.getIconHeight(), BufferedImage.TYPE_INT_RGB);
                   Graphics2D g = bimg1.createGraphics();
                   g.drawImage(super.getImage(), null, null);
              TexturePaint tp = new TexturePaint(bimg1, tr);
              g2.setPaint(tp);
              g2.fill(rect);
         public int getIconWidth(){ return size.width; }
         public int getIconHeight(){ return size.height; }
         public Image getImage(){
              System.out.println("asked");
              return bimg;
         public void paintIcon(Component c, Graphics g, int x, int y){
              Graphics2D g2d =(Graphics2D)g;
              g2d.drawImage(bimg, null, null);
         public static void main(String[] args){
              JFrame f = new JFrame();
              f.setSize(300,300);
              JLabel label = new JLabel();
              label.setBackground(Color.white);
              label.setBorder(BorderFactory.createRaisedBevelBorder());
              label.setIcon(new TexturedImageIcon(label, "world2.gif"));
              f.getContentPane().setLayout(new BorderLayout());
              f.getContentPane().add(label, BorderLayout.CENTER);
              f.show();
    /*********************************[JFCUtils.java]************************/
    /*The main logic to enable background picture lies in this class*/
    public class JFCUtils{
         public static ContainerListener cl = new ContainerAdapter(){
              public void componentAdded(ContainerEvent ce){
                   JComponent child = (JComponent)ce.getChild();
                   child.setOpaque(false);
                   child.addContainerListener(this);
                   addlisteners(child);
         public static TexturedImageIcon enableBackGround(JFrame f, String filename){
              ((JPanel)f.getContentPane()).setOpaque(false);
              JLayeredPane lp = f.getLayeredPane();
              JLabel label = new JLabel();
              TexturedImageIcon icon = new TexturedImageIcon(label, filename);
              label.setIcon(icon);
              JPanel panel = new JPanel(new BorderLayout());
              panel.add(label, BorderLayout.CENTER);
              lp.add(panel, new Integer(Integer.MIN_VALUE));
              Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
              panel.setBounds(0, 0, screen.width,screen.height);
              addlisteners((JComponent)f.getContentPane());
              return icon;
         private static void addlisteners(Component c){
              c.toString();
              if(c instanceof JComponent) ((JComponent)c).setOpaque(false);
              if(c instanceof Container){
                   Container ct = (Container)c;
                   ct.addContainerListener(cl);          
              for(int i=0; i<ct.getComponentCount(); i++){ //recursivly make all subcomponents transparent
                   Component child = (Component)ct.getComponent(i);
                   addlisteners(child);
         public static void main(String[] args){
              JFrame f = new JFrame();
              enableBackGround(f, "bg.jpg");
              JButton b = new JButton("fdfdfdfd");
              f.getContentPane().add(b, BorderLayout.NORTH);
              f.setSize(300,300);
              f.show();
    /*************************************[UserDialog.java]**************************/
    //to check how a swing application with background looks like
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class UserDialog extends JDialog
         JPanel contents = (JPanel)getContentPane();
         JTextField shortField = new JTextField(20);
         JTextField nameField = new JTextField(20);
         JTextField emailField = new JTextField(20);
         JTextField smtpServerField = new JTextField(20);
         JTextField pwdField = new JPasswordField(20);
         JTextField pwdField1 = new JPasswordField(20);
         boolean okay = false;
         public UserDialog(JFrame owner){
              super(owner, "New User Details", true);
              initComponents();
              pack();
              setResizable(false);
         public UserDialog(JDialog owner){
              super(owner, "New User Details", true);
              initComponents();
              pack();
              setResizable(false);
         private void initComponents(){
              JPanel west = new JPanel(new GridLayout(0, 1));
              west.add(new JLabel("Short Name"));
              west.add(new JLabel("Full Name"));
              west.add(new JLabel("Email"));
              west.add(new JLabel("SMTP Server"));
              west.add(new JLabel("Password"));
              west.add(new JLabel("Confirm Password"));
              JPanel east = new JPanel(new GridLayout(0, 1));
              east.add(shortField);
              east.add(nameField);
              east.add(emailField);
              east.add(smtpServerField);
              east.add(pwdField);
              east.add(pwdField1);
              JPanel south = new JPanel();
              JButton ok = new JButton("Ok");
              JButton cancel = new JButton("Cancel");
              south.add(ok);
              south.add(cancel);
              contents.setBorder(JFCUtils.border);
              contents.setLayout(new BorderLayout(10, 10));
              contents.add(west, BorderLayout.WEST);
              contents.add(east, BorderLayout.EAST);
              contents.add(south, BorderLayout.SOUTH);
              ActionListener al = new ActionListener(){
                   public void actionPerformed(ActionEvent ae){
                        okay = ae.getActionCommand().equals("Ok");
                        setVisible(false);
              ok.addActionListener(al);
              cancel.addActionListener(al);
         private void clearFields(){
              shortField.setText("");
              nameField.setText("");
              emailField.setText("");
              smtpServerField.setText("");
              pwdField.setText("");
              pwdField1.setText("");
         public User getUser(){
              clearFields();
              okay = false;
              show();
              if(okay) return new User(shortField.getText(), nameField.getText(), emailField.getText(), smtpServerField.getText(), pwdField.getText());
              else return null;
         public static void main(String[] args){
              Dialog dlg = new UserDialog();
              TexturedImageIcon ticon = JFCUtils.enableBackGround(f, "bg.jpg");.show();
              //we can change the background picture by calling ticon.setImage(...) at runtime.

  • How do I add a background picture til my swing CUI

    How do I add a background picture til my CUI. I�m using Swing - not using any JPanel.
    Here my code:
    class Start extends JFrame implements ActionListener
         JButton soeg, tilfoj, afslut;
         JTextField beskedText;
         JLabel besked;
         private Image baggrund;
         public Start()
              setTitle("Video Registrerings System");
              setSize(300,250);
              setVisible(true);
              addWindowListener(new WindowAdapter()               // Opretter vinues "lytter"
                   public void windowClosing(WindowEvent e)
                        System.exit(0);
              Container c;
              c = getContentPane();
              c.setLayout(null);
              try
                   URL imagename = new URL("file:/c:/jdk1.3.1_02/java/vrs_background.jpg");
                   baggrund = createImage((ImageProducer) imagename.getContent());
              catch (Exception e) {}
              // Tilf�jer knapperne
              tilfoj = new JButton("Tilf�j ny video");
              tilfoj.setBounds(75,110,150,25);
              tilfoj.setVisible(true);
              tilfoj.addActionListener(this);
              c.add(tilfoj);
              soeg = new JButton("Video s�gning");
              soeg.setBounds(75,145,150,25);
              soeg.setVisible(true);
              soeg.addActionListener(this);
              c.add(soeg);
              afslut = new JButton("Afslut");
              afslut.setBounds(75,180,150,25);
              afslut.setVisible(true);
              afslut.addActionListener(this);
              c.add(afslut);
              //Tilf�jer tekstfelt og label
              besked = new JLabel("Besked:");
              besked.setBounds(10,45,50,25);
              besked.setVisible(true);
              c.add(besked);
              beskedText = new JTextField(" V�lg en af de nedenst�ende knapper");
              beskedText.setBounds(65,45,215,25);
              beskedText.setVisible(true);
              c.add(beskedText);
         }

    Here is a link that might help you:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=219443

  • Can iDVD create disc images from VIDEO_TS folder, and burn them?

    That first question is pretty self-explanatory.
    Background is this: I've downloaded some video folders/files from forum/torrent trading websites. When finished, I have a VIDEO_TS folder, often an EXTRAS_TS folder as well. A while back, I downloaded the app DVD IMAGER to create a disc image. Yesterday that stopped working effectively, so maybe I need to re-download, but I was wondering if there's just a better way? I also downloaded the app called BURN, but can't see yet how that creates disc images.
    Once I create that disc image, I need to burn it, and I was using Disk Utility for that. I'm really looking for some help and advice on the best way to perform these processes.
    Thank you, and let me know if I need to post in another forum.

    Additionally, do you have experience w/ DVD Imager?
    Nope. Like I said, Roxio's Toast Titanium is the top application (and is probably the one that most experienced people use).

  • Regarding Background Picture in ALV

    Hi..
    How to set the background picture in ALV.
    Regards
    Sandeep.

    have loaded the background image to be displayed in ou ALV reports using transaction OAER and passed the object to th call function 'REUSE_ALV_GRID_DISPLAY' in the report program
    also other way is
    Steps for uploading Logo :-:
    1.  Goto the transaction OAER
    2.  Enter the class name as 'PICTURES'
    3.  Enter the class type as 'OT'
    4.  Enter the object key as the name of the logo you wish to give
    5.  Execute
    6.  Then in the new screen select Standard doc. types in bottom window
         Click on the Screen icon 
         Now, it will ask for the file path where you have to upload the logo
    7.  Now you can use this logo in REUSE_ALV_COMMENTARY_WRITE
    or 
    Import Logo and Background Picture for Reporting
    In this step, you can import a customer-specific logo and a background picture into the R/3 System. These will be displayed in the header area of reports in HR Funds and Position Management.
    From the SPRO: 
    HR Funds and Position Management --> Dialog Control --> Customize Reporting Interface --> Import Logo and Background Picture for Reporting.
    Activities
    1. Enter the Name of your logo/background picture as an object key in the initial screen.
    2. Make sure that the class name is PICTURES, and the class type is OT.
    3. Choose Execute.
    4. Double-click the document type Picture on the Create tab page.  A dialog box will appear in which you can enter the path in which the logo/background picture can be found.
    5. Enter the path and choose Open.  The logo will be uploaded into the current R/3 System. If the logo/background picture is to be transported into other systems as well, choose Transport.
    6. Return to the initial screen and repeat the procedure after having entered the Name of your background picture as an object key.
    Please note that the logo/background picture can only be displayed in ALV-based reports with an HTML header. Manually programmed reports such as business distribution plans are not based on the ALV.
    If you have selected several initial objects, ALV-based reports in HR Funds and Position Management will automatically use a hiearchical-sequential display. A logo is not displayed here either. Note also that the logo cannot be printed (see print preview in program).
    Make sure that the logo does not exceed a height of 100 pixels because it would mean that the header of the report will be scrollable.

  • Dynamic change in Background Picture for Smartform

    Hi,
    I need to keep a background Image in smartform only in specific condition.
    I have done like this :
    I have taken one variable in the intialization and I am filling with the image name for a specific condition.
    This variable , I am giving it in the Background Picture Tab.
    But I am getting run time error as Graphic cannot be displayed.
    Here I am giving the code In the initialization:
    Here p_obnam is my variable of type TDOBNAME
    SAMPLE is my image name which is in SE78
    CASE p_biltyp.
        WHEN 'ZRE' OR
             'G2'.
          p_obnam = space.
        WHEN 'ZF5'.
          p_obnam = 'SAMPLE'.
        WHEN OTHERS.
          p_obnam = 'SAMPLE'.
      ENDCASE.
    Please let me know...how can I do this.
    Regards
    Sandeep

    Hi,
    In the Initialization tab specify the condition..
    ex:
        if you want to print the symbol of the currency in the background according to the currency..
    if w_currency = 'USD'. "---->Data received
    w_name = 'DOLLAR'   "--->Image in SE78
    elseif w_currency = 'INR'.
    w_name = 'RUPEE'.   "--->Image in SE78
    endif.
    now you mention w_name as &w_name& in the background picture of the smartform.
    This will print the symbol according to the currency you received from the driver program or in the smartform itself.
    Thanks & Regards
    Sarves

  • Background Pictures in Publisher 2010

    I am currently trying to create a background using a picture in Publisher 2010. I go through formatting and creating a background and selecting the picture I want to use which is a single image but publisher keeps breaking it into a series of repeated
    images. Is there a way to have this not happen?

    I insert a picture onto a page but cannot reproduce it in my Publisher 2010, please detail the exact steps how you get here. Try to adjust the background picture to full-screen, does it work?
    The following article may also help you:
    http://support.microsoft.com/kb/198256/en-us
    Tony Chen
    TechNet Community Support

Maybe you are looking for

  • Apple ID needs to be entered every time

    Hi there, Since my update from iOS 5 to iOS5.1.1 I experience that the ipad is asking me permanently for my apple id details when I start or re-launch an app. I find this very annoying. Can sb tell me how I can switch this off? Thx.

  • Xcode 4 will not install

    I have been trying for 2 days trying to install Xcode 4. I downloaded it from the AppStore. When it gets halfway done I get an error message .../var/log/install.log. I have read some forms and tried a number of troubleshooting tasks. 1.delating, down

  • Error in J2EE SERVER

    Hi Experts, when i starting the j2ee server the error is comming but the visual administrator is working 1)) i found the error in E:\usr\sap\ECC\DVEBMGS01\j2ee\admin\logviewer-standalone\server #1.5#C000AC1F643C0000000001F1005E13AD0004398D9AD41970#11

  • Password guessed wrong 10 times all content deleted. how can i get my pictures back

    I need to know how to get my pictures back after they have all been deleted cuz my bratty niece kept typing in the wrong pw to my phone, i just care about the pictures

  • Parameter to bypass "welcome" screen.

    Is there a parameter dor the shortcut "C:\Program Files\Adobe\Elements 9 Organizer\Photoshop Elements 9.0.exe" to bypass the "welcome" screen ? Thanx very much.