| Author |
JFrame Help
|
John Pereira
Greenhorn
Joined: Aug 24, 2012
Posts: 3
|
|
Hey guys i am struggling a bit with Jframe.Pretty new to JFrame.
I have a file in Picture class and need to bring the BufferedImage to the DrawingImageControlPanel.How do i do this.
I know the template for doing this is as stated below.
Here is the code in Picture Class that i need to invoke
Below is my code for Just the class DrawDrawingImageControlPanel
Thank you
|
 |
Greg Brannon
Bartender
Joined: Oct 24, 2010
Posts: 530
|
|
|
Why do you have a method, DrawImageControlPanel(), enclosed in (or nested in) another method called DrawImageControlPanel()?
|
Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
|
 |
John Pereira
Greenhorn
Joined: Aug 24, 2012
Posts: 3
|
|
ok i removed the constructor the Complier say i still got 1 error
The fact is the below code which in principle is almost the same as the one i highlighted gave me no error.Thats why i used the constructor.
|
 |
Greg Brannon
Bartender
Joined: Oct 24, 2010
Posts: 530
|
|
|
Please post your updated code and error messages copied and pasted from exactly as they appear at your end. I agree that the statement you've most recently highlighted is odd. Perhaps you can also post an explanation of what you're trying to do there.
|
 |
John Pereira
Greenhorn
Joined: Aug 24, 2012
Posts: 3
|
|
|
well the message i written is pretty clear.I cant help if you do not understand. thanks
|
 |
Greg Brannon
Bartender
Joined: Oct 24, 2010
Posts: 530
|
|
Have I requested something unreasonable in my quest to help you?
How about the updated code?
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4165
|
|
John, please BeForthrightWhenCrossPostingToOtherSites <- link
http://www.daniweb.com/software-development/java/threads/432012/image-into-jframe
|
luck, db
There are no new questions, but there may be new answers.
|
 |
 |
|
|
subject: JFrame Help
|
|
|