« first day (755 days earlier)      last day (4198 days later) » 

12:43 AM
Hello :)
Is anyone here?
 
Tom
Nope, just a single madman about to to smash his laptop into tiny pieces.
 
12:56 AM
:D
Haha hai again Tom :)
 
 
1 hour later…
1:59 AM
hello?
can someone help me
here is my code
oh sorry
wrong paste
please ignore that
 
Hi!
 
I can help you!
 
there is my full code
the question i have is
that if you run the applet
i want the user to be able to drag the value of one card to the other
 
solitaire?
 
2:01 AM
sort of
TransferHandler transfer = new TransferHandler("text"){

@Override
protected void exportDone(JComponent source, Transferable data, int action) {
if (action == MOVE){
((JLabel) source).setText("");
}
}

@Override
public int getSourceActions(JComponent c) {
return COPY | MOVE;
}

@Override
public boolean importData(JComponent comp, Transferable t)
{
if( !((JLabel)comp).getText().equals(""))
{

String text = ((JLabel)comp).getText();
if(text.equals(String.valueOf(cardVals[0])) )
{
cards[0].setBounds(home1);
that is my transfer handler class
*object
 
so I once did a project that allowed you to snap objects to a grid
you could drag and drop them, but not drag them on other objects
if you want, i can give you the project
 
but is there a way for me to get the value of what is under the object that is being dragged?
 
under the object?
You mean when it is dropped?
 
sorry card
pretend
 
oh
i see
sure!
 
2:03 AM
that you have dropped one of the cards from the top into one of the spaces in teh middle
 
I recommend making some type of grid
and each time you drag, take the x and y coords, and divide them to get grid cooards
then check in that position in the grid, and bingo!
 
ah i see!
that makes sense
thank you
!
 
~next
i do have code that can help you with that
 
i could probably figure it out myself
but sure id love to see it
but i should check the position in importData?
 
depends
check it in mousedragged
 
2:10 AM
so i would have to make another private class right?
 
no
what for?
 
because im just using a transfer handler right now
it doesnt extend any mouse adapters
 
hello fellow programmers!
 
hi
 
 
7 hours later…
8:53 AM
hi all
 
 
3 hours later…
11:31 AM
Hi
 
11:56 AM
For whatever reason my instructor used the following convention to declare a generic class: class Node <Comparable>{}. Is this the same as using class Node <E>{} ? I thought a single letter was the standard. Now I am confused.
 
 
2 hours later…
2:08 PM
hello!
is anyone willing to help me with a silly java problem? keywords: BufferedReader on sockets, reading lines, lines getting dropped/skipped
 
Hi
 
This chat is more weird than Calendar.MONTH from 0 to 11
Computer joke from Europe guys..
 
 
1 hour later…
3:40 PM
Hello, World!
 
4:17 PM
@Code-Guru i clicked on ur pic and realised that no way that hot girl knows JAVA! lol
 
4:28 PM
@noobprogrammer hah
You never know.
@noobprogrammer Once I met a beautiful woman that knows C++. Unfortunately she was already married.
 
dang!
 
 
1 hour later…
5:44 PM
... anyone here?
 
Yea
@Code-Guru Sucks lol
 
 
1 hour later…
6:51 PM
hello fellas
 
7:05 PM
(╯°□°)╯︵ ┻━┻ NullPointerException
 
7:38 PM
how to clear or destroy a NodeList?
goodday all
 
can't you set it to null ?
 
i'll try that
 
I think that would be faster than using a function
 
hello
 
7:51 PM
Im back
:)
 
lol.....you sure are
ar you here to finally exterminate humans from the planet? :-P
 
lol
No im here to get help with buying my laptop :P
 
lol..what do we look like? Best buy? :-P
Consumer Reports? :-P
Lewis!!!
 
LOl
 
what kinda help do you need? :)
 
7:58 PM
umm suggestions for the black friday purchase? Is it good enough to stick to buying online?
im looking for the best deal i can get around 800
:P
 
I've heard bad stuff about online black Friday purchases
high turnover rate
you might try your luck; otherwise, go punch ppl in the stomach on Friday morning :)
 
high turnover rate?
 
returns
due to bad parts
wrong orders
 
:\
thats bad
 
non-working systems, etc
 
8:02 PM
@It'sYourFault LEWS
Hey
 
lol; it shall forever be named " Lewis "
*u
 
Did you just call me an it and Lewis? RAAAAAAAAAAAAAAGE
:P
How're you mate?
 
I'm good; how about yourself?
 
Trying to stay sane, thanks.
 
lol....we've all been there
 
8:06 PM
:O
First time seeing something like that.
 
we want female programmers!!! :)
 
I wouldn't mind then!
 
me neither
of course, not on the job
unless we are working overtime
 
On the job, at home.. anywhere lol
 
nuh uh
not anywhere;
there are places you cannot do as you wish :-P
 
8:10 PM
Just pretend you don't give a shit :D
 
lol.....easier said than done :-P
not to mention you'll embarrass the girl
 
Have you seen Save the last dance?
She wasn't embarrassed xD
 
lol...nope
but I know that women usually like not to be embarrassed
 
If the girl is embarrassed then she doesn't like me.
 
especially in front of her peers
lol
nope
 
8:13 PM
Really?
 
if you are trying to dryhump a girl in a public place, chances are you don't respect her either :-P
 
What's dryhump?
oH
 
that's why the freaky ones use secluded areas
movie theaters, secluded parks, etc :)
 
Lool
Why not just go home?
 
lol...
can anyone answer that question? :)
unless your home is nearby, you'll likely not go home
I think your car would serve as your home at that point
 
8:16 PM
Dang, human lusts.
 
typ?
 
or.....as I like to say; horny bastards!
 
Ha ha indeed.
What did you remove?
 
lol.....it was a typo
it was supposed to say yup
 
8:23 PM
Oh. typ
:D
My database schema design is uber complex...
Freaking me out
 
I've not seen it, and it's freaking me out too :)
 
Lol, thank you very much. And it should :)
 
just forget programming and be a farmer :-P
 
Nah, we have enough culchies. I can think of something more exciting :)
 
lol...how about bumming
 
8:29 PM
If I had money.. yeah
Definitely
Or... is there another definition to bumming?
Lol I'm starting to think so...
 
lol; u don't need money :)
Long Live the Bums!
 
I thought bumming meant travelling
:)
 
lol...nope
homeless and drifting......that's my definition
you hear about that homeless billionaire?
 
:O
@It'sYourFault Who?
 
8:46 PM
I guess he is technically homeless
 
lol......he's technically houseless :)
well, since he has no family, you can say he's both
homeless and houseless
 
As he can afford a five star hotel, he isn't homeless either lol.
More like a drifter
 
lol....yup
wanna be homeless like him?
 
Nope.
I want his money though.
 
go get him :)
 
8:50 PM
That won't be easy :(
 
you are a programmer; you are built to devise solutions to hard problems :-P
 
Not me.
See the time it is taking for me to design something.
 
lol.....that's because you aren't using The Force :)
Use the Force, Lewis!!!
 
I must find the Force!!
The Force abandons me... why?
 
lol....maybe you've sucked the life out of The Force :)
 
9:04 PM
So I am more powerful then..
Yay!
 
Lewis "The Mighty" has killed The Force
All hail Lewis!!!
 
LEWS
Do you not fear me?
I, even I, killed The Force.
Say my correctly, or see yourself join The Force!!!
Nah, that was horrific.
 
no wonder the world knows no peace; someone has already killed The Force
 
I will save the world, or I will break it. At my name there will be a gnashing of the teeth
Do you read books?
I haven't read in a long time.. I fear I've lost my imagination :(
 
lol.....mine too
maybe cartoons will help
 
9:12 PM
I watch animes
 
lol....cartoons for adults
 
Yeah lol
I'd like to get back to pokemon or yugioh at some point
I'm just swamped with lots of crap
 
there's a local channel here that shows it every Saturday mornings
both Pokemon, Yugioh, and Dragon Ballz
 
Funny enough, I've never seen an episode of Dragon Ball Z
Ugh, I'd have to get back to all of it.
No girlfriend anyway :P
 
lol.....so, go get one
or do the mail-order bride from Russia :)
 
9:23 PM
I could do what House did lol
Maybe we'd both fall in love lmao
 
lol....what did he do?
created a female robot?
 
9:49 PM
@It'sYourFault Bloody wifi crashed
No, don't you watch House MD?
 
nope....I don't wash guys :-P
 
Facepalm
xD
I need to rest.
 
lol.....suuuuure
 
Lol, I have a lot to do. So I will talk to you soon!
Take care.
 
Hey all, can anyone help me out with a jquery issue?
 
9:58 PM
you too, buddy
@matt JavaScript room will be the best room to ask such question; ask anyway :)
 
10:19 PM
hello fellow programmers!
@matt okay, I know some jquery
but this is the java room, not javascript
 
11:19 PM
hi ticklisk
 

« first day (755 days earlier)      last day (4198 days later) »