Click here to Skip to main content
15,898,036 members
Home / Discussions / Java
   

Java

 
GeneralRe: how to open a website when i press a button in Java Pin
Richard MacCutchan27-Mar-11 0:52
mveRichard MacCutchan27-Mar-11 0:52 
AnswerRe: how to open a website when i press a button in Java Pin
TorstenH.28-Mar-11 1:19
TorstenH.28-Mar-11 1:19 
QuestionSwing JDialog bug? [modified] Pin
amit ofer26-Mar-11 1:03
amit ofer26-Mar-11 1:03 
AnswerRe: Swing JDialog bug? Pin
TorstenH.28-Mar-11 1:25
TorstenH.28-Mar-11 1:25 
QuestionCrash in java.exe Pin
schki0225-Mar-11 13:31
schki0225-Mar-11 13:31 
AnswerRe: Crash in java.exe Pin
TorstenH.28-Mar-11 1:16
TorstenH.28-Mar-11 1:16 
Questioncolor fade animation for grid cells in swing Pin
amit ofer25-Mar-11 5:30
amit ofer25-Mar-11 5:30 
QuestionGluing JLabels to a contentPane Pin
kurt124-Mar-11 12:30
kurt124-Mar-11 12:30 
Hi All,
I have created a contentPane of 1600 x 1600. On this contentPane i am using JLabels attached to JPanels to show images. I have set the contentPane layoutmanager to null so i can place the JPanels where i want. E.g I want to place a JPanel off the screen so my player sprite can walk towards it and then the JPanel becomes visible as it enters the screen.
My probelm is that the JPanels are getting placed and showing on the initial screen but when my player sprite moves in a direction (lets say right) the JPanel also moves with the player sprite as the screen moves. How can i glue the JPanel to a fixed position? I have tried various layout managers but this also does not work.
Kurt
AnswerRe: Gluing JLabels to a contentPane Pin
JP_Rocks27-Mar-11 1:07
JP_Rocks27-Mar-11 1:07 
Questionusing scroll in java GUI Pin
williamroma23-Mar-11 2:23
williamroma23-Mar-11 2:23 
AnswerRe: using scroll in java GUI Pin
TorstenH.23-Mar-11 3:46
TorstenH.23-Mar-11 3:46 
QuestionHow can we call c++ functions by using java code Pin
sankardunga21-Mar-11 1:09
sankardunga21-Mar-11 1:09 
AnswerRe: How can we call c++ functions by using java code Pin
Richard MacCutchan21-Mar-11 2:59
mveRichard MacCutchan21-Mar-11 2:59 
AnswerRe: How can we call c++ functions by using java code Pin
jschell21-Mar-11 7:52
jschell21-Mar-11 7:52 
GeneralRe: How can we call c++ functions by using java code Pin
Richard MacCutchan21-Mar-11 8:51
mveRichard MacCutchan21-Mar-11 8:51 
GeneralRe: How can we call c++ functions by using java code Pin
jschell22-Mar-11 8:04
jschell22-Mar-11 8:04 
GeneralRe: How can we call c++ functions by using java code Pin
Richard MacCutchan22-Mar-11 8:21
mveRichard MacCutchan22-Mar-11 8:21 
QuestionTIME in java Pin
williamroma20-Mar-11 0:38
williamroma20-Mar-11 0:38 
AnswerRe: TIME in java Pin
Richard MacCutchan20-Mar-11 5:04
mveRichard MacCutchan20-Mar-11 5:04 
AnswerRe: TIME in java Pin
TorstenH.20-Mar-11 7:39
TorstenH.20-Mar-11 7:39 
AnswerRe: TIME in java Pin
Luc Pattyn20-Mar-11 11:31
sitebuilderLuc Pattyn20-Mar-11 11:31 
GeneralRe: TIME in java Pin
shi-fj31-Mar-11 4:34
shi-fj31-Mar-11 4:34 
AnswerRe: TIME in java Pin
CodingLover22-Mar-11 18:38
CodingLover22-Mar-11 18:38 
GeneralRe: TIME in java Pin
williamroma23-Mar-11 2:20
williamroma23-Mar-11 2:20 
GeneralRe: TIME in java Pin
CodingLover23-Mar-11 18:57
CodingLover23-Mar-11 18:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.