• (3 Pages)
  • +
  • 1
  • 2
  • 3

Basic GUI Concepts An intro to the wide world of graphical interfaces. Rate Topic: ***** 4 Votes

#31 JoeTannoury  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-January 14

Posted 28 January 2014 - 01:09 PM

[quote name='SPlutard' date='09 August 2006 - 02:45 AM' timestamp='1155116737' post='165986']


This is an awesome tutorial, but you should consider to change
areaTF.setText("" + area);

to
areaTF.setText(String.valueOf(area));

because using the old trick
"" + area
will convert to a string, but its wrong coding. I recommend using
String.valueOf()
to convert it right

they said that in Java 8 they will remove the
"" + area
so be ready.


Anyway, awesome tutorial! :)
Was This Post Helpful? 0
  • +
  • -

#32 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10819
  • View blog
  • Posts: 40,334
  • Joined: 27-December 08

Posted 01 February 2014 - 09:39 AM

I could not find any articles which discussed this claim about removing the + operator for String concatenation in Java 8. Would you mind sharing a link or two where I could read more?
Was This Post Helpful? 0
  • +
  • -

#33 kucingkakus  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 30-September 14

Posted 30 September 2014 - 02:50 AM

Thank you for your excellent tutorial it helps me heaps, now i could understand better of swing component, but i have a bit question in my mind is how do you show an image or images which change periodically, just say it works like slideshow? hihihih sorry maybe i ask a bit too much buy im deadly stuck with this, as for my final university assignemnt.
Was This Post Helpful? 0
  • +
  • -

#34 andrewsw  Icon User is online

  • It's just been revoked!
  • member icon

Reputation: 3837
  • View blog
  • Posts: 13,587
  • Joined: 12-December 12

Posted 30 September 2014 - 04:45 AM

Your question is distinct from this tutorial. Please start a new question in the Java forum, posting some of the code that you have currently.
Was This Post Helpful? 0
  • +
  • -

#35 kucingkakus  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 30-September 14

Posted 30 September 2014 - 06:15 PM

thank you the reply, i am really sorry for the out of topic, yes sure i will create a new one and will you help me out with it?. thank you again.
Was This Post Helpful? 0
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3