NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

JFrame and Image

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Nehemian



Joined: 22 Nov 2016
Posts: 1

PostPosted: Tue Nov 22, 2016 9:27 am    Post subject: JFrame and Image Reply with quote

Hi! Sorry for my bad english. I hope you help me. I need that image move on other image. I found instruction: https://netbeans.org/kb/docs/java/gui-image-display.html
I create JPanel. I Can create background, how pointed in instruction. But i can't create move.
Please, help create move image om other image.

P.S: Sorry for my bad english.
Back to top
Schade



Joined: 06 Jan 2017
Posts: 6
Location: France

PostPosted: Wed Jan 11, 2017 10:45 pm    Post subject: Reply with quote

Hello ! For helping you, we need more code. What did you write on the mouse event ? The most common problem is that you have to reload the container of your JLabel. With a revalidate() call.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo