Let's go.........RANDOM!

The place to hang out and talk about totally anything general.
Montyphy
level5
level5
Posts: 6747
Joined: Tue Apr 19, 2005 2:28 pm
Location: Bristol, England

Postby Montyphy » Tue Dec 07, 2010 12:06 am


inb4: FAKE! [size=0]Yeah, yeah. Read the last slide. ;)[/size]
Uplink help: Check out the Guide or FAQ.
Latest Uplink patch is v1.55.
User avatar
ynbniar
level5
level5
Posts: 2028
Joined: Wed Nov 08, 2006 10:36 pm
Location: Home again...

Postby ynbniar » Wed Dec 08, 2010 9:15 pm

:!: Tron Legacy tickets booked for next Saturday...it'll be my first 3D film :shock:

Just need to dig out a copy of the original to refresh my memory.
User avatar
Xocrates
level5
level5
Posts: 5262
Joined: Wed Dec 13, 2006 11:34 pm

Postby Xocrates » Wed Dec 08, 2010 9:19 pm

Tron Legacy doesn't open around until january :(

Considering whether to go see Scott Pilgrim which opens tomorrow.
User avatar
Xarlaxas
level5
level5
Posts: 1525
Joined: Sat Apr 15, 2006 4:48 pm
Location: Edinburgh
Contact:

Postby Xarlaxas » Wed Dec 08, 2010 9:26 pm

I'll be seeing Tron but not in icky 3D!
microchip08
level5
level5
Posts: 1187
Joined: Fri Aug 31, 2007 4:37 pm
Contact:

Postby microchip08 » Wed Dec 08, 2010 9:56 pm

Scott Pilgrim would probably suit 3D well, what with all the graphic novel "pow!"'s flying out at you.
User avatar
bert_the_turtle
level5
level5
Posts: 4795
Joined: Fri Oct 13, 2006 6:11 pm
Location: Cologne
Contact:

Postby bert_the_turtle » Wed Dec 08, 2010 10:04 pm

Xocrates wrote:Tron Legacy doesn't open around until january :(
Waaaaah! You're right!
User avatar
Xarlaxas
level5
level5
Posts: 1525
Joined: Sat Apr 15, 2006 4:48 pm
Location: Edinburgh
Contact:

Postby Xarlaxas » Wed Dec 08, 2010 10:10 pm

bert and xoc: Just come and visit me this Christmas! :P
User avatar
elexis
level5
level5
Posts: 1466
Joined: Fri Aug 24, 2007 6:11 am
Location: Australia
Contact:

Postby elexis » Thu Dec 09, 2010 12:57 am

Does anyone know how in Java I can check whether the shift key is pressed from within an ActionEventListener inner class for a button? Google doesn’t seem to be helping
User avatar
tabasco boy
level5
level5
Posts: 1180
Joined: Sun Mar 10, 2002 4:25 pm
Location: Lovely Planet Earth
Contact:

Postby tabasco boy » Thu Dec 09, 2010 5:01 am

elexis wrote:Does anyone know how in Java I can check whether the shift key is pressed from within an ActionEventListener inner class for a button? Google doesn’t seem to be helping


isn't it something like:

public void keyPressed(KeyEvent e) {
// Handle the keys
switch (e.getKeyCode()) {

case VK_SHIFT:
System.out.printIn(" The Shift key was pressed." );
break;
}
}

don't hold me on it as i'm kinda rusty now.
User avatar
elexis
level5
level5
Posts: 1466
Joined: Fri Aug 24, 2007 6:11 am
Location: Australia
Contact:

Postby elexis » Thu Dec 09, 2010 6:48 am

What I want to do is make the button do something different when the shift key is pressed when you click it. Currently I am using a MouseEventListener which allows me to to pretty much what tabasco boy said on MouseClick but ive noticed that you sometimes need to Click/Shift-Click the button several times before anything happens. I am assuming this is because im not using the preferable ActionEventListener to check if the button is being used. The problem is i cant find any way to check if the key (shift is a modifier key) is down or not without using the MouseEvent of KeyEvent listeners. I *could* put a Key listener in EVERY focusable object in the gui which checks this but thats horrible inefficient.
martin
level5
level5
Posts: 3210
Joined: Fri Nov 19, 2004 8:37 pm

Postby martin » Thu Dec 09, 2010 11:30 am

Xocrates wrote:Considering whether to go see Scott Pilgrim which opens tomorrow.


Watch it, Scott pilgrim is an awesome film!
GENERATION 22:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
User avatar
Ace Rimmer
level5
level5
Posts: 10803
Joined: Thu Dec 07, 2006 9:46 pm
Location: The Multiverse

Postby Ace Rimmer » Thu Dec 09, 2010 4:12 pm

bert_the_turtle wrote:
Xocrates wrote:Tron Legacy doesn't open around until january :(
Waaaaah! You're right!

What? The movie theaters around here say Dec 17th. :P
Smoke me a kipper, I'll be back for breakfast...
User avatar
Feud
level5
level5
Posts: 5149
Joined: Sun Oct 08, 2006 8:40 pm
Location: Blackacre, VA

Postby Feud » Thu Dec 09, 2010 6:14 pm

Come on England, you guys still haven't tossed that Wikileaks guy off the Tower Bridge? What's the hold up?
DTNC Vicious
Site Admin
Posts: 1783
Joined: Sat Mar 14, 2009 1:48 am
Location: North of the Wall
Contact:

Postby DTNC Vicious » Thu Dec 09, 2010 7:18 pm

Hackers are trying to Mess Up PayPal today Oh noes!
Montyphy
level5
level5
Posts: 6747
Joined: Tue Apr 19, 2005 2:28 pm
Location: Bristol, England

Postby Montyphy » Thu Dec 09, 2010 7:21 pm

Vicious wrote:Hackers are trying to Mess Up PayPal today Oh noes!


Didn't start today.
Uplink help: Check out the Guide or FAQ.

Latest Uplink patch is v1.55.

Return to “Introversion Lounge”

Who is online

Users browsing this forum: No registered users and 31 guests