Updating jlabel

You may now see our list and photos of women who are in your area and meet your preferences.Again, please keep their identity a secret Click on the "Continue" button search with your zip/postal code.I wanted to learn more, so I started my own project to try and experiment with what I knew. I'll see if I can get it working and go from there.(A little background) I play Magic The Gathering and I was interested in Planechase, but I didn't want to spend the money to get the cards. You can put all your images into an array and select from the array. I am calling set Visible after I've set up the window and everything I believe.

This is what I have so far, but I'm still a little iffy on how it all come together: /*To DO List: * set constants for frame size * figure out how to size based off of users resolution * fix the possibility of repeating plains * figure out a new way to "redraw" a card instead of creating a new frame/window everytime :/ * possibly figure out how to add cool animations eg. Also would using if statements in my action performed method to check what instance of button was triggered be a "rough workaround" if I did have multiple buttons?Hi I am very new to netbeans and I would like to ask help from you guys. Each panel has one button and one jlabel on it - all added to the main panel.I have a new Desktop Application named Desktop Application1 (this is my main program) and a JFrame named New JFrame that I created by right click What David says is correct, but it still won't fix the problem. I have an actionlistener on each j Button so that when pressed it updates the jlabel on its (same) panel. Hi, I have an array of JPanels, each Jpanel is created in a separate class which extends JPanel, and then added to the main j Panel: j Panel Array[i] = new create JPanel(); j Panel Main.add(j Panel Array[i]); In create JPanel() a j Label and j Buttons are added with an actionlistener on the button.The icon is on a JPanel in a Container, im quite literally kicking myself XD thank you for helping me remember haha WAIT!I am trying that and i keep getting nullpointerexception. Edited by: bober911 on Nov 6, 2007 PM nvm i figured it out Edited by: bober911 on Nov 6, 2007 PM also, would the correct way to do this to use a public getter to give Computer the private variable, then call set Text on that?

Leave a Reply