Java Programming Corner! - PINOYDEN


Go Back   PINOYDEN > PC Zone > Programming

Welcome to PinoyDen Forums.

You are currently browsing our forum as a guest, please consider registering to get full access to all of our forum features, download free games, get help for your pc and cellphone problems and learn new mobile tricks like how to browse the internet using your cellphone for free. All that and more, so what are you waiting for, JOIN us now!!!! Click here to register...
 Topic: Java Programming Corner!  (Read 1647 times)
0 Members and 1 Guest are viewing this topic.
Pages: 1 2 [3] 4   Go Down
Reply #30
12-10-12 07:55 AM
  • Jr. Member
  • **
  • Offline
 
Posts: 166
Thank You: 2
Reputation: 0
gibsonslasher22 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Sir, saan po ba dapat nilalagay yung code para sa connection ng JTable sa database? Nilagay ko kasi sa constructor, di ko tuloy maaccess sa actionPerformed. Thanks!
Reply #31
12-10-12 07:15 PM
  • Semi-Newbie
  • *
  • Male Offline
 
Posts: 41
Thank You: 10
Reputation: 0
tabs5894 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Quote:
Sir, saan po ba dapat nilalagay yung code para sa connection ng JTable sa database? Nilagay ko kasi sa constructor, di ko tuloy maaccess sa actionPerformed. Thanks!

May class kaba na naka extends sa AbstractTableModel ?
patingin nga ng codes mo.
Reply #32
12-10-12 11:00 PM
  • Jr. Member
  • **
  • Offline
 
Posts: 166
Thank You: 2
Reputation: 0
gibsonslasher22 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Quote:
Originally Posted by : tabs5894 on 12-10-12 07:15 PM
May class kaba na naka extends sa AbstractTableModel ?
patingin nga ng codes mo.

Nako po. Wala kaming internet. Hahaha. Cp lang gamit ko sir. Pagaralan ko na lang nga muna mabuti. Thx anyway.
Reply #33
12-20-12 06:52 PM
  • Full Member
  • ***
  • Male Offline
 
Posts: 2815
Thank You: 230
Reputation: 2
mikesilver has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Pasali dito.. Java programmer din..Hehe
Reply #34
12-21-12 01:59 AM
  • Jr. Member
  • **
  • Offline
 
Posts: 166
Thank You: 2
Reputation: 0
gibsonslasher22 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Quote:
Originally Posted by : tabs5894 on 12-10-12 07:15 PM
May class kaba na naka extends sa AbstractTableModel ?
patingin nga ng codes mo.

Sir tabs, meron po ba kayong sample codes? Sumasakit na kasi ulo ko e. Gusto ko sanang ma update agad yung JTable na pag nag add edit delete ako. Salamat ng marami.
Reply #35
12-28-12 09:51 PM
  • Full Member
  • ***
  • Male Offline
 
Posts: 609
Thank You: 293
Reputation: 0
excalibur7 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
bro paturo nga po.gumawa po ako ng database ko sa ms access.gusto ko po palabasin sa isang textarea yung laman ng bawat column kapag iki-click ko po yung ginawa kong button na "next".ano po ba code nun?
Reply #36
12-30-12 02:29 AM
  • Full Member
  • ***
  • Male Offline
 
Posts: 529
Thank You: 108
Reputation: 0
Adrianix2009 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
, sa mga expert jan sa mga java , paki solve naman eto .
Java out of memory .
Anu niyan ? ,kapag nag open ako ng games ang eba mag warning ng ganyan ? Paki solve naman at paki guid
Reply #37
12-31-12 03:49 AM
  • Semi-Newbie
  • *
  • Male Offline
 
Posts: 41
Thank You: 10
Reputation: 0
tabs5894 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Quote:
Originally Posted by : excalibur7 on 12-28-12 09:51 PM
bro paturo nga po.gumawa po ako ng database ko sa ms access.gusto ko po palabasin sa isang textarea yung laman ng bawat column kapag iki-click ko po yung ginawa kong button na "next".ano po ba code nun?

Marunong kana ba mag Connect ng Access sa java?

If yes ganito nalang problem mo:

Kapag nag query ka ang hahawak ng result ng query mo ay yung resultset diba? e.g.

Code: [Select]
ResultSet rs = stmt.executeQuery("SELECT * FROM tblName");

Next ilalagay mo sa event ng Button mo yung pag point sa bawat data sa column e.g.
//Assuming nanaka declare sa field yung ResultSet as rs
//Assume na naka declare rin ng ganito yung JTextArea mo

JTextArea txtArea = new JTextArea();
Code: [Select]
btn.addActionListener( new ActionListener(
           @Override
           public void actionPerformed(ActionEvent evt) {
                   rs.next

                   txtArea.setText = rs.getString(1) // Number 1 means kung pang ilang column sya sa DB mo
           }
));


Hope this helps,
Happy Coding...



------------------------
@Adrianix2009

Sir san mo na-e-encounter yan sa PC or mobile?
Reply #38
12-31-12 04:07 PM
  • Full Member
  • ***
  • Male Offline
 
Posts: 529
Thank You: 108
Reputation: 0
Adrianix2009 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Quote:
Originally Posted by : tabs5894 on 12-31-12 03:49 AM
Marunong kana ba mag Connect ng Access sa java?

If yes ganito nalang problem mo:

Kapag nag query ka ang hahawak ng result ng query mo ay yung resultset diba? e.g.

Code: [Select]
ResultSet rs = stmt.executeQuery("SELECT * FROM tblName");

Next ilalagay mo sa event ng Button mo yung pag point sa bawat data sa column e.g.
//Assuming nanaka declare sa field yung ResultSet as rs
//Assume na naka declare rin ng ganito yung JTextArea mo

JTextArea txtArea = new JTextArea();
Code: [Select]
btn.addActionListener( new ActionListener(
           @Override
           public void actionPerformed(ActionEvent evt) {
                   rs.next

                   txtArea.setText = rs.getString(1) // Number 1 means kung pang ilang column sya sa DB mo
           }
));


Hope this helps,
Happy Coding...



------------------------
@Adrianix2009

Sir san mo na-e-encounter yan sa PC or mobile?
SA MOBILE po .
Reply #39
01-06-13 09:25 PM
  • Jr. Member
  • **
  • Offline
 
Posts: 166
Thank You: 2
Reputation: 0
gibsonslasher22 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Saan ba pwede makakuha ng magagandang look and feel? Thanks.
Reply #40
01-07-13 12:08 PM
  • Newbie
  • Offline
 
Posts: 1
Thank You: 1
Reputation: 0
natad123 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Quote:
Saan ba pwede makakuha ng magagandang look and feel? Thanks.



eto po..
Code: [Select]
http://www.jyloo.com/synthetica/themes/
Reply #41
01-14-13 12:33 PM
  • Full Member
  • ***
  • Male Online
 
Posts: 1641
Thank You: 80
Reputation: 1
rholter13 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
mag boss .. ano ang code kapag invalid yung input na number tapos babalik sa unang method ?

gamit lang po yung sa java.io
Reply #42
01-15-13 07:00 AM
  • Full Member
  • ***
  • Male Offline
 
Posts: 3302
Thank You: 259
Reputation: 1
xtalsis has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
pasali dito mga tol. Sa vb nakami
Reply #43
01-17-13 07:35 PM
  • Full Member
  • ***
  • Offline
 
Posts: 878
Thank You: 8
Reputation: 0
globibo has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Ts, nadownload ko na, , post ulit ako pag nahirapn ako.
Reply #44
01-20-13 09:31 AM
  • Full Member
  • ***
  • Male Online
 
Posts: 1641
Thank You: 80
Reputation: 1
rholter13 has no influence.barely matters.is working their way up.might someday be someone...is on the verge of being accepted.is a rising star!has a powerful will.is a force to reckon with.has great potential!has an aura about them.is leading the good life!is awe-inspiring!
Quote:
Originally Posted by : rholter13 on 01-14-13 12:33 PM
mag boss .. ano ang code kapag invalid yung input na number tapos babalik sa unang method ?

gamit lang po yung sa java.io

pa-up lang po ng tanong ko .
Pages: 1 2 [3] 4   Go Up
 


Related Topics
Subject Started by Replies Views Last post
[HELP] java programming!!!!!!!!! please
Programming
mong_mong 1 465 Last post 03-13-10 08:32 AM
by jamsubzero
Java programming help
Programming
reyn22 14 481 Last post 12-11-10 07:51 PM
by darkshow
[TUT] java programming please help me
Programming
dasigan 6 411 Last post 12-08-12 07:39 AM
by luvnheyt
[HELP] Java Programming
Programming
mardzx 0 236 Last post 07-23-11 07:22 PM
by mardzx
[help] Java Programming
Programming
Roldan08 0 221 Last post 09-20-11 12:07 PM
by Roldan08

All dates are GMT+8:00. The date now is 05-22-13 02:33 PM
WWW.PINOYDEN.COM.PH does not store any files on it's server, we are just indexing other sites contents!
WWW.PINOYDEN.COM.PH [Ang Tambayan ng pinoy!] © copyright 2008-2009 All Rights Reserved.
Contents published on www.PinoyDen.com.ph requires permission for reprint.

Page created in 0.18 seconds with 22 queries.