Page 1 of 2 12 LastLast
Results 1 to 20 of 21
Like Tree1Likes

Thread: Extreme Java Newbie Needs Help With Graphics

  1. #1
    daltman1967 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Extreme Java Newbie Needs Help With Graphics

    Hi! I am an EXTREME Java newbie. I've been coding using Eclipse writing mods for Minecraft, and so got interested in Java itself. I've been a BASIC programmer for years, dating from the days of DOS. Of course, I've since migrated to VisualStudio 2013, where I currently have my code.

    However. My program, nice as it is, is slower than molasses in January. For a while, it wouldn't even compile - every graphic was pre-loaded, and apparently taking up too much memory. Once I changed the code so that the graphics were external, compiled at runtime, then the program would compile and load - but.... it's VERY, very slow.

    I therefore abandoned the project. But now that I've been doing Java for a little while, I thought maybe I might be able to port over my VB code to Java. The main code isn't that difficult; it's a bunch of if statements and for loops, with very little else.

    Here's what I need help doing: I want to create a main window that is ONLY a graphic, with transparency (it's a square with rounded edges). On this background, I want to put ANOTHER graphic with transparency. This second graphic is a button I want the user to click.

    I was able to make the background main window, but couldn't figure out how to add the second image, nor how to get it to be 'clickable.' Once I have these two things down, I will be essentially finished - the only other elements my program has are displayed text & a single checked listbox. I'm certain that those won't be such an issue.

    Any help is definitely appreciated. Please post entire code, rather than snippets. I *DO* know coding, and I understand C/C++, PHP, and enough Java to be dangerous, so I'll understand what you post - but I learn better from code sections I can run and study than I do from snippets that I may not be certain where to place.

    Thanks in advance!

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,985
    Rep Power
    9

    Default Re: Extreme Java Newbie Needs Help With Graphics

    What exactly is giving you trouble? Are you familiar with Swing? If not, here is where you should start: Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)

    If you are familiar with Swing, then instead of asking us for "entire code", why don't you post an SSCCE that demonstrates exactly where you're stuck? It shouldn't be your whole program, just enough to show us exactly what you tried and what you're confused about.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    pj6444 is offline Senior Member
    Join Date
    Jan 2013
    Posts
    165
    Rep Power
    2

    Default Re: Extreme Java Newbie Needs Help With Graphics

    You can draw the graphics on to a Component such as a JPanel. Try using this to learn: Graphics (Java Platform SE 7 )
    Also, for the text and the checked listbox, just use the link that Kevin posted.
    One last thing... You could either make the image a button by using JButton and adding an image to it, or use a MouseListener and MouseMotionListener. These can be found here: MouseListener (Java Platform SE 6) and MouseMotionListener (Java Platform SE 7 )

  4. #4
    daltman1967 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Re: Extreme Java Newbie Needs Help With Graphics

    *SIGH* As helpful as the tutorial site is (and I learned a bit from it), it doesn't answer my question. I know virtually nothing about Swing. I was kind of looking for a post with a ready-to-run example code doing what I asked. All I can get, thus far, is a graphic background with no window, which is what I wanted. Adding another image? Well, I'm just not sure how, nor how to add the mouse listeners on it once it's there.

  5. #5
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,985
    Rep Power
    9

    Default Re: Extreme Java Newbie Needs Help With Graphics

    I'm a little confused about what you want, so it might help if you put together a little example mockup image. Do you want the actual window to have rounded corners? Or do you just want a normal window to have a rounded rectangle inside of it?

    But I'll give you a piece of meta-advice: stop looking at your whole goal at one time, and start breaking it down into smaller pieces. Can you display a plain-old window with nothing in it? Now can you add a single JPanel to it? Can you modify that JPanel to display as a rounded rectangle (hint: extend JPanel and override paintComponent()). Now can you add a JButton to that JPanel? Now can you modify the JButton to be a rounded rectangle? Now can you detect clicks in that JButton?

    By breaking your problem down into smaller pieces, it'll be much easier to research anything you're confused about, because you'll be able to be more specific. Saying "how do I show a clickable rounded rectangle inside another rounded rectangle" is way more broad than "how do I detect JButton clicks?". And you'll also be able to ask more specific questions: "I want to do X, tried Y, but Z happened instead" is easier to answer than general "how do I do this?" type questions.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. #6
    daltman1967 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Re: Extreme Java Newbie Needs Help With Graphics

    Extreme Java Newbie Needs Help With Graphics-image.png
    This is the effect I'm looking for - a background image with transparency, so that rounded corners show through, and foreground images with transparency, so that rounded corners show through. Since I'm forcing window size, resizing WILL NOT happen, and I'm placing images at specific x & y coordinates.

    Java Code:
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Toolkit;
    import java.io.IOException;
    
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    
    
    public class Dominion {
        public static void main(String[] args) throws IOException {
            //final Image image = ImageIO.read(new URL("http://sstatic.net/so/img/logo.png"));
        	final Image image = Toolkit.getDefaultToolkit().createImage("Pictures/Screens/Screen_Main.PNG");
            final JFrame frame = new JFrame();
            frame.add(new ImagePanel(image));
            frame.setSize(600, 400);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setUndecorated(true);
            frame.setVisible(true);
            
            JButton b = new JButton(new ImageIcon("Pictures/Buttons/Button_Buy_1.PNG"));
         
            b.setSize(150, 50);
            b.setLocation(20,30);
            frame.getContentPane().add(b);
        }
    }
    
    @SuppressWarnings("serial")
    class ImagePanel extends JPanel {
        private Image image;
    
        ImagePanel(Image image) {
            this.image = image;
            };
        ;
    
        @Override
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
               g.drawImage(image, 0, 0, getWidth(), getHeight(), this);
        }
    
    }
    This code works to a point. The window is borderless, but has no transparency. Likewise, the image I've placed has no transparency, and only appears AFTER you've moused over it. What I want is the image to show up on load, as the picture shows, and then have the user click the image to run specific functions. Button1= Function1, Button2=Function2, etc.

    Doing this in VisualStudio was EASY; I'm surprised that some of these functions are so difficult (at least to me) in Java, especially the x-y coordinates of images. Of course, I realize that Java frames things differently; but I know that once I have the basic format down, the rest of the program should be relatively easy.

    Thanks!

  7. #7
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,985
    Rep Power
    9

    Default Re: Extreme Java Newbie Needs Help With Graphics

    To make a JPanel transparent, you simply call setOpaque(false). This tells the JPanel not to draw its background. If you want to do something fancier with transparency, such as have a transparent window, more info here: http://docs.oracle.com/javase/tutori...d_windows.html (Note that transparency isn't supported on every system, so test thoroughly)

    To then draw your own background and rounded corners, you extend JPanel, override paintComponent(), and do whatever painting you want there. More info here: Lesson: Performing Custom Painting (The Java™ Tutorials > Creating a GUI With JFC/Swing)

    I would then start with regular old JButtons without any customization. You can add ActionListeners to them to detect clicks. More info here: How to Use Buttons, Check Boxes, and Radio Buttons (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components) and here: How to Write an Action Listener (The Java™ Tutorials > Creating a GUI With JFC/Swing > Writing Event Listeners)

    To position your JPanel and JButtons, you need to use layouts. The JFrame itself has a layout, the JPanel has a layout, and the JButton positions are determined by them. It sounds like you're having trouble with absolute positioning, which is usually a bad idea anyway. If you really do want absolute positioning though, you're looking for a null layout. More info here: A Visual Guide to Layout Managers (The Java™ Tutorials > Creating a GUI With JFC/Swing > Laying Out Components Within a Container)

    I suggest trying to narrow your problem down to which specific piece of the above you're stuck on. I would guess you're stuck on the layout part, but I'm not quite sure. Good luck!
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  8. #8
    daltman1967 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Re: Extreme Java Newbie Needs Help With Graphics

    I have the frameless JFrame; it has a background image; where I'm stuck is how to make that JFRAME (or the png) transparent. Currently, the background is gray. None of my searches has produced a method that turns THIS image transparent; the other images are transparent, but the method doesn't seem to work with the background image of the JFrame. Can anyone help me?

  9. #9
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,985
    Rep Power
    9

    Default Re: Extreme Java Newbie Needs Help With Graphics

    If you want to have a transparent window, more info here: How to Create Translucent and Shaped Windows (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Other Swing Features) (Note that transparency isn't supported on every system)

    If that doesn't work, I suggest posting an SSCCE demonstrating exactly what you've tried.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  10. #10
    jim829 is online now Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,766
    Rep Power
    5

    Default Re: Extreme Java Newbie Needs Help With Graphics

    Set the background color of your frame to new Color(0,0,0,0). That last value is the alpha value which controls transparency. If your system supports that, it should work. You also need to setUndecorated(true).

    Regards,
    Jim
    Last edited by jim829; 02-17-2014 at 06:40 PM.
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  11. #11
    daltman1967 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Re: Extreme Java Newbie Needs Help With Graphics

    Well, the setOpacity function mentioned in KevinWorkman's post turns THE ENTIRE WINDOW transparent. This is not what I want. What I want is what I said - for the PNG in the background to be transparent, so that the window underneath shows through. I thought that was evident from the picture:
    Extreme Java Newbie Needs Help With Graphics-image.png

    Here is my code thus far:
    Java Code:
        public static void main(String[] args) throws IOException
          {
        	final Image image = Toolkit.getDefaultToolkit().createImage("Pictures/Screens/Screen_Main.PNG");
            final JFrame frame = new JFrame();
            frame.add(new ImagePanel(image));
            frame.setUndecorated(true);
            frame.setBackground(new Color(0.0f, 0.0f, 0.0f, 0.0f));
            frame.setSize(600, 400);
            Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
            frame.setLocation(dim.width/2-300, dim.height/2-200);        
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setVisible(true);
          }
    ...
        @Override
        public void paintComponent(Graphics g)
          {
        	super.paintComponent(g);
            g.drawImage(image, 0, 0, getWidth(), getHeight(), this);
            g.drawImage(button1, 20, 30, 150, 50, this);
          }
    The image "image" - Screen_Main.PNG is a PNG, with transparency. Therefore, it should display properly. Note: The foreground images are displaying with transparency; it's only the background window that's the problem. Changing the background color did nothing to fix this issue, nor did changing the Alpha value.

  12. #12
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,985
    Rep Power
    9

    Default Re: Extreme Java Newbie Needs Help With Graphics

    The problem with your image is that I'm not sure exactly what your window is- is the purple image your desktop background, or is it the background of your JFrame? Is the yellow border the border of your JFrame, or is it the border of a JPanel inside your JFrame?

    If you post an SSCCE that demonstrates what you've got so far, we can copy and paste it to test it on our own machines.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  13. #13
    jim829 is online now Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,766
    Rep Power
    5

    Default Re: Extreme Java Newbie Needs Help With Graphics

    did you set your class ImagePanel to setOpaque(false)?

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  14. #14
    daltman1967 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Re: Extreme Java Newbie Needs Help With Graphics

    The purple is my desktop background. The gold line is the edge of the PNG itself, which is the background of the JFrame - as specified in the code above, rendered with g.drawImage(image, 0, 0, getWidth(), getHeight(), this);. I'm not sure if I tried setting the ImagePanel to setOpaque(false). I hadn't. Thank you very much. That fixed the entire problem.

    Now, for the REALLY hard part... changing over all my code!!

  15. #15
    daltman1967 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Re: Extreme Java Newbie Needs Help With Graphics

    Ok, I switched gears entirely. I have an entirely NEW window, which now has a checked listbox on it. The problem is, the background of the window isn't transparent. Can anyone help me with this? Here's the code:

    Java Code:
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Point;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.KeyEvent;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.AbstractAction;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.KeyStroke;
    import javax.swing.ListSelectionModel;
    
    @SuppressWarnings({"serial", "rawtypes", "unchecked"})
    public class ListPanel extends JFrame
      {
         public JList KingdomList;
         public JScrollPane scrollPane;
         public Image image;
         public ImageIcon m_image;
    
         public int winc = 0;
         public int hinc = 0;
    
         public ListPanel()
           {
             setUndecorated(true);
             setBackground(new Color(0.0f, 0.0f, 0.0f, 0.0f));
             getContentPane().setLayout(null);
             ((JPanel) getContentPane()).setOpaque(false);
             image = Toolkit.getDefaultToolkit().createImage("Pictures/Screens/Screen_Setup.PNG");
             m_image = new ImageIcon(image);
             JPanel backPanel = new JPanel();
    
             backPanel.setOpaque(false);
             Object[] items = new CheckListItem[]
               {
                 new CheckListItem("One"),
                 new CheckListItem("Two"),
                 new CheckListItem("Three"),
                 new CheckListItem("Four"),
                 new CheckListItem("Five"),
                 new CheckListItem("Six"),
                 new CheckListItem("Seven"),
                 new CheckListItem("Eight"),
                 new CheckListItem("Nine"),
                 new CheckListItem("Ten"),
                 new CheckListItem("Eleven"),
                 new CheckListItem("Twelve"),
                 new CheckListItem("Thirteen"),
                 new CheckListItem("Fourteen"),
                 new CheckListItem("Fifteen"),
                 new CheckListItem("Sixteen"),
                 new CheckListItem("Seventeen"),
                 new CheckListItem("Eighteen"),
                 new CheckListItem("Nineteen"),
                 new CheckListItem("Twenty"),
               };
              
             KingdomList = new JList(items);
             KingdomList.setOpaque(false);
             KingdomList.setBackground(new Color(1.0f, 1.0f, 1.0f, 1.0f));
             KingdomList.setFont(new Font("Arial", Font.BOLD, 16));
             KingdomList.setCellRenderer(new CheckBoxListRenderer());
             KingdomList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
             KingdomList.setVisibleRowCount(5);
             KingdomList.addMouseListener(new MouseAdapter()
               {
                 @Override
                 public void mouseClicked(MouseEvent event)
                   {
                     selectItem(event.getPoint());
                   }
               });
    
             KeyStroke keyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_SPACE, 0);
             Object mapKey = keyStroke.toString();
             KingdomList.getInputMap().put(keyStroke, mapKey);
             KingdomList.getActionMap().put(mapKey, new AbstractAction()
               {
                 public void actionPerformed(ActionEvent event)
                   {
                     toggleSelectedItem();
                   }
               });
              
             scrollPane = new JScrollPane(KingdomList);
             scrollPane.setSize(new Dimension(451, 301));
             scrollPane.setLocation(51, 230);
             scrollPane.setOpaque(false);
             scrollPane.getViewport().setOpaque(false);
              
             getContentPane().add(scrollPane);
             backPanel= new JPanel()
               {
                 public void paintComponent(Graphics g)
                   {
                      super.paintComponent(g);
                      winc = m_image.getIconWidth();
                      hinc = m_image.getIconHeight();
                      int w = getParent().getWidth();
                      int h = getParent().getHeight();
                         
                      for (int i=0;i<h+hinc;i=i+hinc)
                        {
                           for (int j=0;j<w+winc;j=j+winc)
                             {
                                m_image.paintIcon(this,g,j,i);
                             }
                        }
                   }
                };
    
             getLayeredPane().add( backPanel, new Integer( Integer.MIN_VALUE ) );
             backPanel.setBounds(0, 0, 500, 500);
             backPanel.setSize(855, 640);
             setVisible(true);
           }
    
         public static void main(String[] args)
           {
             ListPanel w = new ListPanel();
             Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
             w.setBounds(dim.width/2-427, dim.height/2-320, 855, 640);
             w.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
           }
         
         private void selectItem(Point point)
           {
             int index = KingdomList.locationToIndex(point);
    
             if (index >= 0)
               {
                 CheckListItem item = (CheckListItem)KingdomList.getModel().getElementAt(index);
                 item.setSelected(!item.isSelected());
                 KingdomList.repaint(KingdomList.getCellBounds(index, index));
               }
           }
    
         private void toggleSelectedItem()
           {
             int index = KingdomList.getSelectedIndex();
    
             if (index >= 0)
               {
                 CheckListItem item = (CheckListItem)KingdomList.getModel().getElementAt(index);
                 item.setSelected(!item.isSelected());
                 KingdomList.repaint(KingdomList.getCellBounds(index, index));
               }
           }
      }
    ----
    class CheckListItem
      {
        private Object item;
        private boolean selected;
    
        public CheckListItem(Object item)
          {
            this.item = item;
          }
    
        public Object getItem()
          {
            return item;
          }
    
        public boolean isSelected()
          {
            return selected;
          }
    
        public void setSelected(boolean isSelected)
          {
            this.selected = isSelected;
          }
    
        @Override
        public String toString()
          {
            return item.toString();
          }
      }
    ----
    import java.awt.Component;
    import javax.swing.JCheckBox;
    import javax.swing.JList;
    import javax.swing.ListCellRenderer;
    
    @SuppressWarnings({ "rawtypes", "serial" })
    class CheckBoxListRenderer extends JCheckBox  implements ListCellRenderer
      {
        public Component getListCellRendererComponent(JList comp, Object value, int index, boolean isSelected, boolean hasFocus)
          {
            setEnabled(comp.isEnabled());
            setSelected(((CheckListItem) value).isSelected());
            setFont(comp.getFont());
            setText(value.toString());
    
            if (isSelected)
              {
                setBackground(comp.getSelectionBackground());
                setForeground(comp.getSelectionForeground());
              }
            else
              {
                setBackground(comp.getBackground());
                setForeground(comp.getForeground());
              }
    
            return this;
          }
      }

  16. #16
    jim829 is online now Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,766
    Rep Power
    5

    Default Re: Extreme Java Newbie Needs Help With Graphics

    First, you have two backPanels declared. Second, you forgot to setOpaque(false) on the one you use. Three. What's the point? You are painting on it so it will no longer be transparent.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  17. #17
    daltman1967 is offline Member
    Join Date
    Feb 2014
    Posts
    9
    Rep Power
    0

    Default Re: Extreme Java Newbie Needs Help With Graphics

    Actually, you helped me solve it (aside from your relatively unhelpful comment). When I added "this.setOpaque(false);" inside the paintComponent for the redeclaration of the JPanel, the panel got rendered properly.

    I'm not sure WHY this examples has to backPanels declared; this code is used, almost as is, from the web -- but it works. The main thing was, to get a list box, with the right size & shape, on top of the graphic. That was tough enough. As far as "what's the point," the point is, to have a window with no border and a background picture with transparency; with transparent images on top of it acting as buttons.

    As I said earlier in the post, these things were super easy in VB.NET, but are really, really hard in java. I'm glad I've gotten it this far.

  18. #18
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,079
    Rep Power
    6

    Default Re: Extreme Java Newbie Needs Help With Graphics

    Super easy to do, but apparently still dead hard to do WELL because otherwise you wouldn't be here, now would you?
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  19. #19
    jim829 is online now Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,766
    Rep Power
    5

    Default Re: Extreme Java Newbie Needs Help With Graphics

    Quote Originally Posted by daltman1967 View Post
    Actually, you helped me solve it (aside from your relatively unhelpful comment)
    Then my final comment must have been helpful.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  20. #20
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,985
    Rep Power
    9

    Default Re: Extreme Java Newbie Needs Help With Graphics

    Quote Originally Posted by daltman1967 View Post
    (aside from your relatively unhelpful comment)
    Yikes. Guess we'll stop replying if we aren't helpful.

    Quote Originally Posted by daltman1967 View Post
    I'm not sure WHY this examples has to backPanels declared; this code is used, almost as is, from the web -- but it works.
    That style of "programming" is pretty dangerous- simply copy-pasting code you find on the web and hoping for the best isn't the way to go. You have to take the time to understand exactly what the code's doing and how it works, otherwise you'll run into a million problems like this.


    Quote Originally Posted by daltman1967 View Post
    As I said earlier in the post, these things were super easy in VB.NET, but are really, really hard in java.
    Keep in mind that what's "easy" in one language is completely subjective- I find this Java approach pretty straightforward, and I would probably struggle to pick up the vb.net approach.
    gimbal2 likes this.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Page 1 of 2 12 LastLast

Similar Threads

  1. Centering graphics on the graphics window
    By janyc71876 in forum New To Java
    Replies: 5
    Last Post: 11-25-2013, 07:25 PM
  2. Replies: 1
    Last Post: 10-05-2012, 10:45 PM
  3. Extreme frustration with JAR files
    By meesterpickles in forum New To Java
    Replies: 26
    Last Post: 01-31-2012, 02:15 AM
  4. Newbie need help on JPanel graphics
    By junpogi in forum AWT / Swing
    Replies: 7
    Last Post: 10-21-2008, 07:44 AM
  5. Extreme nooby having hard time with this app
    By asterix350z in forum New To Java
    Replies: 2
    Last Post: 12-05-2007, 07:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •