Subscribe For Free Updates!

We'll not spam mate! We promise.

Wednesday, 5 September 2012

Java Applet code to Create a drop down list named textAlignment



//The Java Abstract Windowing Toolkit
import java.awt.*;

public class DropDownListFont extends java.applet.Applet {
//Create a drop down list named textAlignment
Choice textAlignment = new Choice();

public void init() {
//Add 4 different options to it:
textAlignment.add("Left");
textAlignment.add("Center");
textAlignment.add("Right");
textAlignment.add("Random");
//Then add the drop down list to the screen
add(textAlignment);
}
}

Socializer Widget By CodingLovers
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

22 comments:

  1. This technical post helps me to improve my skills set, thanks for this wonder article I expect your upcoming blog, so keep sharing...
    Regards,
    ccna course in Chennai|ccna training in Chennai|ccna courses in Chennai

    ReplyDelete

  2. I have read your blog its very attractive and impressive. I like it your blog.

    Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

    Java Online Training Java Training in Chennai Core Java 8 Training in Chennai Core Java 8 Training in Chennai JavaEE Training in Chennai Java EE Training in Chennai

    ReplyDelete
  3. Thanks for the sharing this article really nice. keep posting.
    Java Training in Noida

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Thanks for the sharing this article really nice. keep posting.
    SAP Hana Training in Gurgaon.

    ReplyDelete
  6. The Spring Framework is a lightweight framework for developing Java enterprise applications. It provides high performing, easily testable and reusable code. Spring handles the infrastructure as the underlying framework so that you can focus on your application.Spring is modular in design, thereby making creation, handling and linking of individual components so much easier. Spring implements Model View Container(MVC) design pattern.
    spring mvc form example

    ReplyDelete
  7. Existing without the answers to the difficulties you’ve sorted out through this guide is a critical case, as well as the kind which could have badly affected my entire career if I had not discovered your website.
    Digital Marketing Training in Chennai

    Digital Marketing Training in Bangalore

    digital marketing training in tambaram

    digital marketing training in annanagar

    digital marketing training in marathahalli

    ReplyDelete
  8. Some us know all relating to the compelling medium you present powerful steps on this blog and therefore strongly encourage contribution from other ones on this subject while our own child is truly discovering a great deal. Have fun with the remaining portion of the year.
    python training in rajajinagar
    Python training in btm
    Python training in marathahalli

    ReplyDelete
  9. All the points you described so beautiful. Every time i read your i blog and i am so surprised that how you can write so well.
    Blueprism training in marathahalli

    Blueprism training in btm

    ReplyDelete
  10. I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog. All the best.

    Data Science training in Chennai
    Data science training in bangalore
    Data science online training
    Data science training in pune

    ReplyDelete
  11. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
    angularjs-Training in pune

    angularjs-Training in chennai

    angularjs Training in chennai

    angularjs-Training in tambaram

    angularjs-Training in sholinganallur

    ReplyDelete
  12. I love what you’ve got to say. But maybe you could a little more in the way of content so people could connect with it better.
    fire and safety course in chennai

    ReplyDelete
  13. Informative post indeed, I’ve being in and out reading posts regularly and I see alot of engaging people sharing things and majority of the shared information is very valuable and so, here’s my fine read.
    click here co 2lz4drob
    click here code
    click here chat
    click here to check results
    click here to check marks

    ReplyDelete
  14. The provided information’s are very useful to me.Thanks for sharing.Keep updating your blog...
    https://www.analyticspath.com/

    ReplyDelete
  15. Nice Blog ! It was really a nice article and i was really impressed by reading this. Thanks for sharing such detailed information.
    Data Science Training in Hyderabad

    ReplyDelete
  16. This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.

    Simple Linear Regression

    Correlation vs covariance

    KNN Algorithm

    Logistic Regression explained

    ReplyDelete