I am making a game (see my previous threads) and have encountered a lot of problems on the way. All I know is that he code compiles, runs, but nothing appears in the window, it\'s just grey. At Andrew
whats wrong with my code? I just want to have a Picture in my Window... //class ImagePanel: public class ImagePanel extends JPanel {
I have an icon I want to use for my JFrame, and it looks good in the Windows 7 taskbar, and in the alt-tab view, but it doesn\'t look so great resized to 16x16, in the top left corner of the window.
I am a high school student, and I am working on my final project for my computer science class. My assignment was to make a simple paint application, however I am having some problems. These include:
I have simple Swing GUI with main window JFrame and its main panel derive from JPanel. The panel has some buttons that can be clicked and 开发者_开发技巧generate events.
I\'ve got problem with JFrame and KeyListerner in Tetris game. I\'ve got two frames - one with Start Button and second with Board. In the second frame I want to control shapes from keyboard, but when
I am making a monopoly game in Java and for some reason I cant seem to get this JFrame popup to refresh. When I click the button, the popup will appear, but when I close it and click it again later on
How can I have the newly open jframe have the same properties开发者_运维百科 like Size and position on screen. ThanksIf you are only interested in size and position JFrame.getBounds returns these prop
I am creating a popup JFrame that will have a message and yes/no buttons. I am using this method in 2 ways. In 1, the main program calls this method and in the other, this method is called directly af
I\'m being told by Eclipse to change the modifier of my string variable to static. I don\'t understand why. I think I\'m declaring everything right but I\'m not sure.