Package org.gnome.gtk

Examples of org.gnome.gtk.Entry


    public void onClicked(Widget widget, String userData)
    {
        if(userData.equals("ok"))
        {
            Entry entry = (Entry)glade.getWidget("txt_url");
            System.out.println(entry.getText());
           
            try
            {
                manager.addDownload(new Download(new URL(entry.getText()), Configuration.get().getNumberOfSegments()));
                dialog.hide();
            }
            catch(MalformedURLException ex)
            {
                ex.printStackTrace();
View Full Code Here

TOP

Related Classes of org.gnome.gtk.Entry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.