Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

a welcome screen

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there some way to make a welcome screen for a java application.. like most of the programs (word, flash, jbuilder....)??
 
Ranch Hand
Posts: 3451
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Saeed,
If you mean just a splash screen, sure thing. You may first want to just look at javax.swing.JOptionPane which has numerous static methods to pop up a window. Here is an example of its use:

The problem with that approach is that it requires the user to press an OK button to proceed. If you want to get fancy and have the splash screen timeout and disappear on its own then you will probably want to extend a javax.swing.JFrame, build the splash screen on it, set a javax.swing.Timer either internally or externally and when the timer fires, call setVisible(false) on the JFrame.
 
Sammer Meer
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you friend,
bt this way of JOptionPane, does it return a splash screen as you said, i.e. without the upper bar (which contains close,minimize...) or no?
You meant there r only two ways which are the ones u mentioned?
Thx in advance
 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a java splash application. Quote: "This program functions as a simple wrapper application - it can be called with the name of another application as a parameter, and it displays a splash graphic before loading and launching said target application. No alteration (or recompilation) to the target application of the target application is needed."
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
another example: http://www.mijnadres.net/forum/viewtopic.php?t=104
 
Ranch Hand
Posts: 299
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's a simple one I wrote that I use in my apps:
http://filenabber.com/free-java-classes/
Feel free to use it if you want.
Brian
 
I will suppress my every urge. But not this shameless plug:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic