pbl's Profile
Reputation: 8030
Deity
- Group:
- Mentors
- Active Posts:
- 31,220 (16.39 per day)
- Joined:
- 06-March 08
- Profile Views:
- 84,854
- Last Active:
Today, 07:11 PM- Currently:
- Offline
Previous Fields
- Country:
- CA
- OS Preference:
- Who Cares
- Favorite Browser:
- Internet Explorer
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Hyundai
- Dream Kudos:
- 2425
Latest Visitors
-
zerimar97 
Today, 03:56 PM -
kai_itz me 
Today, 04:18 AM -
Jderwin1 
21 May 2013 - 19:09 -
kingu_sa_kashi 
20 May 2013 - 21:34 -
bucano 
20 May 2013 - 08:22 -
rishabhsharma 
18 May 2013 - 23:33 -
noten 
18 May 2013 - 22:36 -
macosxnerd101 
18 May 2013 - 18:01 -
ruymonroy 
17 May 2013 - 23:55 -
CY5 
15 May 2013 - 21:39
Posts I've Made
-
In Topic: Pizza Choice Program
Posted 23 May 2013
if(sizeChosen == pizzaSize[s]);
you can't compare two String using the == operator
You need to use the String class equals() method
and the ; finishes the if so should be
if(sizeChosen.equals(pizzaSize[s])) <--- without the ; -
In Topic: [HELP] JTable AbstractTableModel connected to database not refreshing
Posted 23 May 2013
because dt is a variable pointing to your TableModel ? And we are suppose to know that ?
Ok so shoud be
dt.data = ...
dt.fireTableDataChanged();
What are new DBWorkers() supposed to do ? -
In Topic: Finding duplicate in arraylist except for zero
Posted 23 May 2013
Just return true if you have a match
int len = al.size(); for(int i = 0; i < len-1; ++i) { int val = al.get(i); if(val == 0) continue; for(int j = 0; j < len; j++) { if(al.get(j) == val) return true; } } return false; -
In Topic: How do you include the java j3d library
Posted 23 May 2013
You explain us how to do it or there is a question hidden some where ? -
In Topic: Down Casting/Inheritance
Posted 23 May 2013
there is no casting in the Animal example
if is just a a daisy chain of type as String
class Shapes { String type; Shapes(int x, int y) { this("Shapes", x, y); } Shapes(String type, int x, int y) { this.type = type; this.x - x; this.y = x; } void displayType() { System.out.println("The type is: "); } } class Rectangle { Rectangle(int x, int y) { this("Rectangle", x, y); } Rectangle(String type, int x, int y) { super(type, x, y); } } class Box { Box(int x, int y) { super("Box", x, y); }
}
class Rectangle {
My Information
- Member Title:
- There is nothing you can't do with a JTable
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
- Location:
- Drummondville, quebec, Canada
- Full Name:
- Paul-Benoit Larochelle
- Years Programming:
- 39
- Programming Languages:
- Java, C, C++, Cobol, Fortran, Assembler, Macro, Compass, DCL, Snobol
Contact Information
- E-mail:
- Private
- Website URL:
-
http://www.pblinc.ca
Friends
-

prajayshetty
-

JITHU
-

Dogstopper
-

mostyfriedman
-

hdr
-

mahor1989
-

m-e-g-a-z
-

chosen_12
-

Metropoler
-

lubna najeh
-

ifeelgood
-

Zekorov
-

metric
-

william_ta...
-

irmoathlete
-

vikrant839
-

sbdk
-

setubeharilal
-

Bouba
-

codeprada
-

kuldip.kadam
-

Criel
-

MBT7
-

umcsdon
-

robinthapa
-

LieannM
-

bevz
-

amture106
-

BaguMka
-

MartinPe
-

nunc
-

New Java
-

ric1989
-

Ak baliyan
-

XxLegendxX
-

romero4742
-

NTh9
-

sulav
-

SilverEleak
-

vbabey
-

h4han
-

raghav.nag...
-

keziahcook
-

balraj8
-

MattDelly
-

Flukeshot
-

Zakii
-

crisdeveloper
-

Event-handler
-

Arkar
Showing 50 random friends of 201 (View all)
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Quang Pham
06 Dec 2012 - 09:49jonnykratz
03 Nov 2012 - 07:08luka-xavi
19 Oct 2012 - 14:05thanks in advance
carnivroar
26 Jul 2012 - 19:45burakaltr
23 Jul 2012 - 13:01braincofe
04 Jul 2012 - 23:37thanks advanced..
ILoveJava
03 Jun 2012 - 17:30dinodsja
27 Apr 2012 - 01:13join with us
www.technew.in
nj2012
24 Apr 2012 - 20:46I just wanted to say thank you for helping me with my question
DimitriV
11 Apr 2012 - 18:35ILoveJava
08 Apr 2012 - 20:06polivare
02 Apr 2012 - 19:44I have a quick question, is there anyway you can help me?
polivare
02 Apr 2012 - 19:44I have a quick question, is there anyway you can help me?
menoua
31 Mar 2012 - 19:31jon.kiparsky
12 Feb 2012 - 21:49