Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
G

Gowtham Gutha

@Gowtham Gutha
About
Posts
16
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Best books/Tutorials to learn Java.?
    G Gowtham Gutha

    All that depends upon your needs. Different features differentiate different IDEs. What i could suggest is that go with what you feel the best In my experience, personally i use NetBeans for developing Desktop applications as i feel it comfortable and also clean. It is simple to learn too. And for web development, i prefer Eclipse Indigo, because i have personally used it for developing my iGo4iT Search because it has provided me a plugin to deploy apps to Google AppEngine. Eclipse really do have a wide range of plugins that are useful for the developers, especially for the web application developers. You can also take Amazon Beanstalk plugin for Eclipse for example. It is helpful when you want to deploy your applications to the Amazon servers.

    Gowtham Gutha (Java-Demos.Blogspot.Com)

    Java c++ java asp-net question

  • Best books/Tutorials to learn Java.?
    G Gowtham Gutha

    All that depends upon your needs. Different features differentiate different IDEs. What i could suggest is that go with what you feel the best In my experience, personally i use NetBeans for developing Desktop applications as i feel it comfortable and also clean. It is simple to learn too. And for web development, i prefer Eclipse Indigo, because i have personally used it for developing my iGo4iT Search because it has provided me a plugin to deploy apps to Google AppEngine. Eclipse really do have a wide range of plugins that are useful for the developers, especially for the web application developers. You can also take Amazon Beanstalk plugin for Eclipse for example. It is helpful when you want to deploy your applications to the Amazon servers.

    Gowtham Gutha (Java-Demos.Blogspot.Com - Gowtham Gutha's Comprehensive Java Examples)

    Java c++ java asp-net question

  • Error show ImageIcon ???
    G Gowtham Gutha

    Ok. By the way, could i also know why it is not recommended to write code in the constructor and only in a separate method and then call that method?

    Gowtham Gutha (http://java-demos.blogspot.com)

    Java help java performance question lounge

  • Swing
    G Gowtham Gutha

    First of all you didn't set text in the JTextField and also you've not even enabled the user to write into the JTextField. Because, setEditable(false); means the user cannot edit the text in the text field and also there was no text in the Textfield. And also you do not need to create object for the class GUI in actionPerformed() because this method was written in the same class only. This means that you are performing action on the object 'g' which you've created. You can directly access them, there is no need of creating the object.

    Gowtham Gutha (Java-Demos.Blogspot.Com)

    Java help java sysadmin data-structures

  • Is it a bug or featuere
    G Gowtham Gutha

    int i =2; System.out.print(" Run " +(i+1)+ " "); This is the code. Keep the brackets.

    Gowtham Gutha (Java-Demos.Blogspot.Com)

    Java help

  • find out output
    G Gowtham Gutha

    A new line wil be be printed in the output if the value in num is negative or equals to 0.

    Gowtham Gutha (Java-Demos.Blogspot.Com)

    Java

  • Creating a Thread
    G Gowtham Gutha

    A super class reference variable has the capability to hold its sub class object but a sub class does not have that capability. As MyThread is subclass of Thread, you can write Thread t=new MyThread(); But not MyThread m=new Thread(); That's false.

    Gowtham Gutha (Java-Demos.Blogspot.com)

    Java question java testing beta-testing

  • Thread names
    G Gowtham Gutha

    You've already set the name to the thread in the constructor itself. Why are you again setting the same. This works fine. It probably will not return null. You'll need to call setName() on MyRunnable object and not on Thread object. By the way, the setName() method in MyRunnable object is not at all a name for the thread. It might be just for printing purposes. Do you want it like that only? Remove runnable1.setName(thread.getName()), try calling the setName() method in the class that you've written (MyRunnable). It should work! Test once.

    Gowtham Gutha (http://java-demos.blogspot.com)

    Java question java testing beta-testing

  • Creating a class that extends more than one class.
    G Gowtham Gutha

    Multiple inheritance for classes is however not supported by Java unfortunately. It is limited for interfaces only. Alternatively, you can use multi level inheritance that gets the same as the features of the multiple ones. Here is a simple trick that you can do to achieve this.. Let the super classes be S1,S2 class A extends S1 { } class B extends S2 { } class C { // write the code here by creating objects for A,B // This could be good if S1,S2 are abstract and that // you have implemented the abstract methods in the // classes A,B. So you can create objects for A,B // access methods in them (the implemented ones) and // also the normal ones. }

    Gowtham Gutha (http://java-demos.blogspot.com)

    Java c++ java learning

  • Best books/Tutorials to learn Java.?
    G Gowtham Gutha

    For commercial purposes/learning purposes Java is divided into Core and Advanced. The difference is, core covers the basic Java which might include introduction to OOP, some utilities, string handling, threading, awt etc.. while advanced means quite higher end topics usually for professional development like JDBC, Hibernate etc.. J2ME (also known as Java ME) is for developing apps for mobiles and other embedded systems. Usually you might have come through embedded systems and the same applies here.

    Gowtham Gutha (http://java-demos.blogspot.com)

    Java c++ java asp-net question

  • Error show ImageIcon ???
    G Gowtham Gutha

    Thanks for the suggestion. But that worked in my system. We can add JLabel to another JLabel because JComponent itself is a container and we can add any component to any component. There is no limitation. The add method does it.

    Gowtham Gutha (http://java-demos.blogspot.com)

    Java help java performance question lounge

  • Error show ImageIcon ???
    G Gowtham Gutha

    What really is the error in my program? I couldn't understand. You'll need to have those image files (the background and the rat) to see them. That may be the possible error because it has worked in my development environment.

    Gowtham Gutha (http://java-demos.blogspot.com)

    Java help java performance question lounge

  • java progarm
    G Gowtham Gutha

    I think you might be looking for this.. http://java-demos.blogspot.com/2012/11/add-all-elements-in-array-in-java.html[^]

    Gowtham Gutha (http://java-demos.blogspot.com)

    Java java

  • Any Java Book Recommend
    G Gowtham Gutha

    You might not need if you have a grip on the basics of Java. If you have then you can go ahead referring android books.

    Gowtham Gutha (http://java-demos.blogspot.com)

    Java learning csharp java android career

  • How to make GAME by Java?
    G Gowtham Gutha

    The first and easiest game i've developed without any logic is.. Catch The Rat!

    Java java game-dev tutorial question

  • Any Java Book Recommend
    G Gowtham Gutha

    Herbert Schildt's Java The Complete Reference Updated and Expanded for Java SE 7 will be of good choice.

    Java learning csharp java android career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups