Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Plan your Crypto & Forex entries before you take the trade
romeshnonis
Updated:
Today at 3:20 AM
RHCSA, RHCE, AWS, Docker, Kubernetes Training
Sanjeewani95
Updated:
Tuesday at 10:28 AM
🛡️ Kaspersky Antivirus – 1 Year / 1 Device | Rs. 2,300 | Only 9 Left
KSPathirana
Updated:
Sep 7, 2026
Ad icon
Professional CCTV Installation Service
Techguy231
Updated:
Sep 6, 2026
Ad icon
I'll research & write an article - Rs. 2000 onwards
Blogerwiki
Updated:
Sep 3, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
ElaKiri Programmer's Club
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Voltage" data-source="post: 17272798" data-attributes="member: 391265"><p><strong>java | Netbeans</strong></p><p></p><p>මට ඕනේ java වලදි එක JFrame එකක තියෙන label එකක තියෙන text එකක් වෙන JFrame එකක ඉදන් setText කරන්න. </p><p></p><p>Label එක තියෙන JFrame එකේ මම ලිවුවා මෙහෙම</p><p>[CODE]public void loadstatus(String status){</p><p> labelstatus.setText(status);</p><p> } [/CODE]</p><p></p><p>ඊට පස්සේ මම වෙන JFrame එකක ඉදලා මෙහෙම ලියනවා</p><p></p><p>[CODE]JFrame1.loadstatus(" message here");[/CODE]</p><p></p><p>ඒත් error එනවා මිසක් මේක වැඩ කරන්නේ නැනෙ</p><p></p><p>මට අවශ්ය JOptionPane එකකින් notification එකක් දෙනවා වෙනුවට main JFrame එකේ තියෙන label එකකටම ඒ ඒ messages display කරන්නයි. මොකද එතකොට user ට OK OK click කර කර ඉන්න ඕන නැනෙ</p></blockquote><p></p>
[QUOTE="Voltage, post: 17272798, member: 391265"] [b]java | Netbeans[/b] මට ඕනේ java වලදි එක JFrame එකක තියෙන label එකක තියෙන text එකක් වෙන JFrame එකක ඉදන් setText කරන්න. Label එක තියෙන JFrame එකේ මම ලිවුවා මෙහෙම [CODE]public void loadstatus(String status){ labelstatus.setText(status); } [/CODE] ඊට පස්සේ මම වෙන JFrame එකක ඉදලා මෙහෙම ලියනවා [CODE]JFrame1.loadstatus(" message here");[/CODE] ඒත් error එනවා මිසක් මේක වැඩ කරන්නේ නැනෙ මට අවශ්ය JOptionPane එකකින් notification එකක් දෙනවා වෙනුවට main JFrame එකේ තියෙන label එකකටම ඒ ඒ messages display කරන්නයි. මොකද එතකොට user ට OK OK click කර කර ඉන්න ඕන නැනෙ [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom