How to make a splash screen
Hello everyone,
I am trying to make a kind of splash screen.
I use JWindow for this and it works well.
My problem is, that I need to make the background of the screen "non-opaque". So only the image I add will be shown, without the background rectangle.
I search for something like setOpaque(false) method in class JButton.
But there is no such method for this class.
I would be very happy if you could help me.
I tried this,
but it does not help. The background is being shown.
import javax.swing.*;
import java.awt.*;
public class SSB extends JWindow
public static void main(String[] args)
new SSB();
public SSB()
super();
this.setBounds(20,20,300,300);
MyContainer c = new MyContainer();
c.setOpaque(false);
this.setContentPane(c);
this.show();
class MyContainer extends JComponent
MyContainer()
super();
[\code]
Similar Messages
-
How do I make a Splash Screen for my Android App.
Hello, I am currently making an app, for school and cant find out how to make a Splash Screen. I'm using Flash Builder 4.7 and can only find tutorials for 4.5. I just need it so that when the app opens there is not a white screen forever while its loading up, any help would be great.
Thanks!Copy into Apple Pages. Export a PDF.
-
How can i create splash screen using netbean?
how can i create splash screen using netbean?
Welcome to the Sun forums.
gabbyndu wrote:
how can i create splash screen..Java 6 offers a splashscreen functionality. See [New Splash-Screen Functionality in Java SE 6|http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/splashscreen/] *(<- link)* for details.
[Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp] has offered splash screens to applications since Java 1.2. See [How can I provide my own splash screen?|http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html#206] in the JWS FAQ for more details.
.. using netbean?We don't support Netbeans here. Ask that on a [Netbeans forum|http://forums.netbeans.org/]. -
How to create a splash screen?
I was wondering how to create the splash screen that shows up when you just load the program. My program takes a bit to load, because it sets to change the look and feel to system dependent.
So, I want to have a splash screen like the one that eclipse uses to begin the program. How would I do it?
ThanksDid you search the forum using "splash screen" to find the other hundred threads that have asked this question before?
-
How to close a splash screen?
How do you close a splash screen that is fullsize, after a
button is clicked and an application is launched? (Flash 8)
Thanks for any help.There is a good example in Lab-Useful:
http://www.hamiltondesign-consulting.com/labuseful.html#anchor59995
Regards;
Enrique
www.vartortech.com -
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 -
How to create custom splash screen that shows loading %?
I'd like to add a splash screen to my app. that shows the loading as a percentage. I have flashbuilder 4.6. How can I do this?
You might need to consider adding your child elements in application manually. Displatch a new event back to the application when the child is created (from creationComplete) and update progress bar.
-
How to make a selection screen two fields obligatory
Dear friends...
I wish to know how i make two fields obligatory in the selection screen
like
select-options Po_Num for ekpo-ebeln obligatory.
select-options Po_Date for ekko-aedat.
select-options Material for mara-matnr.
in the above example i am looking for po_num and po_date both obligatory but if i dont enter data in the po_num, po_dat becomes obligatory and po_dat has no data entererd po_num is obligatory. i wish to know how i achieve single field act as a obligatory in absence of another field. please help in this regards..
thanking you,,,
regards.
NaimREPORT ZMM_COMP_POS no standard page heading line-size 225
tables: ekko, ekpo, mara.
data: begin of i_ekko occurs 0,
ebeln like ekko-ebeln,
ebelp like ekpo-ebelp,
matnr like mara-matnr,
aedat like ekko-aedat,
waers like ekko-waers,
ernam like ekko-ernam,
end of i_ekko.
data: begin of i_ekpo occurs 0,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
matnr like mara-matnr,
aedat like ekpo-aedat,
waers like ekko-waers,
menge like ekpo-menge,
meins like ekpo-meins,
ernam like ekko-ernam,
lgort like ekpo-lgort,
netwr like ekpo-netwr,
recd(16) type p decimals 3,
rec_val(16) type p decimals 3,
end of i_ekpo.
data: lines type i.
data :itab_output like i_ekpo occurs 0 with header line.
data: itab_output3 like standard table of itab_output .
data data.
data total like sy-dbcnt.
data recd(16) type p decimals 3.
data rec_val(16) type p decimals 3.
data : it like i_ekpo occurs 0 with header line.
selection-screen begin of block b1 with frame title text-010.
select-options Po_Num for ekpo-ebeln .
select-options Po_Date for ekko-aedat.
select-options Material for mara-matnr.
selection-screen end of block b1.
at selection-screen.
if po_num[] is initial
and po_date[] is initial.
message e001(00) with 'Make at least one entry'.
endif.
start-of-selection.
if PO_NUM is initial and
Po_Date is initial or
Material is initial.
select ebeln ebelp matnr
menge meins netwr
aedat
from ekpo
into corresponding fields of table i_ekpo
where ebeln in Po_Num.
endif.
loop at i_ekpo.
select ebeln aedat waers ernam
from ekko
into corresponding fields of table i_ekko
where ebeln in Po_Num.
if sy-subrc = 0 .
i_ekpo-aedat = i_ekko-aedat.
i_ekpo-waers = i_ekko-waers.
i_ekpo-ebeln = i_ekko-ebeln.
i_ekpo-ernam = i_ekko-ernam.
modify i_ekpo transporting ebeln aedat waers
ernam
where ebeln = i_ekko-ebeln.
clear i_ekko.
endif.
endloop.
describe table i_ekpo lines lines.
if lines le 0.
message e017(zk).
endif.
select ebeln ebelp matnr
menge meins netwr
werks
from ekpo
into corresponding fields of table i_ekpo
for all entries in i_ekko
where ebeln = i_ekko-ebeln .
sort i_ekpo by ebeln ebelp.
sort i_ekko by ebeln.
loop at i_ekko.
read table i_ekpo with key ebeln = i_ekko-ebeln.
if sy-subrc = 0.
i_ekpo-aedat = i_ekko-aedat.
i_ekpo-waers = i_ekko-waers.
i_ekpo-ebeln = i_ekko-ebeln.
i_ekpo-ernam = i_ekko-ernam.
modify i_ekpo transporting ebeln aedat waers
ernam
where ebeln = i_ekko-ebeln.
endif.
endloop.
describe table i_ekpo lines lines.
if lines le 0.
message e017(zk).
endif.
loop at i_ekpo.
write:/1 sy-vline,
(5) i_ekpo-ebeln left-justified ,sy-vline,
(10) i_ekpo-ebelp left-justified ,sy-vline,
(15) i_ekpo-aedat left-justified ,sy-vline,
(18) i_ekpo-ernam left-justified ,sy-vline,
(23) i_ekpo-matnr left-justified , sy-vline,
(27) i_ekpo-menge UNIT i_ekpo-meins left-justified , sy-vline,
(29) i_ekpo-meins left-justified , sy-vline,
(31) i_ekpo-netwr CURRENCY 'INR' left-justified ,sy-vline,
(33) i_ekpo-waers left-justified ,sy-vline.
endloop.
write:/(743) sy-uline.
top-of-page.
write:/30 'ESSAR CONSTRUCTIONS LTD.' color 6 inverse.
write:80 'DATE :' color 6 inverse, sy-datum color 6 inverse.
new-line no-scrolling.
write:/30 'PO Details.' color 7 inverse.
write: /(743) sy-uline.
format color col_heading on.
write:/1 sy-vline.
write: (5) 'PO no.',sy-vline,
(10) 'Item no.',sy-vline,
(15) 'PO Date' color 1,sy-vline,
(18) 'PO Created By.',sy-vline,
(23) 'Material No.', sy-vline,
(27) 'PO Quantity', sy-vline,
(29) 'PO Unit', sy-vline,
(31) 'PO Value',sy-vline,
(33) 'Currency' , sy-vline.
write:/(743) sy-uline.
format reset. -
How to make a split screen picture?
How do I make a split screen picture from 2 different pictures?
Are you using Photoshop or Photoshop Elements?
This question would be better posted in the Photoshop forum.
Try http://forums.adobe.com/community/photoshop/general -
Hello
I have made a slide show and I will be showing it threw a projector and I do not know how to make the slide show full screen.
So how do i make the show be full screen?
Thanks
Greg Wyatthey there Greg & welcome to Discussions.
connect the projector to the Mac using the appropriate adaptor & cable, open System Prefs. > Displays > Detect Displays > Gather Windows. set rez for the projector & turn off Mirror. that's how you play your slideshow "through" the projector.
good luck. -
How to make background fit screen
how to make background fit screen
go to settings
go to desktop & screen saver
there you have a dropdownbox with all the options -
How to make The Java Screen Recorder similar to this one?
Can u talk about this how can make this code with java?
http://www.devharbor.com/java/300-Screen-Recorder.html
The author of this application says this maked by Java Swing.
My Question is:
What is Java Swing?
It's easy to make this app?
What API/Component needed for export video to MP4 Format like this application?
How can make a similar application for education purpose with Java.
Thanks808154 wrote:
:) Thank you for answering my question,
but impossible in nothing bro, Yea, that's what Aleksey Vayner claimed and he didn't do so well.
I need to know about swing and start to work with java to develop this software and if I need some help I ask here.Clearly yes. You also need to make simple programs and practice for a long time before you're gonna be able to write a screen recorder with MP4 output.
I try to develop this before 3-4 years ;)I guess 3-4 years is a realistic goal, if you really concentrate on learning Java. -
How Disable Network Magic Splash Screen?
Can someone please walk me through the steps to disable the Network Magic startup splash screen? I purchased the software a few years back and saw a message how to do it. I did it, and it worked a treat...until a recent glitch on my computer forced a major restore, which brought the splash screen back. Now I (of course) forget how I disabled it in the registry. I know this question is small potatoes compared to the major probs others here are having, but I'm hoping someone'll still give me a bit of help.
Solved!
Go to Solution.cpmurphy wrote:
Oops, I apologize! You're right...you shouldn't have to repeat yourself.
I'm running Network Magic Version 4.9.8225.0-Pure0 on the Windows XP Home Version SP3.
Sorry. Hope you can help.
Chris
Hi Chris,
I am responding from Windows XP Home Edition Service Pack 3 w/ Internet Explorer 7 installed on FAT32 File System.
I just uninstalled and reinstalled Network Magic Version 4.9.8225.0-Pure0
Unfortunately, while this installation is still unactivated, having just reinstalled it, I have not experienced the Network Magic Splash Screen.
My copy is set up for Network Reports as well as starting up at bootup. It has FullAccess going through my McAfee Personal Firewall.
I have seen the Splash Screen you are referring to. It was seen when the Network Magic License Servers were down or Network Magic was not set up, right after it was installed. You need to set up Network Magic right after you install it, before you reboot. You don't need to activate it right away.
Uninstall Network Magic. Reboot. Reinstall Network Magic while it is connected to the Router and configured it, then reboot.
thecreator - Running Network Magic version -5.5..9195.0-Pure0 on Windows XP Home Edition SP 3
Running Network Magic version -5.5.9195.0-Pure0 on Wireless Computer with McAfee Personal Firewall Build 11.5.131 Wireless Computer has D-Link DWA-552 connecting to D-Link DIR-655 A3 Router. -
How can I enable splash screen of xcode??
When I run xcode first time, it shows me a splash screen to tell me the helpful tips, and I unselect the "show every time ..." check box option. Now I want to show the screen window again but I can not find the option in preferences, does anybody know about this??
Thank you so much
-
How to add a splash screen in a DwCS6 PhoneGap for Android build?
So I have the new Dw CS6 and want to see what great things DW can do in building Android Apps. So I follow the California Trails demo on Lynda.com. Build it in DreamWeaver, package it with Phonegap and it runs. However, there are some things I'm noticing that happen with this Phonegap that do not happen when I take the SAME files and place them in my Eclipse SDK and build the application under Eclipes.
1) There is a 5 to 9 second delay where a black screen is displayed after the app is launched and when it actually displays the index.html. How do I stop this from happening?
2) How do you add a splach screen? In Eclipes I would add the image to the drawables folders and modify my Activity.java file but we don't have these in DW.
3) How do I get an external URL to display within my Phonegap App? In Eclipes I make the call to the URL while in a WebView but there isn't anything like that in Dw or Phonegap.
4) How do I attach or reference my KeyStore file in these PhoneGap builds so I can put them on Google Play?
Maybe I'm asking too much of Dw and PhoneGap? It this release not intended to create a fully functional app or is it just suppose create a Pseudo App that in reality is a HTML5 webpage made to look like an app? I'm not judging or being critical just trying to find out how or if this Dw feature can be interated in to my workflow.I assume that you want to show the splash page after every session is initiated after an authentication.
Try this:
Protect the app pages (/app1, /app2 etc) with the following authen scheme:
Level:1
Form:/login.html
Action:/dummy1
Passthrough:no
In the authentication success of this one, have an action:
Authentication success URL: /some_dummy_page.html
Now, protect this url /some_dummy_page.html with the following:
Level:2
Form:/splash_page.html
Action:/dummy2
Passthrough:no
When you access /app1 or /app2, then the first scheme will be invoked, login.html page will come. give your login and password, on successful authen, it will (try to) go to /some_dummy_page.html. but since this one is protected, it will show the splash_page.html. Click on ok, and it will POST to the /dummy2. Because the action in both the schemes are different, the obformlogin cookie will persist.
You will need to have the action in the splash page to point to /dummy2.
Hope this helps. Let us know.
Maybe you are looking for
-
Vendor text doesn't transfer from SRM PO to R/3
Good evening, We are new in SRM SCE, we have a problem with the vendor text. In SRM appears this information and the PO is e-mailed correctly but when we review the PO in R/3 this information doesn't fill in. We don't know if the problem is in SRM or
-
Overhead calculation not happening after using orgin group.
overhead calculation not happening after using orgin group. There was a runtime error earlier related to u201Cdefine credit u201C IMG node under costing sheet component and we have applied SAP note 769946 and that error was gone out of the way We wan
-
Report 10g parameter form Error
Hi, While calling a report I am getting the following error. REP-546: Warning: The value of restricted LOV parameter TOPROFIT is not among the selectable values. When I call the same report through another PC it displays parameter form. I am using Re
-
Bridge Freezes when Show Items From Sub Folders
Hi all. I am trying to create a portfolio of past works. Using Adobe Bridge and Show Items From Sub Folders makes it easy to go through thousands of files. One major problem though; Bridge is not stable. When I try to view a folder with thousands of
-
Hi all, My BSP application is to be implemented into EP.will the frames in a BSP application work ,when it is integrated into EP ? Thanks®ards Ananya