2013年9月13日星期五

java can also make a very nice interface Well

In fact, the interface java wanted to do something nice , so long as the background to do Haojiu Hang in jdk1.6 can later inherited JFrame, or can be set as follows after JWindow
setUndecorated (true) ;/ / Do the title bar of the modification, mainly to prevent the code throw an exception ,
AWTUtilities.setWindowOpaque (this, false); / / critical points, set the form's transparent , this transparency does not affect the internal components , easy to draw the background .
then rewrite the JPanel own paintComponent (Graphics g) method, using the method draw the background , it is best not to use the paint method, because the method will override the internal components , covering internal components are egg pain yo. JPanel will write their own way through setContentPane JWindow added to the JFrame or contentPane in , and then in contentPane to add your own components can be.
source download

did not talk much to see results

Here is written in java with snow effect diagram


exit effect


Source Download need to look at
------ Solution ----------------------------------- ---------
AWT? now seemingly all Swing or SWT / JFACE, RCP , right ?
------ Solution ---------------------------------------- ----
but the effect is really good.
------ Solution ---------------------------------------- ----
really very nice
------ Solution ----------------------------- ---------------
nice , really.
ps technologies have to have ah
------ Solution ------------------------------ --------------
seeking to share the source code , 380510628@qq.com
------ Solution ------------- -------------------------------
Java seems to be able to tune looknfeel it
------ Solution --------------------------------------------
very like oh . . . . .
------ Solution ---------------------------------------- ----
there is beauty cells , Java 2D can also make a shining effect to .
------ Solution ---------------------------------------- ----
good results, but the 115 can not download ah. . .
seeking source 100@6la.co
------ Solution ----------------------------- ---------------
Java GUI development system, mainly been criticized for not showing the effect . . .

I think the main reason is that these questions:
performance , although there are relatively strong SWT, but there are still gaps , not to mention relates to DirectX or OpenGL circumstances ;
integration, mainly refers to the number of ActiveX or DLL, not to say no, but doing it cumbersome, easy to instability ;
system , in fact, to keep up a little similar to the system-level operations require a lot of hard work to do JNI processing ;
peripherals, in fact, to keep up a little similar to many peripherals that DLL to integration.
------ Solution ---------------------------------------- ----
very good, is to force !
------ Solution ---------------------------------------- ----
really beautiful ah. . That framework is also sent me a copy ! ! ! hejiejie12@126.com
------ Solution ----------------------------------- ---------
super top ,
Zhang Long also said ,
Java do GUI, do the animation is also very good , providing the function well, and compared to others , not functional enough, but we did not use it well it
I hope that the Java platform enables a broader
------ Solution ---------------------------- ----------------
good results ! Pretty in !
------ Solution ---------------------------------------- ----
cattle ah support
In fact, I think vs interface how to get
------ Solution --------------------- -----------------------
no company is just, are hooligans. All exist to make money . Sincerely hope that the java client not to enter the field , never mind swing architecture design . Running java client is a shit like existence .
------ Solution ---------------------------------------- ----
ordinary users really can not stand that java interface and performance.
------ Solution ---------------------------------------- ----
you that under the code site requires login , could not , can be sent to let you download csdn resources inside you ?
------ Solution --------- -----------------------------------
seeking source ah 1020722535@qq.com
- ----- Solution --------------------------------------------
good, very good !
------ Solution ---------------------------------------- ----
seeking source ah 13606237@qq.com
------ Solution ------------------------ --------------------
landlord, you cattle too ! ! ! ! ! ! ! ! ! ! ! Like a
------ Solution -------------------------------------- ------
pro remember to give points yo
------ For reference only ---------------------- -----------------
is a Swing it , never came up effects to
------ For reference only ------ ---------------------------------
source code and generates an exe executable file I uploaded to the 115 network plate , above link
------ For reference only -------------------------------- -------
I have made a
files a bit large
------ For reference only ------------------------------- --------
ah , there are shared , 13th Floor analysis is indeed very place
------ For reference only --------------- ------------------------
source Download need to look
------ For reference only ------ ---------------------------------
landlord, please add my friend , ah, I have applied to your 115 network disk friends , please Gaga
------ For reference only ---------------------------- -----------
115 network disk, which contains the source code and generates inside an exe file , need to be here , the above that there is only csdn source , netbeans development , some people may not take
- ---- For reference only ---------------------------------------
see comments are moral issues , do not look sorry landlord , return message is a moral problem, do not go back I'm sorry ready bricks -

------ For reference only ----- ----------------------------------
landlord to force too
------ For reference only ---------------------------------------
awdawdawdwad
awdwadwad
------ For reference only --------------------------------- ------
thanks for sharing that points to leave (☆ _ ☆) mouse flick, one minute hand , holding soy sauce , bow shoved away . .
------ For reference only -------------------------------------- -
really ugly . . I tell the truth aesthetic programmers are so ? This is what I did ten years ago, the software looks like another , really talk about rendering efficiency , but also fight the shader, you think the way is to add a snowing pretty high efficiency ? Really interested to know , then went to look at the effect of particle engine simulated bar .
sentence , JAVA really not suitable for UI
------ For reference only ------------------------- --------------
passing observe. . .
------ For reference only -------------------------------------- -
fact I would say JAVA is not a good look
------ For reference only ------------------------- --------------
LZ call this a pretty ?

------ For reference only ---------------------------------- -----
landlord , this is a must

------ For reference only ---------------------------------- -----
good ,
------ For reference only ---------------------------------------
import org.dom4j.Document ;
This where to download ah ?
------ For reference only --------------------------- ------------
this regard, I can only say, look ps skill. And java does not matter !
------ For reference only -------------------------------------- -
search dom4j on it, a lot of it online http://sourceforge.net/projects/dom4j/ , I was just learning java soon , writing play it
--- --- For reference only ---------------------------------------
peripherals in fact, to keep up a little similar to many peripherals that DLL to set
------ For reference only --------------------- ------------------
learn. Learning .
------ For reference only ---------------------------------------
 beautiful?
------ For reference only -------------------------------------- -
passing look pretty said. . . . . . . . . .
------ For reference only -------------------------------------- -
interface is well done ~ ~ ~
------ For reference only --------------------------- ------------
JAVA default font ( silent tears ) ... You can pack the next JAVA interface landscaping landscaping look.
------ For reference only -------------------------------------- -
Java seems to be able to tune looknfeel it
------ For reference only ---------------------------- -----------
 good
------ For reference only ---------------------------------- -----
effect is very beautiful.
------ For reference only -------------------------------------- -
Louzhu you can do 115 ,
next program look so difficult , you deliberately do ! ! ! !




------ For reference only ---------------------------------- -----
very nice , thank you sharing, learning under
------ For reference only ---------------------- -----------------
requirements add friends ah ! ! ! Seeking landlord mercy
------ For reference only --------------------------------- ------
look good
------ For reference only ---------------------------------------
really very nice
------ For reference only ---------------------------------------
sorry ah, because 115 network disk uploaded files can be relatively large , so we choose to upload to that go above and now re- source code and exe files to csdn on , there are two parts
first part http://download.csdn.net / detail/zhuifengshaonian12/4777768
Part II
------ For reference only -------------------------------------- -
look good Niubi said
------ For reference only --------------------------- ------------
CSDN see pictures never tried worry , mother, drawing hung up , the administrator !
------ For reference only -------------------------------------- -
I must learn learn
------ For reference only ---------------------------- -----------
very good, there is imagination.
------ For reference only -------------------------------------- -

---- - For reference only ---------------------------------------

------ For reference only - -------------------------------------
Lanzhou bunkers still learning C, passing -
------ For reference only ---------------------------------- -----
java interface is the ugliest I've ever seen , no one, especially in x11 , even the Xifeng can match
------ For reference only ------ ---------------------------------
cattle fork ah , learning to learn
----- - For reference only ---------------------------------------
cattle ; indeed formidable
------ For reference only ----------------------------------- ----
cattle ah support

------ For reference only ---------------------------------- -----
interface is too spent, although able to make such a color , but no one will like
------ For reference only ------------ ---------------------------
Thank you for sharing
------ For reference only ----- ----------------------------------
java interface to do what is the point ?
------ For reference only -------------------------------------- -
Yes, yes . Learn, every day up
------ For reference only --------------------------------- ------
good, like a
------ For reference only ------------------------- --------------
exactly like a decade ago, the software style
------ For reference only ------------ ---------------------------
good software you are doing on the general
------ For reference only ---------------------------------------
top, leave footprints, convenient come back to see .
I'm bad art has been painted not any decent map.
------ For reference only -------------------------------------- -
. . . . . . . Look good
------ For reference only ------------------------------------ ---
good good ! ! ! ! ! 1
------ For reference only ------------------------------------- -
in network disk download , thank you ah !
------ For reference only -------------------------------------- -
really good, oh .
------ For reference only -------------------------------------- -
really very nice
------ For reference only ------------------------------ ---------
this . . . Jagged serious, do not support alpha channels do ?
Such shaped form , even if it is VB, most languages ​​can be achieved, but it is complicated to achieve nothing .
It's like with the PPT do animation , there is no flash , although the visual effect can be achieved, but not too much trouble you ? Any recommendations or something to do with the widely .
------ For reference only -------------------------------------- -
my opinion , java GUI to do the greatest disadvantage is the development of applications at boot time , the hard disk light flash crazy , Desktop suspended animation , and then is heard a crunching crunching .........
------ For reference only --------------------------------------- < br> upstairs buddy , I just learned java, java will use to achieve it, just to provide a reference method , in fact, really want to do nice words , there is a lot of details could be improved , they did not go deliberately discretion . Of course, I also know that you can do flash animation , and achieve much simpler .
------ For reference only -------------------------------------- -

---- - For reference only ---------------------------------------
seeking source. 153561890@qq.com
------ For reference only --------------------------------- ------
  The reply deleted by an administrator at 2012-11-19 14:21:04

------ For reference only ---------------------------------- -----
landlord 's simple interface , the interface is done Xuan is not a problem , but if a bit more complex , a number of label, textfield piled up together , running up on the slow
------ For reference only ---------------------------------------
support a sprinkle ah
------ For reference only --------------------------------------- < br> good, is to force ah
------ For reference only ------------------------------- --------
to see support
------ For reference only ---------------------------------------
top one. . . .
------ For reference only -------------------------------------- -
programmers aesthetic ah. . . .
------ For reference only -------------------------------------- -
drift off ~ ~ ~ ~ ~ ~
------ For reference only -------------------------- -------------
java do gui, performance?
------ For reference only -------------------------------------- -
actually looks a little flower , a little rough , java development background or honest more appropriate it !
Hollister Store , Hollister Coupon

------ For reference only ---------------------------------- -----
also, generally
------ For reference only -------------------------- -------------
feel very rigid.
C + + can also make a very nice effect, but java with c + + to achieve beautify the interface is really clumsy , you should consider using the flash and AS to achieve. Pay attention to fast and efficient project development , as well as controlling , not able to achieve on the line .
------ For reference only -------------------------------------- -
this interface, let me go back to my indows98 + flash5.0 feeling.

没有评论:

发表评论