There is a DropDownList in java?

and if yes so how do i use it...
and if not //if theres listBox and how do i use it too...
thanks

I think you may mean
[url http://java.sun.com/docs/books/tutorial/uiswing/components/components.html]
A Visual Guide to Swing Components
Or maybe this:
http://java.sun.com/docs/books/tutorial/ui/features/components.html
Message was edited by:
paulcw

Similar Messages

  • Is there a goto statement in java??

    is ther a goto statement in java
    if yes how is it
    and if no wat we use instead of it , if we want to redirect to control flow??
    thanking you
    rose!!!

    But he did not say it with three exclamation
    points!!!
    yes, I'm trying to restrict my usage of the exclamation mark as part of my attempts to be more even tempered (which aren't succeeding that well, but I may just need more practice).

  • How to do a dropdownlist in java Swing much like a JMenuBar items

    Hi sir,
    Here i want to know how to do a dropdownlist in java swing much like a JMenuBar items falling from the top to bottom .Here i should not use JMenuBar in any way.
    So that i need to do the dropdownlist by using other feature only.Since i am new to this.I need ur help urgently.Pls do provide the code for this so that i will be so gratefull to u.It is very Urgent.Since i have involved in a project which involves this feature.Pls. do provide the answer as well as the code quickly as possible.
    Thanx
    m.ananthu

    use JComboBox
    http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html

  • In firefox, the video from website "tv.vu.edu.pk" is not displaying even i have installed the latest version of JAVA. There rotates a circle around java monogram every time but video is not playing even it is working fine with internet explorer

    In firefox, the video from website "tv.vu.edu.pk" is not displaying even i have installed the latest version of JAVA. There rotates a circle around java monogram every time but video is not playing even it is working fine with internet explorer

    It's not working here as well with Java 6 U25 on Linux.

  • Are there non-public classes in Java SDK?

    Or are ALL classes in all packages of the Java SDK public?
    I have looked in the sources spot checking and didn't find a non public (default) class.
    If all classes are public, why?
    There exists a means in Java language to define a class as default ("class MyClass" instead of "public class MyClass") visibility. So why isn't it used by Java SDK (if this is really true)?

    I dont know what language you're programming in.
    If you don't specify
    public class
    or
    private class
    the class is "protected".
    Read the spec.If you read the spec, you'll see that, with respect to a class:
    (per section 6.6.2) Classes from outside the package the class lives in that extend the class have access to protected members.
    (per section 6.6.5) Classes from outside the package this thing lives in that extend this class do not have access to default members.
    Relevant part of section 6.6.5 (Example: Default-Access Fields, Methods, and Constructors) is:
    If none of the access modifiers public, protected, or private are specified, a class member or constructor is accessible throughout the package that contains the declaration of the class in which the class member is declared, but the class member or constructor is not accessible in any other package.
    This is default access, not protected access
    Lee

  • Is there a trick to getting Java to load on my Mac?

    Is there a trick to getting Java to load on my Mac?

    http://linguisticmystic.com/2007/03/08/using-ipa-fonts-with-mac-os-x-the-compreh ensive-guide/
    http://linguisticmystic.com/2013/11/07/using-ipa-fonts-with-mac-os-x-10-9-Maveri cks-it-still-works/

  • Is there any possibility to develope java application for IPhones

    Is there any possibility to develope java application for IPhones

    921326 wrote:
    Just look to the next thread!I did that after I replied to the last person to ask this question. I spotted this thread:
    Developing iPhone apps with JavaFX 2 (Demo)
    Not much there, but apparently people are trying to hack it together using JavaFX 2 already. I believe I read an article where Oracle itself had given a presentation about a JavaFX2 app on an iPhone; I believe the gist of it is that they want to make it so you can bundle the Java runtime with your application, which makes it legal to sell a Java application through the appstore.

  • Is there a... Java Dictionary?

    I'm learning Java syntax, and thus far, my biggest problem has been understanding the terminology used... ... not how to use the syntax. (In Example, someone might say: I just make all the panels beans).
    Is there some sort of online Java Dictionary that I haven't found? In my mind, it would include things like enumeration, method, class, constructor, bean, etc., etc., etc...
    Google is my Bible, however it seems it's easier to find tutorials on how to make stuff than it is to find out what stuff actually means. For example, sure I know how to make a Java Bean, but what exactly is a Java Bean?
    -Blaise
    or maybe... I just lost my mind.

    The API javadocs has an index (the link is at the top of the pages in the frame on the right). Also there's the Java Language Spec and the Java Programming Language Guide books online, and they have indices. Or you can just buy those books in printed form and use the indices.

  • Is there any way to call java program whenever i login to R3 System.?

    Hi Experts
    Is there any way to call java program whenever i login to R3 System.
    Means Whenever the user login to R3 system i should trigger one java program.. Is there any way
    Please help me
    Thanks & Regards
    Ravi Shankar B

    If you want to access to the Windows Taskbar, you should call some Win32 APIs and JNI. Refer to Win32 references.

  • How to flag shell script if there is a exception in java program

    Hi all,
    can someone let me know if it possible to flag the calling shell script that there is a exception in java program ???
    Thanks
    Chat

    have a question
    In the shell script if I read for ret_stat=$? , will it give the value of 33 if exception occurs ?

  • How to use a DropDownList in Java Swing.Its very very Urgent

    Hi Sir,
    Here i need to know how to do (or) create a dropdownlist by using Java Swing.I know that there is JMenuBar & JMenuItems without using that when i click a JButton for example the dropdownlist should come from the top to bottom.I have already posted this quesion once.And i found that it has been removed.So i hope that this time i will get a better answer.Pls.do provide the code as well sir.So that i will be very thankful to u.Since i am involved in a project which contains this
    feature.It is very very Urgent.So pls.do provide the code i will be waiting for the reply.
    Thanx,
    m.ananthu

    use JComboBox
    JComboBox liste = new JComboBox(new Object[]{"azerty","qwerty});the api documentation :
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JComboBox.html
    the turotial on combobox :
    http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html

  • Is there an equivalent statement in Java for this PL/SQL stmt?

    Hi,
    I want to know if there is an equivalent statement
    in java for this PL/SQL statement:
    IF strTok IN('COM-1','COM-2','COM-3') Then
    /* Do Something */
    End If;
    I tried using : // This is giving me errors..
    if (strTok.equals(("COM-1") || ("COM-2") || ("COM-3") ) )
    /* Do Something */
    The above Java code is giving me errors.
    Any Help to reduce the number of steps for comparison
    is appreciated.
    thanks in adv
    Sharath

    Something like
    if (strTok.equals("COM-1") ||
        strTok.equals("COM-2") ||
        strTok.equals("COM-3") )Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Is there any Documentation about MDM4J (Java API) ?

    Hello to all,
    I was wondering... Is there any possibility to get documentation about the classes in the MDM4J.jar ?
    We can not use the other Java Api, and we need to understand this one.
    Thanks in advance,
    Mariano.-

    Dee Bishnu wrote:
    You're looking for documentation in addition to the javadoc included with MDM4J, right?.-
    Exactly, but, I don't have the javadoc that are included with MDM4J. Are the javadocs always shipped with the MDM4J.jar?
    RDNPrasad wrote:
    Hi Mariano,
    all the documentation is available via the MDM documentation center on SAP Service Marketplace:
    http://service.sap.com/installMDM
    Yes, but in that adress you only see the last documentation, and I want an old documentation that isn't found there.
    Nico Razlow wrote:
    hier is the link to the Java API SP3 (mdm4j):
    https://websmp209.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700007403222005E
    Thanks !! That PDF was really helpful !!!
    Sudheendra Puth wrote:
    To work on java api using MDM4J use the below link on javadoc
    http://help.sap.com/javadocs/MDM/SP06P2/index.html
    Kindly award points if it was helpful
    That adress is the documentation for the "New Java API", not the MDM4J.
    I'm going to put the question as answered because the PDF that Nico provided is like a javadoc. If anyone has any more information, please contact me privately.
    Thanks to all for the Answers !!!
    Mariano.-

  • Is there any Standard Web dynpro Java Components like in ABAP Web dynpro's

    Hi,
    Experts,
    I want to know that in web dynpro for Java there is any standard components exists or not like in ABAP web dynpro's standard components exits.Please clarify on that question..
    Thans in advance,
    Shaber Ahmed.

    Hi Ahmed,
    I dont think there are any standard components available on Webdynpro Java like ABAP. But, there are quite a few standard Project available on SDN if you want to practise some exercises. Just do a search on SDN you get lot of standard example projects that you download and Import them in to the WebDynpro Java Perspective of NWDS.
    I hope this help. Let me know if you need any more help.
    Regards,
    Ammu Gopal.

  • How to create cascading dropdownlist in java

    hi,
    i am new to java ,i have a employee table that has feilds id,name state city and area. now i have to access employee name based on state city area .i have written console program that displays employee info based on id .now i want a way to acess name by state city and area.ie my program should ask state when i provide state it should display all cities in that state ,then when i select city it should display all area in that city then when i select area it should display all emp name from that area
    import java.util.ArrayList;
    import java.io.*;
    public class Employeelookup {
    static ArrayList<Employeelookup> al = new ArrayList<Employeelookup>();
    int id;
    String name;
    String State;
    String city;
    String Area;
    static int count = 0;
    Employeelookup()
    Employeelookup(int id, String name, String State,String city,String Area)
    this.id = id;
    this.name = name;
    this.State=State;
    this.city=city;
    this.Area=Area;
    count++;
    public void SetId(int id)
         this.id=id;
    public int getId()
         return id;
    public void SetName()
         this.name=name;
    public void putDetails(Employeelookup e)
    al.add(e);
    public Employeelookup getDetails(int id)
    Employeelookup es = (Employeelookup)al.get(id);
    return es;
    public static void main(String[] args ) throws IOException
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    Employeelookup e = new Employeelookup();
    Employeelookup e1 = new Employeelookup(1, "SaiRam", "karnataka","bangalore","rajajinagar");
    Employeelookup e2 = new Employeelookup(2, "Anu", "karnataka","mysore","temple road");
    Employeelookup e3 = new Employeelookup(3, "Vasu", "karnataka","bangalore","rajajinagar");
    Employeelookup e4 = new Employeelookup(4, "Shillu", "Tamil Nadu","madhurai","b");
    Employeelookup e5 = new Employeelookup(5, "Madhu", "Karnataka","shimoga","bus stop");
    Employeelookup e6 = new Employeelookup(6, "Volga", "Andra","abc","railway stop");
    e.putDetails(e1);     
    e.putDetails(e2);
    e.putDetails(e3);
    e.putDetails(e4);
    e.putDetails(e5);
    e.putDetails(e6);
    System.out.println("The total number of Employeelookups are: " +count);
    System.out.println(" ");
    while(true)
    System.out.println("Enter Employeelookup id to get the Employeelookup details: ");
    int id = Integer.parseInt(br.readLine());
    boolean flag = false;
    for(int i=0; i <al.size();i++)     {
    Employeelookup es = e1.getDetails(i);
    if(id == es.id)
    System.out.println("The details of the Employeelookup with id " id " is: ");
    System.out.print(es.id +" " es.name" " es.State" " + es.city+" " es.Area" "+"" );
    flag = true;
    break;
    System.out.println(" ");
    if(!flag)
    System.out.println("Sorry, no data exists with the id " +id);
    System.out.println(" ");
    String ch = null;
    while(true)
    System.out.println("Want to Continue(y/n)?)");
    System.out.println(" ");
    ch = br.readLine();
    if(ch.equalsIgnoreCase("y") || ch.equalsIgnoreCase("n")) break;
    if(!(ch.equalsIgnoreCase("y") || ch.equalsIgnoreCase("n")))
    System.out.println("Invalid option : please type y/n");
    System.out.println(" ");
    if(ch.equalsIgnoreCase("n"))
    System.out.println(" ");
    System.out.println("Thank you");
    break;
    Edited by: 972831 on Nov 22, 2012 10:50 PM

    972831 wrote:
    now i want a way to acess name by state city and area.ie my program should ask state when i provide state it should display all cities in that state ,then when i select city it should display all area in that city then when i select area it should display all emp name from that areaWell, where are you stuck? Take the input and see if it's "state", "city" or "area". Then read another input for its name. Then go through all the items you have and check whether there's a match.

Maybe you are looking for

  • In Mountain Lion, where can I change the kinds of Facebook notifications I want to receive in the notification center?

    Can I get the actual notifications in the notification center or just the messages?

  • Converting mp4 to flv with AME - audio is out of sync

    I am trying to convert an .mp4 file to an .flv (cropping it at the same time) using AME. The file crops and converts without error but when I play my .flv file the audio is not in sync. The audio is playing slower than the original mp4, but the video

  • COUNTIF and VLOOKUP

    I have a worksheet named CODES with 41 codes in column A and either a 1 or 0 in column B that indicates if occurrences of each of the codes should counted. 1 means the code should be counted, 0 means that the code should not be counted. I have anothe

  • How to deactive a CS3 program that will not open?

    I have and old computer with this adobe package installed on it.  The hard drive failed and the computer wouldn't boot up.  I purchased a new computer and installed the adobe package on it.  I call adobe support and was able to activate the programs.

  • PSE 9 Appcrash

    Hi, I am Rainer from Germany, my PSE 9 crashes when I e.g. Photos give a framework, or in the mode "CREATE" design a photo collage, while the "simple mode" in the "Advanced mode" umschalte. In Annex I passed the error message. A new installation of P