Hello There!
my two cents. [?]
char a ='B';
while(a < 'Z') {
a++; // Most be here, otherwise u will get an infinity loop :P ...
mPanel.add(new Button(*Character.toString(a)*);
}
by the way, I advise you to use JButton (from Swing API) instead Button
(AWT).
On Mon, Nov 23, 2009 at 2:
abel = item.getLabel(); // MenuItem's name that was fired
an event (clicked)
:
showNewWindows();
:
}
You will need to do a review of Swing :P ...
On Thu, Sep 24, 2009 at 5:33 AM, javaquestion
wrote:
>
>
>
> On Sep 24, 1
Mmmh ... You can add an ActionListener directly to MenuItem, You don't need
to use a JButton for that.
Check Java Doc:
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/MenuItem.html
This works in 1.4+ :) ...
Your class most implements ActionListener Interface
public class YourClasssWithMenuIte
Because you are comparing references and no values themselves.
System.out.println(x1.equals(x2));
will print true, because you are comparing variable contents :).
On Mon, Sep 21, 2009 at 3:01 PM, ANUJ KUMAR wrote:
> class test
> {
>
> public static void main(String args[])
> {
> String x1 =
To execute a JSP/Servlet, you will need a JSP Container ...
That I know, Apache (httpd) isn't a JSP Container, instead Apache (httpd),
you must use "Apache Tomcat", by example.
maybe help you this.
On Wed, Sep 16, 2009 at 12:14 PM, diegosouza.br wrote:
>
> Does it show any error message?
> You