Change info displayed on splash screen Help-- About

When I open NI Multisim and click on Help-->About, the splash screen displays the following information in the upper left hand corner of the splash screen:
test
Benjamin Franklin Institute
Serial#
How/where do I change the word "test" so that it doesn't appear on all the classroom PCs?  Where is the source of the identifying information that appers on the splash screen?
Thanks.

Hello,
In this case “test” is making reference to the Register Owner. This information is requested during the installation process. You will be able to modify this information by modifying a key in the Windows Registry.  Please refer to the link below for more information.
http://digital.ni.com/public.nsf/allkb/0385A6FBAADE844286256DDB0066FCE8?OpenDocument
Regards,
MCOTO

Similar Messages

  • Help displaying a splash screen.

    Hi Guys.
    I need help displaying a splash screen as an advertisment or something before i have my main application run.
    Here is the code i wrote (it works as if it were a seperate application)
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package MajourProject;
    import java.awt.AWTException;
    import java.awt.Dimension;
    import java.awt.Robot;
    import java.awt.Toolkit;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JProgressBar;
    import javax.swing.JScrollPane;
    import javax.swing.JWindow;
    * @author Matt
    public class SplashScreen extends JWindow
        public SplashScreen()
    Start();
        public void Start(int UpTime)
            ImageIcon ii = new ImageIcon("src/1.jpg");
              JScrollPane jsp = new JScrollPane(new JLabel(ii));
                    JProgressBar Bar = new JProgressBar();
              getContentPane().add(jsp);
              setSize(853,303);
              centerScreen();
              setVisible(true);
                   try
                                Thread.sleep(20000);
                               dispose();
                   catch(Exception IE)
            private void centerScreen()
                    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
                    int x = (int) ((d.getWidth() - getWidth()) / 2);
              int y = (int) ((d.getHeight() - getHeight()) / 2);
              setLocation(x, (y-100));
           public static void main(String [] args)
                 new
    }

    And there's a problem with that code, is there?
    I don't really feel like running the code to find out what that problem might be, so let me just point out that splash screens are built into Java 6. Adding a splash screen to your program requires nothing more than using a command-line argument to point at the image file.

  • Displaying a Splash Screen

    Hi:
    I have an application which takes sometime to load and decided to display a splash screen. The splash screen is a simple JFrame with a JPanel within. The splash screen is displaying but it�s not being painted at all. A grey box with the splash screen size is displayed.
    Following is the code from where I�m calling both the splash screen and the application.
        private static void startApplication() {
            SplashScreen splashScreen = new SplashScreen();
            System.out.println("Loading...");
            splashScreen.setUndecorated(true);
            splashScreen.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            splashScreen.pack();
            splashScreen.setLocationRelativeTo(null);
            splashScreen.setVisible(true);
            try {
                Application application = new Application();
                splashScreen.setCompleted(0.2);
                System.out.println("Loading Database...");
                application.initDatabase();
                System.out.println("Loading of Database Complete...");
                splashScreen.setCompleted(0.5);
                application.initActions();
                splashScreen.setCompleted(0.6);
                application.initToolBar();
                splashScreen.setCompleted(0.7);
                application.initMenuBar();
                splashScreen.setCompleted(0.8);
                application.initComponents();
                splashScreen.setCompleted(0.9);
                application.setDefaultCloseOperation(Application.DISPOSE_ON_CLOSE);
                application.setTitle("Password Keeper");
                application.setUndecorated(false);
                application.pack();
                application.setLocationRelativeTo(null);
                splashScreen.setCompleted(1);
                application.setVisible(true);
            }catch(ClassNotFoundException e) {
                System.err.println("Failed to load the required classes.");
                JOptionPane.showMessageDialog(splashScreen, "Failed to load the required classes.", "Loading Application", JOptionPane.ERROR_MESSAGE);
            }catch(SQLException e){
                System.err.println("Failed to load the required classes.");
                JOptionPane.showMessageDialog(splashScreen, "An error occured while connecting with the database.", "Loading Application", JOptionPane.ERROR_MESSAGE);
            System.out.println("Application Started...");
            splashScreen.setVisible(false);
            splashScreen.dispose();
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    startApplication();
        }The problem started to show up when the application was included. This works fine when the splash screen is displayed by itself.
    Albert Attard

    A grey box with the splash screen size is displayed.would indicate you have your "application which takes sometime to load" in the
    EDT, which will prevent painting until loading finishes
    use a separate thread to load the data
    http://java.sun.com/docs/books/tutorial/essential/threads/
    http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html
    http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html

  • Splash screen HELP!!!!

    I am trying to implement a splash screen but cannot get it to be displayed....and also how do I get ito appear for a certain before it being disposed.
    JWindow splash = new JWindow();
         JLabel image = new JLabel(new ImageIcon("images/splash.jpg"));
         splash.getContentPane().add(image, BorderLayout.CENTER);
         splash.setVisible(true);
    thanks
    siraj

    Hi!
    I post code of a splash screen I'm using. I expect it helps you:
    import java.awt.*;
    public class SplashWindow extends Window implements Runnable {
         private Thread runner;   
         private Image splashIm;   
         private StringBuffer Message;   
         private Image Buffer;   
         private Graphics gBuffer;   
         private int animationStep;
         private int width;
         private int height;
         public SplashWindow(Frame parent, Image splashIm) {       
              this(parent, 400, 222, splashIm);
         public SplashWindow(Frame parent, int width, int height, Image splashIm) {       
              super(parent);
              this.width = width;
              this.height = height;
              this.splashIm = splashIm;       
              setSize(width,height);
              animationStep = 0;       
              /* Center the window */       
              Dimension screenDim = Toolkit.getDefaultToolkit().getScreenSize();       
              Rectangle winDim = getBounds();       
              setLocation((screenDim.width - winDim.width) / 2, (screenDim.height - winDim.height) / 2);
              setVisible(true);       
              toFront();       
              start();   
         //Used for flicker-free offscreen drawing   
         public void addNotify() {       
              super.addNotify();       
              Buffer = createImage(width, height);
              gBuffer = Buffer.getGraphics();   
         public void buildBuffer() {     
              if (splashIm != null) {       
                   gBuffer.setColor(Color.white);       
                   gBuffer.fillRect(0, 0, width, height);
                   gBuffer.drawImage(splashIm,0,0,this);       
                   drawAnimation();               
                   //Overlay a cute animation       
                   gBuffer.setColor(Color.white);       
                   gBuffer.drawString(Message.toString(), (width/20), (height-8));
         public void drawAnimation() {     
              if (gBuffer == null)       
                   return;     
              if (animationStep < 0)       
                   animationStep = 399;     
              for (int i=0; i<400; i++) {       
                   int thisColor = (int)(((float)(animationStep + i))/(float)400 * (float)256);       
                   while (thisColor > 255) {         
                        thisColor = thisColor-256;       
                   while (thisColor < 0) {         
                        thisColor = thisColor+256;       
                   gBuffer.setColor(new Color(0, 0, thisColor) );
                   gBuffer.drawLine(i, (width/2), i, height);
         public void paint(Graphics g) {     
              if (Buffer != null)       
                   if (g != null)         
                        g.drawImage(Buffer, 0, 0, this);   
         // Use this to change the status message. Note that the redraw   
         // is done elsewhere (FYI, inside the animation thread below)   
         public void setMessage(String message) {     
              Message = new StringBuffer(message);   
         public void start() {
              runner = new Thread(this);     
              runner.start();   
         public void stop() {
              runner.interrupt();     
              runner = null;   
         public void run() {
              try { 
                   while (!Thread.interrupted()) {           
                        buildBuffer();                 
                        //Build the offscreen buffer           
                        this.paint(this.getGraphics());
                        //Draw the offscreen buffer           
                        animationStep-=8;           
                        Thread.sleep(40);        
              catch(InterruptedException e) {}   
         protected void finalize() {     
              stop();     
              this.splashIm.flush();     
              this.splashIm = null;     
              Buffer.flush();     
              Buffer = null;   
    }I use this splashscreen through this class:
    import java.awt.*;
    public class SplashScreen extends javax.swing.JFrame {
         private SplashWindow sw = null;
         public SplashScreen(String titulo, String imagen, int w, int h) {
              super(titulo);
              setSize(w,h);
              Dimension screenDim = Toolkit.getDefaultToolkit().getScreenSize();
              Rectangle frameDim = this.getBounds();
              setLocation((screenDim.width-frameDim.width)/2,(screenDim.height-frameDim.height)/2);
              MediaTracker mt = new MediaTracker(this);
              Image splashIm = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource(imagen));
              mt.addImage(splashIm,0);          
              try { 
                   mt.waitForID(0);
              catch(InterruptedException ie) {}
              sw = new SplashWindow(this, w, h, splashIm);
         public void setMensaje(String mensaje) {
              if (sw != null)
                   sw.setMessage(mensaje);
         public void cerrar() {
              sw.dispose();
              this.setVisible(false);
              this.dispose();
    }Maybe some code are in spanish, but you can easily translate to english.
    Regards.

  • How to display different Splash Screen depending on the Locale?

    Hi,
    I have a splash screen which is working fine.
    I want to display different spalsh screen depending on the locale the user has.
    Is this possible.
    I can display different Title,Description and the text of the short-cut icon on desktop and startup Menu based on the locale by mentioning it in the JNLP and altering my browser settings. I am not able to use the icon and splash screen corresponding to the specified locale. How to do this?
    EX:
    <information>
    <title> In english</title>
    <description> In english</description>
    <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop/>
    <menu submenu="My Project in English language"/>
    </shortcut>
    *<icon kind="shortcut" href="images/icon_english.gif"/>
    <icon kind="splash" href="images/splash_english.jpg"/>*
    <!-- locale="nl-NL" specifies dutch -->
    </information>
    <information locale="nl-NL">
    <title> In Dutch</title>
    <description>In Dutch</description>
    <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop/>
    <menu submenu="My Project in Dutch language"/>
    </shortcut>
    *<icon kind="shortcut" href="images/icon_dutch.gif"/>
    <icon kind="splash" href="images/splash_dutch.jpg"/>*
    </information>
    *Now here i am not getting the splash_dutch screen for the locale "nl-NL"(Dutch) and i am getting splash_english screen.
    Can we acheive this?*

    Hi anjali...
    I have problem with splash screen..
    here is my jnlp file
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/MyProject">
         <information>
              <title>MyProject1.0</title>
              <vendor>none</vendor>
              <description>Application Launcher For MyProject1.0</description>
              <description kind="short"></description>
              <offline-allowed />
              <icon kind="splash" href="images/Splash_MyProject.jpg" width="560" height="300"/>
         </information>
         <resources>
              <jar href="SwingApplication/mysql-connector-java-5.0.6-bin.jar" />
              <jar href="SwingApplication/MyProject1.0.jar" main="true"/>
              <jar href="SwingApplication/liquidlnf.jar" />
              <j2se version="1.6+" java-vm-args="-Xms32M -Xmx256M " />
         </resources>
         <security>
              <all-permissions/>
         </security>
         <application-desc main-class="com.mobius.ui.MainWindow">
              <argument>production%0%3#com.mysql.jdbc.Driver#MyProject4%jdbc:mysql://10.100.1.89:3306/MyProject4%MyProject%info123#MyProject2%jdbc:mysql://10.100.1.89:3306/MyProject2%MyProject%info123</argument>
         </application-desc>
    </jnlp>my post is in
    http://forum.java.sun.com/thread.jspa?threadID=5298381
    http://forum.java.sun.com/thread.jspa?threadID=5298466
    I am in big problem Help me...
    Edited by: arunnprakash on May 22, 2008 1:28 PM
    Edited by: arunnprakash on May 22, 2008 1:28 PM

  • No display or splash screen

    Compaq Presario sr5703wm, Windows Vista 32-bit,
    Repalced fuse in power supply. Removed password by jumper on motherboard. Booted fine 6-7 times. Next boot had no display on monitor- no splash screen, nothing. Checked for VGA connections -OK. Checked monitor on another computer-OK. When computer turned on all fans running CD/DVD light blinks momentarily, hard drive spins up. Attempted to do recovery using disc and CD/DVD drive does not run. Have tried reset Bios with no resolution.
    HELP PLEASE!  Thank you

    Hello, 
    I understand that your pc will not boot but you do hear the fans and also see lights on the cd/dvd drive blinking momentarily. I appreciate you already testing out the monitor to confirm it works with another pc. 
    When you attempted to run the recovery using the disc did the monitor show any images?
    You also mentioned resetting the bios. Did the bios menu physically show up on the monitor or could you not see it on the screen? Also take a look at your keyboard and see if there lights that flash in somewhat of a pattern. (ie. caps lock, num lock)
    I am thinking there might be an issue with the graphics card which I’m, showing is integrated to the motherboard. 
    I have inserted a link that will provide you with more steps you try. 
    I recommend you start with step 5 because the majority of the steps above you have already done. (See below)
    Step 5: Reseat loose internal components
    If the computer case was recently serviced or moved, a card, cable, memory module, or processor may have become loose. When this happens, the computer might make a beeping sound when turned on. Use the following steps to check for loose components:
    Let me know if this helps you. If you have any questions feel free to let us know. 
    Thanks 
    Clicking the White Kudos star on the left is a way to say Thanks!
    Clicking the 'Accept as Solution' button is a way to let others know which steps helped solve the problem!

  • Problem with displaying a splash screen twice

    I have a splash screen that displays while I am reading data from the recordstore, I use the same sceen when I am writing data back to the record store when the application exits.
    The problem I am having is that the screen never appears the second time, I have tried to set it to null and then instantiate it again but it still does not appear. Can someone please give me some adivse as to why this might be happening. I am pretty sure it is some kind of race condition with the threads but I just cant seem to solve it. I am placing snipits of code below.
    public class NetTools extends MIDlet implements CommandListener
    public void startApp()
    isPaused = false;
    display = Display.getDisplay(this);
    splash = new Splash();
    splash.start();
    settings = new Settings(this);
    settings.start();
    display.setCurrent(splash);
    splash.StartTimer();
    splash.setMsg("Loading Settings...");
    settings.Load();
    splash.setMsg("Loading Main App...");
    splash.Dismiss();
    showMainScreen();
    splash = null;
    public void destroyApp(boolean unconditional)
    display = Display.getDisplay(this);
    splash = new Splash();
    splash.start();
    display.setCurrent(splash);
    splash.setMsg("Saving Settings...");
    //splash.Join();
    //splash.StartTimer();
    settings.Save();
    //splash.Dismiss();
    settings = null;
    splash = null;
    public class Settings implements Runnable
    public void Load()
    try
    thread.yield();
    public void Save()
    try
    thread.yield();
    public class Splash extends Canvas implements Runnable
    public void StartTimer()
    start_time = System.currentTimeMillis();
    repaint();
    serviceRepaints();
    public void Dismiss()
    while ((start_time+WAIT_TIME)>System.currentTimeMillis())
    repaint();
    I cannot seem to figure out how to make the thread for the splash overtake the UI thread in the destroyApp(), does anybody have any ideas.
    Sunny

    A grey box with the splash screen size is displayed.would indicate you have your "application which takes sometime to load" in the
    EDT, which will prevent painting until loading finishes
    use a separate thread to load the data
    http://java.sun.com/docs/books/tutorial/essential/threads/
    http://java.sun.com/docs/books/tutorial/uiswing/misc/threads.html
    http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html

  • Nothing displays on Splash Screen

    Adobe DW5. The splash screen shows up but is blank - white. I  reinstalled the Adobe Suite and still nothing. After opening, Splash  screen shows but it is white. I did some research and some people noted  flash wasn't installed because that is probably what plays it but I have  flash installed, shockwave.
    Any thoughts?

    Hi,
    Try updating BIOS to the latest version and check if it helps. Else, it seems there is some hardware issue involved. I strongly suggest you to contact our technical support for assistance.
    Click here to open a link where you can select the country and get the exact contact support number. I’m sure they will be a great help.
    Best Regards,
    Mithun.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • PRE crash and now stuck at splash screen - HELP!!

    I was working on a small project (5 mins) a couple of sound tracks and was moving one to different location and PRE crashed - now when I open the program up the splash screen is blurred and I can't select anything except the 8.01 update and those things - HELP - project due in 4 hours!!

    Eric
    With regard to the original desktop icon which targets Adobe Premiere Elements 8.0.exe
    a. if you do not have the program open via Adobe Premiere Elements.exe and you have closed the program that got opened to the Welcome Screen with Adobe Premiere Elements.exe, and if you go back to the Task Manager/Processes,
    DO YOU SEE ANY INSTANCES OF "ADOBE PREMIERE ELEM,,," IN THE LIST OF PROCESSES THERE? If the answer is no, then I do not think that you have to worry unless you have a compelling need for the Welcome Screen. Just my point of view, but the only reasons for it being seem to be:
    a. For Adobe to monitor (track) your activities
    b. Quick access to photoshop.com
    c. Be kept up to date with Adobe Ads
    You should have full control of your Premiere Elements projects using Adobe Premiere Elements.exe to open the program without the Welcome Screen. I just wanted to make sure that there is no evidence that you have 2 instances of the program being open at the same time.
    If you look at the processes opening using Process Explorer Sysinternals, you will note
    a. if you click on the icon that targets Adobe Premiere Elements 8.0.exe, the first process that opens is Adobe Premiere Elements 8.0.exe, followed by Adobe Premiere Elements.exe and what looks like PhotoshopServer.exe. After Adobe Premiere Elements.exe and PhotoshopServer.exe appear, the Adobe Premiere Elements 8.0.exe disappears from the scene leaving the other 2 processes as the running processes.
    b. if you click on the icon that targets Adobe Premiere Elements.exe, Adobe Premiere Elements 8.0.exe never appears, just direct to Adobe Premiere Elements.exe and PhotoshopServer.exe which remain as the running processes.
    I am not sure what happened to your Adobe Premiere Elements 8.0.exe file. But I do not see that you need it to move forward in your projects. I would be curious to know the whys, but is it worth it on your time schedule?
    ATR

  • Main program start before splash screen, help

    hi:
    below is the splash screen code:
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.PrintStream;
    import java.util.Random;
    class Splash extends JWindow {
         public Splash(String filename, Frame f, int waitTime) {
              super(f);
              JLabel l = new JLabel(new ImageIcon(filename));
              getContentPane().add(l, BorderLayout.CENTER);
              pack();
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              Dimension labelSize = l.getPreferredSize();
              setLocation(screenSize.width / 2 - (labelSize.width / 2), screenSize.height / 2 - (labelSize.height / 2));
              addMouseListener(new MouseAdapter() {
                   public void mousePressed(MouseEvent e) {
                        setVisible(false);
                        dispose();
              final int pause = waitTime;
              final Runnable closerRunner = new Runnable() {
                   public void run() {
                        setVisible(false);
                        dispose();
              Runnable waitRunner = new Runnable() {
                   public void run() {
                        try {
                             Thread.sleep(pause);
                             SwingUtilities.invokeAndWait(closerRunner);
                        } catch (Exception e) {
                             e.printStackTrace();
                             // can catch InvocationTargetException
                             // can catch InterruptedException
              setVisible(true);
              Thread splashThread = new Thread(waitRunner, "SplashThread");
              splashThread.start();
    below is the constructor that started the splash and the main:
    public static void main(String args[])
    PictureViewer PV = new PictureViewer();
    standaloneApp = true;
    splash Splash sw = new Splash("prestigestetho.gif",null, 5000);
    the splash appear just fine, the problem is that it appears after
    my main program appear first.
    I try to shift the priority of splash, which is sw first and then PV,
    in that case the splash screen appear first then PV, but this time PV
    stay in front of sw makes it totally not viewable.
    is there any method to make splash screen appear first and on the screen you can see the process of main program starting up (for example
    : loading this ...., loading that.....) something like acrobat reader's
    startup screen, and then splash screen disappear and then main program
    pop up.

    okay, I got it, it's under SwingSet2.java the related code is as follow:
    // Used only if swingset is an application
    private JFrame frame = null;
    private JWindow splashScreen = null;
    // The tab pane that holds the demo
    private JTabbedPane tabbedPane = null;
    private JEditorPane demoSrcPane = null;
    private JLabel splashLabel = null;
    * SwingSet2 Constructor
    public SwingSet2(SwingSet2Applet applet, GraphicsConfiguration gc) {
    // Note that the applet may null if this is started as an application
         this.applet = applet;
    // Create Frame here for app-mode so the splash screen can get the
    // GraphicsConfiguration from it in createSplashScreen()
    if (!isApplet()) {
    frame = createFrame(gc);
    // setLayout(new BorderLayout());
         setLayout(new BorderLayout());
    // set the preferred size of the demo
         setPreferredSize(new Dimension(PREFERRED_WIDTH,PREFERRED_HEIGHT));
    // Create and throw the splash screen up. Since this will
    // physically throw bits on the screen, we need to do this
    // on the GUI thread using invokeLater.
    createSplashScreen();
    // do the following on the gui thread
         SwingUtilities.invokeLater(new Runnable() {
         public void run() {
              showSplashScreen();
    initializeDemo();
         preloadFirstDemo();
         // Show the demo and take down the splash screen. Note that
         // we again must do this on the GUI thread using invokeLater.
         SwingUtilities.invokeLater(new Runnable() {
         public void run() {
              showSwingSet2();
              hideSplash();
         // Start loading the rest of the demo in the background
         DemoLoadThread demoLoader = new DemoLoadThread(this);
         demoLoader.start();
    * Show the spash screen while the rest of the demo loads
    public void createSplashScreen() {
         splashLabel = new JLabel(createImageIcon("Splash.jpg", "Splash.accessible_description"));
         if(!isApplet()) {
         splashScreen = new JWindow(getFrame());
         splashScreen.getContentPane().add(splashLabel);
         splashScreen.pack();
         Rectangle screenRect = getFrame().getGraphicsConfiguration().getBounds();
         splashScreen.setLocation(
    screenRect.x + screenRect.width/2 - splashScreen.getSize().width/2,
              screenRect.y + screenRect.height/2 - splashScreen.getSize().height/2);
    public void showSplashScreen() {
         if(!isApplet()) {
         splashScreen.show();
         } else {
         add(splashLabel, BorderLayout.CENTER);
         validate();
         repaint();
    * pop down the spash screen
    public void hideSplash() {
         if(!isApplet()) {
         splashScreen.setVisible(false);
         splashScreen = null;
         splashLabel = null;

  • Hi, i have a iMac PC it has a letter box home page and i would like to change it to a full screen, HELP pleasell

    Hi, my name is Cathy Pack and i am in a pickle, i have an i-Mac OS X version10.5.8, 1.25ghz power G4, every thing is fine except for my home screen it is in letterbox forme and i would like to put it in full screen, the screen is long and narrow instead of short and wide,  Please HELP,  Cathy Pack

    Apple menu -> System Preferences -> Displays.  Take the resolution ratios and use a 16x9 ratio to avoid the letterboxing if you have a 17" diagonal display.   Take the 4:3 ratios if you have a 15" diagonal screen.

  • Hi guys need Help with Displaying Splash Screen?!!?

    Hi Guys.
    Sorry for the last incomplete post my mistake!
    I need help displaying a splash screen as an advertisment or something before i have my main application run.
    Here is the code i wrote (it works as if it were a seperate application)
    package MajourProject;
    import java.awt.AWTException;
    import java.awt.Dimension;
    import java.awt.Robot;
    import java.awt.Toolkit;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JProgressBar;
    import javax.swing.JScrollPane;
    import javax.swing.JWindow;
    * @author Matt
    public class SplashScreen extends JWindow
        public SplashScreen()
            int UpTime = 20000;
            Start(UpTime);
        public void Start(int UpTime)
            ImageIcon ii = new ImageIcon("src/1.jpg");
              JScrollPane jsp = new JScrollPane(new JLabel(ii));
                    JProgressBar Bar = new JProgressBar();
              getContentPane().add(jsp);
              setSize(853,303);
              centerScreen();
              setVisible(true);
                   try
                                Thread.sleep(20000);
                               dispose();
                   catch(Exception IE)
            private void centerScreen()
                    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
                    int x = (int) ((d.getWidth() - getWidth()) / 2);
              int y = (int) ((d.getHeight() - getHeight()) / 2);
              setLocation(x, (y-100));
           public static void main(String [] args)
                 new SplashScreen();
    }but i now have a problem as i already have a main application done as i wrote this seperately. I now need to combine the two together. So what i did was in my Main Application wrote:
    Splash_Screen SS = new Splash_Screen();it then runs my Splash Screen class which i re-wrote to look as such:
    package MajourProject;
    import java.awt.AWTException;
    import java.awt.Dimension;
    import java.awt.Robot;
    import java.awt.Toolkit;
    import javax.swing.ImageIcon;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JProgressBar;
    import javax.swing.JScrollPane;
    import javax.swing.JWindow;
    * @author Matt
    public class SplashScreen extends JWindow
        public SplashScreen()
            int time = 15000;
            Start(time);
        public void Start(int UpTime)
            ImageIcon ii = new ImageIcon("src/1.jpg");
              JScrollPane jsp = new JScrollPane(new JLabel(ii));
                    JProgressBar Bar = new JProgressBar();
              getContentPane().add(jsp);
              setSize(853,303);
              centerScreen();
              setVisible(true);
                   try
                                Thread.sleep(20000);
                                dispose();
                   catch(Exception IE)
            private void centerScreen()
                    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
                    int x = (int) ((d.getWidth() - getWidth()) / 2);
              int y = (int) ((d.getHeight() - getHeight()) / 2);
              setLocation(x, (y-100));
    }it obviously runs the default constructor which then runs the other methods in the class but it doesn't seem to show can anybody help me to find out whats wrong? It seems to be there just before the main application launches but only for a split second. And when i am waiting while the thread is sleeping the area i have defined the Content pane for he cursor goes to the loading icon! I don't know if this makes any sence to you but if you can help me it would be most apreciated.
    Thanks.

    SpearOne wrote:
    Hi Encephalopathic
    why would it work if i put it in it's own application surely it wouldn't be caused by this thread.sleep?? everything after it is in fact put to sleep. In its "own" application, nothing happens after it is displayed.
    if it is the problem then could you please give me some code to add quickly to test??
    import java.awt.Dimension;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JProgressBar;
    import javax.swing.JScrollPane;
    import javax.swing.JWindow;
    import javax.swing.Timer;
    public class SplashScreen extends JWindow
      private static final String IMAGE_PATH = "src/1.jpg";
      private static final int UP_TIME = 15000;
      public SplashScreen()
        Start();
      public void Start()
        ImageIcon ii = new ImageIcon(IMAGE_PATH);
        JScrollPane jsp = new JScrollPane(new JLabel(ii));
        //JProgressBar Bar = new JProgressBar();
        getContentPane().add(jsp);
        setSize(853, 303);
        centerScreen();
      private void centerScreen()
        Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
        int x = (int) ((d.getWidth() - getWidth()) / 2);
        int y = (int) ((d.getHeight() - getHeight()) / 2);
        setLocation(x, (y - 100));
      public static void main(String[] args)
        final JFrame frame = new JFrame("Main Frame");
        frame.setPreferredSize(new Dimension(300, 200));
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setLocationRelativeTo(null);
        final SplashScreen splash = new SplashScreen();
        splash.setVisible(true);
        Timer swingTimer = new Timer(UP_TIME, new ActionListener()
          public void actionPerformed(ActionEvent e)
            splash.dispose();
            frame.setVisible(true);
        swingTimer.setRepeats(false);
        swingTimer.start();
    }

  • Display splash screen while downloading applet jar file

    I've tried to search the forums, but most results I get are how to display a splash screen while the classes are loading. Unfortunately, the classes do not begin loading until after the jar file has been downloaded. How does one go about showing as splash screen as the jar file containing the classes is downloaded?
    Thanks for the help!

    "Java 5 provides a capability in this area"- Unfortunately, due to circumstances out of our control we are stuck on java 1.4.x.
    "How you do that is your problem."- I'm so glad I can count on the helpful java community. Thanks.
    Since it appears that "warnerja" is discusted by my question (mabye had a bad day) and is leaving me out in the cold, does anyone have any ideas on how I can implement her/his suggestion. I can break my jar file into multiple seperate jars and as each one loads I can update a progress bar. Unfortunately, I do not know where to begin with this code wise nor do I know if this is the best solution to this problem. I would think this to be a common problem.
    Thanks for your help!

  • Web start won't display splash screen

    Hi, I am using the following .jnlp file.. The problem I am having is that web start will not display the splash screen specified below. It displays the icon fine, but not the splash screen. I cannot find an answer, can anyone help?
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp spec="1.0+"
    codebase="https://mywebserver/program"
    href="https://mywebserver/progem/start.jnlp">
    <information>
    <title>My Title</title>
    <vendor>My company</vendor>
    <description></description>
    <offline-disallowed/>
    <icon href="ban1.jpg" kind="splash" />
    <icon href="icon.jpg"/>
    </information>
    <resources>
    <j2se version="1.1+"/>
    <jar href="start.jar"/>
    </resources>
    <applet-desc
    main-class="myclass"
    documentbase="start..html"
    name="Program Name"
    width="180"
    height="100">
    </applet-desc>
    </jnlp>

    I can see no reason why this wouldn't work. Can you try looking at the splash.xml file in the "splash" directory in the cache ?
    the file should contain an entry for your program, pointing to your splash file.
    /Andy

  • Problem in displaying splash screen..

    Hi..
    First of all my apology to repost the question as i was asked to post it here for the answer.I've developed a desktop application which has a splash screen.I'm using netbeans 6.0.Now, i am able to view the splash screen if i 'build' and 'run' the application in the IDE.But when i run the jar file i am not able to see the splash screen.
    This is how i've put the splash screen for my application.In project->properties->run->in VM options : splash.gif. Please help to display the splash screen when i run just the jar file.
    Thank you

    I don't understand what the way you're doing. It's a Netbeans option??
    Currently I'm developing a Swing app and I have a splash window. The way I've done it is creating a sublcass of JWindow, adding a panel, a JLabel and setting an icon.
    Like this:
    public class InitSplash extends JWindow {
         public InitSplash(Frame owner) throws HeadlessException {
              super(owner);
              initGUI();
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              Dimension labelSize = jLabel.getPreferredSize();
              setLocation(screenSize.width / 2 - (labelSize.width / 2),
                        screenSize.height / 2 - (labelSize.height / 2));
         private void initGUI() {
              try {
                        this.setPreferredSize(new java.awt.Dimension(110, 150));
                        this.setLocationByPlatform(true);
                        jPanel1 = new JPanel();
                        getContentPane().add(jPanel1, BorderLayout.CENTER);
                        jPanel1.setBackground(new java.awt.Color(255,255,255));
                        jPanel1.setBorder(new LineBorder(new java.awt.Color(0,0,0), 2, false));
                             jLabel = new JLabel();
                             jPanel1.add(jLabel);
                             jLabel
                                       .setIcon(new ImageIcon(
                                                 getClass()
                                                           .getClassLoader()
                                                           .getResource(
                                                                     "com/ttt/common/gui/graphics/logo-transparente.gif")));
                             msgLabel = new JLabel();
                             jPanel1.add(msgLabel);
                             msgLabel.setText("Loading...");
                             msgLabel.setFont(new java.awt.Font("Tahoma",1,12));
                             msgLabel.setPreferredSize(new java.awt.Dimension(102, 25));
                             msgLabel.setHorizontalAlignment(SwingConstants.CENTER);
                   pack();
              } catch (Exception e) {
                   e.printStackTrace();
         }Is this what you are trying?

Maybe you are looking for

  • Issue with document created with a tax code related to a different Company Code

    Hello, we need to clear a document created with the tax code "YY" which is associated to the Company Code Espana even if the vendor of this document belongs to the Country Portugal. When we try to clear this documents we get the follow error: Tax cod

  • Video Still Glitches in iPhoto 6.0.1 under 10.4.5

    In iPhoto editing mode, selecting a portion of the picture like you are going to crop it often results in the video briefly glitching the whole picture. The easiest way to reproduce this is by grabbing somewhere near the upper left of your picture an

  • Finding roles which has many tcodes in the same role using SUIM

    Hello Guru's If I want to find a role for a t-code will get through SUIM. But now I have a multiple t-codes(eg,100 t-codes) want to find out the exact role in which all the t-codes are there. Is there any way,please let me know. Thank you Dina Edited

  • Training for OCP

    I wanted to know how to do the training for Oracle certified porfessional certification. I was interested in the approved instructor-led online course. I am aware that training + exam(1Z0-043) + hands-on course requirement form are the requisites for

  • HELP - DEAD iPOD !!! - APPLE PLEASE RESPOND

    After updating my 30 gig 5G with 28th June update it has become paralyzed - blank white screen and emits 3 beeps when I try to do anything. I have seen similar threads here. Apple please respond - what should we do? thank you Pete London UK