sounds pretty good to me :D thanks :D
Type: Posts; User: derekxec
sounds pretty good to me :D thanks :D
thanks norm :D i did that now and i read through that paint guide and figured i need a panel so i added that and works good
i also took everything out of the main() and put it its own methods
...
finally got the image working :D:D:D i did like this
public void paintComponent(Graphics mFrame) {
super.paintComponent(mFrame);
URL bg = fdmgcalc.class.getResource("bg.png");
Image...
thanks very much :D ill read through that right now and get to fixing
and you know everything lol every time i post a question you are always the one answering first i very much appreciate it :D
it does disappear :(
when i run it in eclipse everything looks perfect but when i make it into a jar the bg disappears but everything else is good why does the bg disappear :(
ah i took out the label stuff cause it kept removing the bg when it did go on the frame
when would it get repainted? i thought once its up there thats it
and i thought the super goes after...
i just have a basic Jframe right now and i used this to add the image to it
public void paint(Graphics g) {
Image bg = Toolkit.getDefaultToolkit().getImage("bg.png");...
So here is my frame with the background image i want and now i am just having a bit of trouble adding labels on top of it. Do i need to use LayeredPane to add the labels(the part about this tool...