Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: What do you call this area in java?

  1. #1
    Junior Member
    Join Date
    Jul 2012
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default What do you call this area in java?

    What do you call this area in java (boxed in yellow) wherein you can drop down object? I'm creating same program with this. Thanks for help.
    Attached Images Attached Images
    • File Type: jpg 3.JPG (92.6 KB, 10 views)


  2. #2
    Junior Member
    Join Date
    Apr 2013
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: What do you call this area in java?

    I guess you could call it a canvas.

  3. #3
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: What do you call this area in java?

    Thread moved from "Whats wrong with my code"

  4. #4
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    989
    Thanks
    7
    Thanked 207 Times in 183 Posts

    Default Re: What do you call this area in java?

    It's a component of some sort (which isn't saying much!). In code it might be represented as a Component or JComponent, or some subclass of them. (Canvas is a subclass of Component). It's a good idea to call the subclass you create something descriptive like CircuitView. Likewise if your gui has an instance of this class any variable that references the instance should be called something sensible: circuit, view, circuitView, etc all might sense in different contexts.

Similar Threads

  1. Replies: 1
    Last Post: January 17th, 2012, 10:25 AM
  2. How to call webservice in java?
    By Subhasri in forum Web Frameworks
    Replies: 2
    Last Post: September 30th, 2011, 10:15 AM
  3. Call by Reference & Call by Value
    By Lokesh in forum Java Theory & Questions
    Replies: 1
    Last Post: February 21st, 2011, 01:19 PM
  4. Does garbage collection occurs in PERM Area of Java Heap ?
    By javabuddy in forum What's Wrong With My Code?
    Replies: 1
    Last Post: January 22nd, 2011, 12:27 AM
  5. call recording throuph java
    By 7121987 in forum Java ME (Mobile Edition)
    Replies: 1
    Last Post: April 29th, 2010, 05:12 PM