Botones buttons

Hola a todos!
Tengo una pequeña duda con el tema de los botones. A ver si álguien puede resolverlo...:
Quiero crear un botón que tenga un enlace a otra página. Yo le he puesto el link correspondiente y funciona muy bien. Pero yo quisiera que cuando yo me pongo encima del botón, antes de apretar, me aparezca un titular que indique el uso de este botón. ¿Como puedo hacerlo?
Gracias!!
Roger

Hi Roger,
How exactly have you created this button?
Try using the Tooltip widget.
Regards,
Aish

Similar Messages

  • Help with makin an interface for text files in a directory

    hi all..
    i m in need to help for making a GUI, that takes all the filenames from a directory, count them,
    display all their names on the GUI in form of radio buttons... for the user to choose from..
    and then their shud be some options of changin the data inside the particular file that is chosen..
    and storin it back...
    i thought to do the GUI part in applet... and other program in simple java code....
    but there is some problem in insert that code in applet...
    can anyone help tellin me .. if this task can be fully done in java itself..
    or can suggest anyother language,,,,
    i also have problem in readin the filenames from directory..
    and showin it as a option in interface????
    please help...
    thanks to all

    Hello, I'm trying to do a thing pretty much the same although more simple.
    I'm trying to list all contents of a directory, then check if the directory has a directory inside it named according to the contents of the file readed. To summarize, I'm trying to repeatedly open files and compare them.
    Here is the code I've written so far:
    package archivos;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.io.File;
    import java.util.StringTokenizer;
    class ej18 extends Frame implements ActionListener
         private TextField tf;
         private Button b;
         private TextArea ta1,ta2,ta3,ta4;
         private Label la;
         ej18()
              setLayout(new FlowLayout());
              setSize(200,200);
              setVisible(true);
              la = new Label("Escribe el nombre del directorio donde se encuentra patrones y patrones.txt:");
              tf = new TextField("",20);
              ta1 = new TextArea(15,40);
                    ta2 = new TextArea(15,40);
                    ta3 = new TextArea(15,40);
                    ta4 = new TextArea(15,40);
                    b = new Button("Comenzar");
              b.addActionListener(this);
              add(la);
              add(tf);
              add(b);
              add(ta1);
          add(ta2);
          add(ta3);
              add(ta4);
          pack();
         public void actionPerformed(ActionEvent e1)     
              String x,y;
              Button Boton;
              Boton = (Button)e1.getSource();
              int op=0;
              if(Boton==b)
                   try
                     x=tf.getText();
                   File patrones = new File(x);
                   if(patrones.exists()&&patrones.isDirectory())
                   {ta1.append("******\nDirectorio <patrones> existe\n");}
                   else{ta1.append("Directorio <patrones> no existe\n");}
                   String[] files1 = patrones.list();
                   ta1.append( "Archivos:\n" );
                   for( String file : files1 ){ta1.append( file + "\n");}
                   File textfile = new File(x,"patrones.txt");
                   if(textfile.exists()&&textfile.isFile())
                   {{ta2.append("******\nArchivo <patrones.txt> existe\nContenido:\n");
                    BufferedReader in = new BufferedReader(new FileReader(textfile));
                        String s="";
                             //tokeinzer
                       while ( s != null )
                   ta2.append(s+"\n");
                        s = in.readLine();
                             String rs=s;
                   String[] result = rs.split(",");
                             String r = result[result.length-1];
                             File textfile1 = new File(x,r);
                   if(textfile1.exists()&&textfile1.isFile())
                             {ta3.append("*****\nArchivo <"+r+"> existe\nContenido\n");
                   StringTokenizer st = new StringTokenizer(r,".");
                   String rr=st.nextToken();
                             File textdir = new File(x,rr);
                   if(textdir.exists()&&textdir.isDirectory())
                             {ta4.append("*****\nEl directorio <"+rr+"> existe\n");
                   String[] files2 = textdir.list();
                   ta4.append( "Archivos:\n" );
                   for( String file : files2 ){ta4.append( file + "\n");}
                             else{ta4.append("*****\nEl directorio <"+rr+"> no existe\n");}
                   BufferedReader in1 = new BufferedReader(new FileReader(textfile1));
                             String ss="";
                       while ( ss != null )
                          ta3.append(ss+"\n");
                          ss = in1.readLine();
                             else{ta3.append("*****\nArchivo <"+r+">  no existe\n");}
                             //!tokenizer
                        in.close();}}
                   else{{ta2.append("Archivo <patrones.txt> no existe\n");}}
                   catch (Exception e2)
                        System.err.println("File input error");
    class Intanciador_ej18
         public static void main(String ar[])
              ej18 obj = new ej18();
    }

  • Help needed getting contacts page to work

    Hi there,
    I’m new to flash programming, so please bear with me.
    I bought a flash template to customise to use for our wedding
    website. I’ve got pretty much most of it done, all except the
    contacts page, which I can’t get to work.
    I think I’ve narrowed the problem down to the feed into
    send_mail.php script, but any suggestions would be greatly
    appreciated (before my future wife kills me for wasting so much
    time on this when we could have got a simple html website –
    but where would be the fun in that?!)
    I've attached the Action script behind the contacts page
    (please excuse the Spanish – for some reason the scripts are
    littered with it – for those who need to know, boton =
    button, listo = ready, nombre = name, cuadro = picture).
    From what I can gather, the first bit deals with what happens
    when you click on the buttons (name and email), the second bit is
    for error checking what’s entered, such as whether the email
    address has a @ or .com. The last bit is to feed the results into a
    php file, which should forward the contents of the contacts page to
    me.
    Here’s my send_mail.php file
    <?php
    $nombre=$_POST['name'];
    $email=$_POST['email'];
    $phone=$_POST['company'];
    $comentarios=$_POST['msg'];
    $to="[email protected]";
    $subject="From flash form";
    $headers="From: \"$name\" <$email>";
    $message = "Company: $company\n\n";
    $message .= $msg;
    mail($to,$subject,$message,$headers);
    ?>
    And I've put this php file in the same directory of my
    website as all the other swf and fla files – is that correct?
    Should this work? Or have I made a mistake anywhere?
    Many thanks
    DM

    Okay is the php script you have included here, THE actual
    script that is on your website? (unchanged in it's contents)
    Because where it says:
    $to="[email protected]";
    You have to change that to your email, or the email you want
    the form contents to send to.
    -Yes you will put the .php file in the same directory as the
    .swf file-
    Also you need to check that the variable and instance names
    in the flash file match the names in the .php file.
    Example:
    "mail.nombre = nombre.text;
    mail.email = email.text;
    mail.phone = phone.text;
    mail.comentarios = comentarios.text;
    mail.Submit = true;"
    -This is what you have provided for the form, which does not
    match the .php file provided.
    If the instance name of the email section is "email" the php
    file will read like this:
    email=$_POST['email'];
    The name inside the apostrophes is the instance name of that
    box.
    Looking at the scripts you have provided the instances and
    variables in the form do not match the ones in the .php file.
    If I am wrong, you can send me the original file if you wish
    and I can most likely find the problem for you and fix it.
    Or if you need help assessing this, I can do it for you! =P
    my email is [email protected]
    Hope I helped.
    Cheers!

  • Mi boton home no funciona, como hago para arreglarlo? My home button doesn't work, how can I fix it?

    Mi boton de home no funciona, desde hace rato, pero no se como arreglarlo? la garantia de un año ya expiro, asi que no se que hacer! alguien sabe? gracias!
    My home button doesn't work, since for some time, but I don't know how to fix it? the one year warranty already expired, so don't know what to do! does anyone know? Thank you!

    Hola PaulaVila,
    Has probado a calibrarlo por si acaso? Para hacerlo tienes que abrir una de las aplicaciones preinstaladas (Contactos es la que suelo usar yo). Una vez abierta, pulsa el botón de encendido del dispositivo hasta que aparezca el cuadro de dialogo de apagado. Luego pulsa el botón de inicio (el que no te funciona) hasta que salgas de la aplicación (el cuadro de dialogo de apagado también desaparecerá).
    Si así no lo consigues te sugiero que te acerques a un Apple Store o a un servicio técnico autorizado.
    Un saludo,

  • Button Sleep / Awake - Boton de encendido

    Hola,
    He acudido a una tienda autorizada de apple (no es una apple store oficial) para la ejecución del reemplazo del botón de encendido o Sleep / Awake, ya había comprobado que mi serial participa en este programa, cuando he ido a la tienda, el chico me ha dicho que para aceptar mi teléfono debía instalar una aplicación que supuestamente comprobaba si el botón servía o no servía, ya que si servía, no me lo aceptaban.
    Por supuesto, no deje que un extraño instalara una aplicación en mi teléfono, pero quería saber si esto es así, o si en la tienda simplemente deben corroborar mi serial y con esa información es suficiente para mandarlo a apple para el cambio.
    English:
    Hi,
    I went to a store authorized by apple for the button Sleep/awake replacement program, I've already check my serial at the apple's website and my iPhone it's on the program. But in this store, the guy says that he has to install an application in my iPhone to know if the button doesn't really work.Obviously, I didn't let he to install any app in my phone.
    So, my question is, ¿Do I have to let him to install an app on my phone o he just have to check the serial on the website?
    PD: It's no an official apple store, there's none in my country
    Gracias!

    What country & what store?
    Are they an official Apple authorized service center?
    See this -> https://locate.apple.com

  • Insert from button in jsp page

    hi, im new o jso and needto make an insert frim a jsp page with a button,
    what should i do?
    i made a javascript function but i really dont know if am i right and then i tried to call this function from the html tag
    beside this i execute de query from java and it was success!!, but i dont know what is wrong when i try from the jsp page with de button, please help!
    thx!
    here it's my code:
    <script type="text/javascript">
    import java.sql.*;
    function Agregar()
    return
    StringBuffer sb = new StringBuffer();
    try{
    Class.forName("org.postgresql.Driver");
    Connection conn = DriverManager.getConnection("jdbc:postgresql://localhost:5432/Prueba","postgres","hola");
    Statement stmt = conn.createStatement();
    stmt.executeUpdate("INSERT INTO tbl_responsable (cedula,nombre,direccion) VALUES (14021752,'carlos','caracas')");
    }catch(Exception e){
    System.out.println("EXPLOTO");
    </script>
    ahora en el html que debo hacer??, o si tengo q hacer otra cosa???
    html del boton:
    <input type="submit" value="Agregar" action="Agregar()">
    what should i do, what its wrong??
    thx again!

    try this
    <input type="submit" onclick=" return Agregar();">
    or
    <input type="submit" onclick=" Agregar();">

  • When you push the button VL02N that is in the  post output of goods)

    En inglés:
    Hello, in Peru is required to account when delivery by VL02N, the document is assigned a serial tax (calculated by ranges in a table z), the point is that I have not got any user exit is activated when you push the button VL02N that is in the (post output of goods), I reviewed the user exit and is not active MV50AFZ1 the button and the methods of the badi LE_SHP_DELIVERY_PROC (transaction SE18) were not actively using the button to count the output of goods VL02N transaction delivery
    Would know as one might do this?
    thanks and regards
    En español:
    Hola, en Peru se necesita que cuando de contabilize la entrega por la VL02N, se asigne al documento un consecutivo fiscal (calculado por rangos en una tabla z), el punto es que no he conseguido ningun user exit que se active cuando presiono el boton que está en la VL02N , (contabilizar salida de mercancias), revisé el user exit MV50AFZ1 y no se activa en el botón y los métodos de la badi LE_SHP_DELIVERY_PROC ( transacción se18) tampoco se activam con el botón de contabilizar la salida de mercancia en la transacción VL02N  de la entrega
    Sabrian como se podria hacer esto?
    gracias y saludos

    Hi,
    you can use the BADI " LE_SHP_GOODSMOVEMENT" in SE18 implement and see we have the Parameter IS-LIKP using which you can put values.
    Regards

  • When push the button VL02N that is in the (post output of goods)

    En inglés:
    Hello, in Peru is required to account when delivery by VL02N, the document is assigned a serial tax (calculated by ranges in a table z), the point is that I have not got any user exit is activated when you push the button VL02N that is in the (post output of goods), I reviewed the user exit and is not active MV50AFZ1 the button and the methods of the badi LE_SHP_DELIVERY_PROC (transaction SE18) were not actively using the button to count the output of goods VL02N transaction delivery
    Would know as one might do this?
    thanks and regards
    En español:
    Hola, en Peru se necesita que cuando de contabilize la entrega por la VL02N, se asigne al documento un consecutivo fiscal (calculado por rangos en una tabla z), el punto es que no he conseguido ningun user exit que se active cuando presiono el boton que está en la VL02N , (contabilizar salida de mercancias), revisé el user exit MV50AFZ1 y no se activa en el botón y los métodos de la badi LE_SHP_DELIVERY_PROC ( transacción se18) tampoco se activam con el botón de contabilizar la salida de mercancia en la transacción VL02N  de la entrega
    Sabrian como se podria hacer esto?
    gracias y saludos

    Hi, the problem is:
    In Peru is required to account when delivery by VL02N, the document is assigned a serial tax (calculated by ranges in a table z), in the field LIKP-LIFEX the point is that I have not got any user exit is activated when you push the button VL02N that is in the (post output of goods), I reviewed the user exit and is not active MV50AFZ1 the button and the methods of the badi LE_SHP_DELIVERY_PROC (transaction SE18) were not actively using the button to count the output of goods VL02N transaction delivery .
    The user exit or badi  to save or modify the delivery (MV50AFZ1, LE_SHP_DELIVERY_PROC) not serve because is necesary account the delivery, and the serial tax  must be assigned to account  BOTTON (post output of goods)  for delivery.

  • Re: Portege R500: Contros button doesn't work after installing update

    After installing the most recent version of Toshiba's Value Added Package, the two buttons (toshiba assist and backlight on/off) do not work properly: they open instead a firefox browser window.
    I assume there is something to configure in the "optimisation" section of Toshiba Assist.
    When I open the program "Toshiba buttons functions" (sorry for the puny translation, in Spanish it's called: "Funciones de botones de Toshiba") all the entries are blank and I have to indicate the Url of the program supposed turning off my LCD's backlight...
    I have no clue where to find this executable.
    Can anybody help me?

    Thanks for the response.
    I hope I don't have to use such an extreme solution. Mainly because I *really* don't have time for restoring an OS. Furthermore, if I have to restore everything every time I update the computer: what is the point of updating?
    There must be a more subtle solution... don't you think?

  • Hi, i have a problem whith Iphone 4 whith the home boton! What can i do?

    Hi, i have a problem whith Iphone 4 whith the home boton! What can i do?

    As you do not state what the exact issue is... See here...
    The Home button is slow to respond
    If the Home button is slow to respond when exiting one application, try another application.
    If the issue exists only in certain applications, try removing and reinstalling those applications. For further assistance in installing and troubleshooting applications see this article
    If the issue continues, Try turning iPhone off and then on again. If the iPhone will not restart, try resetting it.
    If the issue is still happening, try to restore the iPhone
    Seek service is the issue is still occurring.

  • The home button doesnt work

    mi iPod touch.. empeze teniendo problemas con el boton home.. despues de su compra como 3 meses..
    tenia q precionar duro.. para q funcionara... o bastatnte tiempo.. tratava de no utilizarlo mucho por lo mismo pero creo q en el tiempo q lo guarde se arruino mas.. hoy en dia el ipod no funciona en su totalidad el boton.. la garantia dice q la tengo.. me podrian ayuda o a donde lo llevo.. estoy en  la Ciudad de Guatemala...  gracias

    i´ve alredy tried it but where i live there aren't places where i could take it, and when i took it to the store where i bought it they took it for evaluation, and when they returned the iphone they gave me a letter saying that the problem didn't show in the device and i cant be certain that when i take it again the problem will apear so thats my problem cause the home button could be responding right now but at any time it starts failing

  • El boton de inicio de mi ipod

    Veran, el boton de inicio de mi ipod, parece sumido, que me recomiendan, la verdad esque le doy hasta tres veces y nada

    Google translate:
    hi my start button not responding ipod touch
    Try:
    iOS: Not responding or does not turn on

  • Quitar botones barra de botones

    Hola,
    Mi duda es la siguiente, me gustaria quitar de la barra de botones el botón de stop, para que los usuarios del programa no puedan paralo por ese método y tengan que utilizar el botón de Stop que se encuentra en el Front Panel, hecho por programación.
    Gracias

    Bueno para hacer eso solo te vas a tu panel frontal y abres File > VI Properties > Category: Window appearance y seleccionas Custom y das click en el boton Customize y desactivas las opciones de "show abort button" y listo
    Saludos

  • El boton de inicio del ipod touch no responde

    hola el boton de inicio de mi ipod touch no responde

    Google translate:
    hi my start button not responding ipod touch
    Try:
    iOS: Not responding or does not turn on

  • Reparar Boton de inicio

    El boton de inicio del ipod touch de mi hijo no funciona. Es un dispositivo de enero del  año 2012 (5ª generación creo).
    Desconozco si debe ser motivo de reparación (141 €) o se puede resolver de otra manera.
    Gracias por cualquiere pista
    Saludos. Fernando.

    Google translate:
    The home button on iPod touch does not work for my child. It is a device of January 2012 (5th generation I think).
    Know if a cause for repair (141 €) or can be resolved otherwise.
    Thank track cualquiere
    You have a 4G iPod touch. The 5G only came out late last month.
    Since it is less than one year old repair/replacement should be covered by the warranty. Contact an Apple store or an Authorized Service Provider.

Maybe you are looking for

  • Ora-20001 when creating a form on table with report (bug?)

    Having some trouble creating a "Form on table with report". 1) I pick my table 2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next-> 3) Do not use tabs. Next-> 4) Selec

  • Library loaded but unsatisfies

    Hi All, I have the following problem: with the following signature generated by javah -jni -d media/huffyuv media.huffyuv.HuffYUVEncoder /* signature taken from generated .h file JNIEXPORT jint JNICALL Java_media_huffyuv_HuffYUVEncoder_openEnc   (JNI

  • Key not available

    I have a use case where I have a child table with a foreign key from the master table, and the key is being generated from a sequence. And I have to insert data into the child table ,before I insert in the master table.So how do I insert the foreign

  • Routine Value

    Dear All, I have a routine in pricing procedure for sales order where I can retrieve values of line items by using tables KOMV and KOMP. But I want to retrieve Header Level Table value in line item. Like VBKD-VALTG. Pl. suggest me, how can I retrieve

  • Can't video chat error -8!!!

    i'm having the same error -8 as the other users i've tried turning off firewall, updating the ports, etc it was working fine for a couple years, then suddenly stopped i didn't change any hardware, the modem and wireless are exactly the same... PLEASE