g00se's Profile User Rating: *****

Reputation: 2985 Guru
Group:
Mentors
Active Posts:
12,771 (5.15 per day)
Joined:
20-September 08
Profile Views:
37,461
Last Active:
User is online A minute ago
Currently:
Viewing Forum: Java

Previous Fields

Country:
GB
OS Preference:
Linux
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Expert In:
Java

Latest Visitors

Icon   g00se has not set their status

Posts I've Made

  1. In Topic: Why is my applet not playing sounds in the browser?

    Posted 4 Jul 2015

    Don't forget - Java resource loading mechanisms include caching - though i'm largely ignorant about the details ;)
  2. In Topic: Pass user input value from JTextField into another class method

    Posted 3 Jul 2015

            if ((event.getSource() == create) && !foundKey) // for enter button
            {
               display.setText(new String(Generator.generate(9, Integer.parseInt(numbers.getText()), 3, 3, 3)));
            } // end if
    
    

    is the sort of thing you need
  3. In Topic: problem in creating jar in netbeans

    Posted 3 Jul 2015

    Good
  4. In Topic: Calling a value from the main method

    Posted 27 Jun 2015

    Ask them for the value and read it into a variable with the scanner.
    Pass that variable as a parameter to your methods, having got rid of any scanning for variables in them
  5. In Topic: Pictures read in by 'new ImageIcon()' are sticky

    Posted 27 Jun 2015

    import java.awt.*;
    import java.awt.image.*;
    
    import java.io.*;
    
    import javax.imageio.ImageIO;
    
    import javax.swing.*;
    
    
    @SuppressWarnings("serial")
    public class Trans extends JFrame {
        private BufferedImage bi;
    
        private void setGui() {
            try {
                setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                bi = ImageIO.read(new File("1tr.png"));
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    
        @Override
        public void paint(Graphics g) {
            super.paint(g);
            g.drawImage(bi, 0, 20, bi.getWidth(), bi.getHeight(), this);
        }
    
        public static void main(String[] args) {
            try {
                SwingUtilities.invokeAndWait(new Runnable() {
                        public void run() {
                            Trans f = new Trans();
                            f.setGui();
                            f.setSize(400, 200);
                            f.setVisible(true);
                        }
                    });
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
    
    
    


    Result - using the same image with transparency as before:

My Information

Member Title:
D.I.C Lover
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private
Website URL:
Website URL  http://technojeeves.com

Comments

  • (2 Pages)
  • +
  • 1
  • 2
  1. Photo

    mireille4U Icon

    30 Apr 2015 - 05:27
    Greeting from mireille i saw your profile today and i became interested in you and i will like to know more about you and if you can mail an email to my mail address (mireille4u@live.com) i will give you my picture.here is my mail address i hope we can move from here.above. Mireille
  2. Photo

    reznum Icon

    19 Jul 2014 - 07:21
    Amazing guy
    Really appreciate your help :)
  3. Photo

    Nageshvk Icon

    28 Feb 2014 - 07:57
    can any body tell in Java SWINGS when do RepaintManager.scheduleProcessingRunnable() method is called? I am getting NPE while running the applet in JRE 1.7.51
  4. Photo

    john111 Icon

    27 Feb 2014 - 09:57
    any chance you can help me pleasee:
    http://www.dreamincode.net/forums/topic/341051-java-applet-creating-bar-chart-from-user-input/
  5. Photo

    trixt.er Icon

    30 Dec 2013 - 10:13
    *avatar image
  6. Photo

    trixt.er Icon

    30 Dec 2013 - 10:13
    Hey g00se why doesn't your avatar show up in your profile, but it does in your posts?
  7. Photo

    trixt.er Icon

    30 Dec 2013 - 08:12
    g00se be my friend! :)
  8. Photo

    nishakantsharma Icon

    07 Oct 2013 - 01:28
    how to remokve space between div tags
  9. Photo

    Anitush Icon

    21 Aug 2013 - 06:37
    hey could you help on my topic External Methods or error in code under Java pretty please. Thanks
  10. Photo

    Abomosa Icon

    20 Apr 2013 - 15:33
    can you help me more in my program
    http://www.dreamincode.net/forums/topic/319095-calculate-average-using-method/
  11. Photo

    Abomosa Icon

    20 Apr 2013 - 15:25
    http://www.dreamincode.net/forums/topic/319095-calculate-average-using-method/page__gopid__1839513&#entry1839513
  12. Photo

    raghav.naganathan Icon

    09 Dec 2012 - 09:41
    Congrats on the 1800 :)
  13. Photo

    raghav.naganathan Icon

    21 Nov 2012 - 04:48
    Dude, your rep just crossed the Hardy Ramanujan number(1729) :) Cheers :)
  14. Photo

    JeffBurnsRed Icon

    14 Nov 2012 - 07:10
    Thanks for all of your help
  15. Photo

    TheCodeNoob Icon

    28 Sep 2012 - 03:49
    You are useless and you should feel useless.
  • (2 Pages)
  • +
  • 1
  • 2