Problem with java beans and jsp on web logic 6.0 sp1

          HI ,
          I am using weblogic6.0 sp1.
          i have problem with jsp and java beans.
          i am using very simple java bean which stores name and email
          from a html form.
          but i am getting following errors:
          Full compiler error(s):
          D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
          cannot resolve symbol
          symbol : class userbn
          location: class jsp_servlet._savename2
          userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
          ^
          D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
          cannot resolve symbol
          symbol : class userbn
          location: class jsp_servlet._savename2
          userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
          ^
          D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:94:
          cannot resolve symbol
          symbol : class userbn
          location: class jsp_servlet._savename2
          ud = (userbn) java.beans.Beans.instantiate(getClass().getClassLoader(),
          "userbn"); //[ /SaveName2.jsp; Line: 7]
          ^
          3 errors
          in which directory should i place java bean source file(.java file)
          here is my jsp file:
          <%@ page language = "java" contentType = "text/html" %>
          <html>
          <head>
          <title>bean2</title>
          </head>
          <body>
          <jsp:usebean id = "ud" class = "userbn" >
          <jsp:setProperty name = "ud" property = "*" />
          </jsp:usebean>
          <ul>
          <li> name: <jsp:getProperty name = "ud" property = "name" />
          <li> email : <jsp:getProperty name = "ud" property = "email" />
          </ul>
          </body>
          <html>
          here is my bean :
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          import java.io.*;
          public class userbn implements Serializable
               private String name ;
               private String email;
               public void setName(String n)
                    name = n;
               public void setEmail(String e)
                    email = e;
               public String getName()
                    return name;
               public String getEmail()
                    return email;
               public userbn(){}
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          pls help me.
          Thanks
          sravana.
          

          You realy can do it like Xiang says, but the better way is to use packages. That's
          the way BEA is designed for. If you use packages you can but your bean classes
          in every subfolder beneath Classes. Here for example we have the subfolders test
          and beans:
          You have to declare the package on top of your Bean Source Code:
          package test.beans;
          In your JSP you don't need the import code of Xiang. You only have to refer the
          path of your bean class:
          <jsp:useBean id="testBean" scope="session" class="test.beans.TestBean" />
          There are some other AppServers that only can deploy Java Beans in packages. So
          if you use packages you are always on the right side.
          ciao bernd
          "sravana" <[email protected]> wrote:
          >
          >Thank you very much Xiang Rao, It worked fine.
          >Thanks again
          >sravana.
          >
          >"Xiang Rao" <[email protected]> wrote:
          >>
          >><%@ page import="userbn" language = "java" contentType = "text/html"
          >>%> should
          >>work for you.
          >>
          >>
          >>"sravana" <[email protected]> wrote:
          >>>
          >>>HI ,
          >>>
          >>>I am using weblogic6.0 sp1.
          >>>
          >>>i have problem with jsp and java beans.
          >>>
          >>>i am using very simple java bean which stores name and email
          >>>
          >>>from a html form.
          >>>
          >>>but i am getting following errors:
          >>>
          >>>________________________________________________________________
          >>>
          >>>Full compiler error(s):
          >>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
          >>>cannot resolve symbol
          >>>symbol : class userbn
          >>>location: class jsp_servlet._savename2
          >>> userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
          >>> ^
          >>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:89:
          >>>cannot resolve symbol
          >>>symbol : class userbn
          >>>location: class jsp_servlet._savename2
          >>> userbn ud = (userbn) //[ /SaveName2.jsp; Line: 7]
          >>> ^
          >>>D:\bea4\wlserver6.0sp1\config\mydomain\applications\DefaultWebApp_myserver\WEB-INF\_tmp_war_myserver_myserver_DefaultWebApp_myserver\jsp_servlet\_savename2.java:94:
          >>>cannot resolve symbol
          >>>symbol : class userbn
          >>>location: class jsp_servlet._savename2
          >>> ud = (userbn) java.beans.Beans.instantiate(getClass().getClassLoader(),
          >>>"userbn"); //[ /SaveName2.jsp; Line: 7]
          >>> ^
          >>>3 errors
          >>>
          >>>____________________________________________________________
          >>>
          >>>in which directory should i place java bean source file(.java file)
          >>>
          >>>here is my jsp file:
          >>>--------------------------------------------------------
          >>>
          >>><%@ page language = "java" contentType = "text/html" %>
          >>><html>
          >>><head>
          >>><title>bean2</title>
          >>></head>
          >>><body>
          >>><jsp:usebean id = "ud" class = "userbn" >
          >>><jsp:setProperty name = "ud" property = "*" />
          >>></jsp:usebean>
          >>><ul>
          >>><li> name: <jsp:getProperty name = "ud" property = "name" />
          >>><li> email : <jsp:getProperty name = "ud" property = "email" />
          >>></ul>
          >>></body>
          >>><html>
          >>>
          >>>-------------------------------------------------------------
          >>>
          >>>here is my bean :
          >>>
          >>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          >>>
          >>>import java.io.*;
          >>>
          >>>public class userbn implements Serializable
          >>>{
          >>>
          >>>     private String name ;
          >>>
          >>>     private String email;
          >>>
          >>>     public void setName(String n)
          >>>     {
          >>>
          >>>          name = n;
          >>>     }
          >>>
          >>>     public void setEmail(String e)
          >>>     {
          >>>
          >>>          email = e;
          >>>     }
          >>>
          >>>     public String getName()
          >>>     {
          >>>
          >>>          return name;
          >>>     }
          >>>
          >>>     public String getEmail()
          >>>     {
          >>>
          >>>          return email;
          >>>     }
          >>>
          >>>     public userbn(){}
          >>>}
          >>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          >>>
          >>>pls help me.
          >>>Thanks
          >>>sravana.
          >>>
          >>
          >
          

Similar Messages

  • Hi frnds i want to help in servlet,java bean and JSP

    hi friends i'm right now in M.SC(IT) and i want to do project in SERVLET,,JAVA BEANS and JSP ,
    so pls give me a title about that
    NOTE: I develop a project in group(2 persons there)
    my email id is : [email protected] , [email protected] , [email protected]

    You cannot pair your iPod to a cell phone, so forget about it.
    The only way you can get free WiFi is to hang out at a Denny's, a Starbucks, or a truck stop, and I don't think your parents would approve....

  • J2EE Java Beans and JSP

    I need a little help. I would like to learn jsp programming. Ive been browsing lots of tutorials on net but i didnt find any way how to use your own classes in jsp. I suppose it could do something with Java Beans but im new them so i dont know. Lets say ive got a login form with a username and password. After i send it to another jsp lets say verify.jsp i would like to verify the user using a class ive got. It goes through a xml file with some accounts and looks for the desired user if the password is correct. Now how do i call a method: boolean verifyUser( String user, String password) in the verify.jsp file? Is it possible?
    Thanks for help

    you'll probably want to have a central servlet that all your JSPs will talk to and acts as a traffic cop to direct navigation between pages. it can be the one to add JavaBeans as attributes to page/request/session/application scope. Your JSP can then get the Bean as an atribute and call its isValid method.
    Java Beans are NOT Enterprise Java Beans. Be sure you understand the difference. The former are Java objects that follow Bean conventions; the latter are Java objects that extend EJB types and run in a container. Very different.
    %

  • Problem with java, ASCII and Linux

    Hi Friends,
    I has a Linux RedHat 9.0 with a jre1.5.0_04 (rpm package of Sun).
    I has a problem with ASCII , for example :
    import java.io.*;
    public class HolaMundo
    public static void main (String[] args)
    System.out.println("Hol� M�ndo");
    this programs runs ok on my windows jdk so it prints "Hol� M�ndo", but when i run the same HolaMundo.class program on my linux redhat it prints "Hol�� M��ndo"
    I think the problem is with the ASCII table that uses the linux version of jre, but i dont know how to solve this problem. I need a Spanish-European ASCII table on my application but i think it is working with a US-ASCII table.
    Then i has installed a kaffe 1.0 (rpm) java machie on this linux and this solve the problem but i has another problems of compatibility with this old version of java kaffe.
    Do you know whats happening?
    Thanks in advance.

    The problem doesn't have to do anything with Java or Linux as far as i can see. It's more likely a problem with Windows XP and IE. Be assured that normally downloading the Linux JDK in windows is not a problem.

  • Java Beans and JSP Arrays

    Hi..
    I am trying to pass a 2D String array to a Java Bean and i am getting
    "java.lang.NoSuchMethodError"
    Any Ideas?
    Thanks
    Joe
    Jsp Call
    Sorts s = new Sorts();
    s.getTotal(items);
    "items[][]" is a 2 dimentional arrays and size can vary..
    Java Bean
    public class Sorts implements Serializable {
    public double getTotal(String sItems[][]){
    double aSum=0;
    for(int i=0;i<sItems[0].length;i++){
    aSum=aSum+(Double.parseDouble(sItems[1])*Double.parseDouble(sItems[2][i]));
    return aSum;

    Can someone show me how to pass a 2 Dimentional Array to a Java Bean method? obviously i am doing something wrong.
    Joe
    Hi..
    I am trying to pass a 2D String array to a Java Bean
    and i am getting
    "java.lang.NoSuchMethodError"
    Any Ideas?
    Thanks
    Joe
    Jsp Call
    Sorts s = new Sorts();
    s.getTotal(items);
    "items[][]" is a 2 dimentional arrays and size can
    vary..
    Java Bean
    public class Sorts implements Serializable {
    public double getTotal(String sItems[][]){
    double aSum=0;
    for(int i=0;i<sItems[0].length;i++){
    aSum=aSum+(Double.parseDouble(sItems[1])*Double.pars
    Double(sItems[2][i]));
    return aSum;

  • Problem with Java 5 and Oracle 10g JDBC driver

    Hi All,
    Currently we upgrade our web application to Java 5 and Oracle 10.2 JDBC driver. And we encountered a bug, when the user entered the information through UI and data didn't store into database (Oracle 9i). The problem is that this bug is not happend so often maybe once a day and this did not happen before we upgraded to Java 5 and Oracle 10.2 JDBC driver. Does anyone encounter the same problem ? Is this Java 5 problem or Oracle JDBC driver problem ?
    Thanks,

    sounds like a database problem...
    Are you using a driver version that's supported for your database engine?
    What else did you change? We once ran into a major bug in our application that had for 5 years been masked by performance problems in our hardware and infrastructure.
    Once those were resolved the bug showed itself and caused tens of thousands of records to be erroneously inserted into our database every day.
    It's certainly NOT a problem with your JVM (if it's a decent one, like the Sun implementation).
    So it's either your database, your driver, your network (dropping packets???), or your application.
    The upgrade may just have exposed something that was already there.

  • Problems with Java-Beans-Connectivity

    Post Author: dweise
    CA Forum: JAVA
    I'm new in crystal reports and try to connect a sample bean class to the java beans conectivity. Problem is that i only get JavaServerType=JavaBeans|JavaBeanName= for selection. Can anyone tell me what the problem is with my configuration. I followed the steps of the POJOTutorial.doc and the Configuration-Infos of the java_beans_connectivity.My System is w2k professional and for Crystal Reports i use the developer installation with Product Version 11.5.0.313 Thanks by now

    Post Author: pabhijit
    CA Forum: JAVA
    Could you send me the detailed steps and what point you are stucked.? I recently did something simillar and may be I would be able to help.

  • Problems with erradic crashes and loading of web sites and pages

    I am running os 10.5.8 and have never had internet/issues. Recently my system will not be able to load web sites or they will take 5 min or more. Or a web site will load fine but then I will not be able to load pages from this site. There are websites that this is not an issue and ones that won't load at all. Then I can go back and try the sites/pages again and they will load only to freeze again. This is true for firefox or safari. I have tried the following.Apple software update; reload web browsers; delete plist from web browser preferences; cleared all the history files; deleted all the library caches; checked the security; run dnschanger; nothing has fixed the problem.... Could this be a virus? Please help!!!!!!!!!!
    barry

    I opened more than one instance of my web application
    in Internet Explorer by pressing CTRL + N. And I
    tried to send the request from all the browsers. The
    requests are stopping my Tomcat application server.
    If I sent request from only one browser in that case
    Tomcat is sending correct response to browser to
    display in jsp pages.
    I tested this 10 times by sending requests from
    multiple browsers and all 10 times these requests
    stopped the Tomcat application server.
    Can any one please tell me where would I am going
    wrong?What do you mean by "stopped"? Did the Tomcat service shutdown?
    And also I have problems with session timeout. I
    added the following
    code to the web.xml file in my web application
         <session-config>
              <session-timeout>30</session-timeout>
         </session-config>
    My web application is automatically logging out after
    30 min if the user session is idle for 30 min.
    But I want capture the session idle time, so I can
    custom error message. Can some one please give me
    sample code to calculate user session idle time. Can
    we achieve this using HttpSessionBindingListener
    interface and HttpSessionBindingEvent class?You don't need to capture the session idle time for that. You only need to check if the session has invalidated and display a message accordingly.

  • Problem with Java Dates and UPDATE for SQL2000

    I am having problems with the date formats for Java. I am trying to put the current date time into a SQL table, here it the code I am using:
    var Today = new Date()
    var conn = Server.CreateObject( "ADODB.Connection" )
    conn.Open( "Provider=SQLOLEDB;Server=(local);Database=BillTracking;UID=sa;PWD=;")
    var sql = "UPDATE BillAssignments SET DatePosted = " + Today + " WHERE AssignmentID = '" + Request.QueryString("AssignmentID") + "'"
    var rs = conn.execute(sql)
    I keep getting different errors and I have been unable to find a solution yet. I know that I need to change the date format from the Java standard to the one that SQL likes.
    Help....
    Norm...

    Please tell us where the Java part of this comes in. I see that you are using JavaScript to load up data via an ADO connection (presumably on an IIS platform) - but I do not see where you are using Java
    Lee

  • SSL usage in JAVA servlet and JSP based web page

    I have several question to adjust security setting of my web page.
    First of all, When do we need SSL in web pages, are you advise to use this technique in medium level security needed web page which means no commercial data just information based..And Second question is if I need , How do I use SSL (secure socket layer) in my web page or what do I need to implement it in my JSP pages?
    My IDE is Websphere 5.0 and server is tomcat 4.1 and database server MS sql server 2000.
    Please don't answer my question with just giving URL's, try to explain me something detailed and supported with URL's and examples. I am just a beginner in security topics (specially SSL).
    If you help me, I am really appreciated.
    Thanks in advance.
    Ergin

    I have several question to adjust security setting of my web page.
    First of all, When do we need SSL in web pages, are you advise to use this technique in medium level security needed web page which means no commercial data just information based..And Second question is if I need , How do I use SSL (secure socket layer) in my web page or what do I need to implement it in my JSP pages?
    My IDE is Websphere 5.0 and server is tomcat 4.1 and database server MS sql server 2000.
    Please don't answer my question with just giving URL's, try to explain me something detailed and supported with URL's and examples. I am just a beginner in security topics (specially SSL).
    If you help me, I am really appreciated.
    Thanks in advance.
    Ergin

  • Java beans and JSP - Training

    Hi
    Does Sun or some other organization conduct any good workshops on Javabeans and jsp technology - hands on training like Microsoft products usually have. - Something like "devcon" ??
    Some people from our workplace have to have some urgent training on these technologies. Thanks in advance.
    Sue

    They sure do... http://courses.coreservlets.com/
    Don't really know how much or how often they offer these courses though.. looks like the guy might be free to do something soon. But to be honest, these courses basically run through the book. If your programmers have a decent background in Java, I'd say you could just as easily get away with getting some books (Profession JSP - Wrox press is amazing). I learned JSP in about 3 days of solid cramming.

  • How can i use JAVA BEAN and JSP?

    well, i have developed all my web apps by using pure JSP only, i know this sucks, but i dont know how to start on using beans... what directory should i put them into... etc... what are the good programminmg practices/standards/techniques when incorporating beans in jsp???

    Standards are pretty loose, but generally, Beans hold a lot of the backend logic for your JSP. This can include data validation before entering into the database, database inserts, queries, data manipulation. The JSP should really only contain code that will retrieve the data from the bean and appropriately output it.
    As far as using them, you can use the <jsp:useBean> tag in your JSP. As long as the bean is stored somewhere that your classpath points to, you're all set. From then on, you can use it like any other object in your JSP.

  • Problems with diacritics/accents and paging in web viewer

    There seem to be some problems in displaying diacritics/accents in the web viewer (CR4E 2 update 4).
    On viewing a multi-page report containing accents, when the report is paged forwards/backwards the accented characters are corrupted. This is easily reproduced by creating a report which contains nothing apart from text including accented characters.
    The characters render correctly when exported to pdf.
    Has anyone else had issues with accented characters?

    Dealing with multiple MobileMe addresses (aliases) is somewhat different than with having multiple email addresses and aliases with other accounts. The SMTP for MobileMe will not accept sending with non-MobileMe addresses. See:
    http://support.apple.com/kb/HT3379
    and
    http://docs.info.apple.com/article.html?path=MobileMe/Help/en/mm6b1a3de6.html
    The next link covers what you have found for having comma separated multiple email addresses in the setup for other accounts:
    http://support.apple.com/kb/TA23485
    Ernie

  • Problem with java look and feel

    Hi! This is my first time posting here. Do apologize me if I am not familiar with the regulations here. Thanks!
    Currently, I am developing a project using NetBeans IDE. It is using RMI, and some basic UI. I am facing the following error when I tried applying the java look and feel code. Please see below for the code used and the error message.
    try {   UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
    } catch (Exception e) { }
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.plaf.ColorUIResource cannot be cast to java.util.List
    at javax.swing.plaf.metal.MetalUtils.drawGradient(MetalUtils.java:196)
    at javax.swing.plaf.metal.MetalInternalFrameTitlePane.paintComponent(MetalInternalFrameTitlePane.java:384)
    at javax.swing.JComponent.paint(JComponent.java:1027)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paint(JComponent.java:1036)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
    at javax.swing.JComponent.paintChildren(JComponent.java:864)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5129)
    at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
    at javax.swing.JComponent.paint(JComponent.java:1013)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
    at java.awt.Container.paint(Container.java:1797)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:734)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Java Result: 1

    Thanks for everyone's help!
    Below is the executable code generated using NetBeans which is enough to generate the error message. Sometimes you can get the error message just by running the program. Sometimes the error will occur when you go into the Menu and click on Item.
    * NewJFrame.java
    * Created on January 8, 2008, 1:11 PM
    package client;
    import javax.swing.UIManager;
    * @author  Yang
    public class NewJFrame extends javax.swing.JFrame {
        /** Creates new form NewJFrame */
        public NewJFrame() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">                         
        private void initComponents() {
            jDesktopPane1 = new javax.swing.JDesktopPane();
            jInternalFrame1 = new javax.swing.JInternalFrame();
            jMenuBar1 = new javax.swing.JMenuBar();
            jMenu1 = new javax.swing.JMenu();
            jMenuItem1 = new javax.swing.JMenuItem();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            javax.swing.GroupLayout jInternalFrame1Layout = new javax.swing.GroupLayout(jInternalFrame1.getContentPane());
            jInternalFrame1.getContentPane().setLayout(jInternalFrame1Layout);
            jInternalFrame1Layout.setHorizontalGroup(
                jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 190, Short.MAX_VALUE)
            jInternalFrame1Layout.setVerticalGroup(
                jInternalFrame1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 95, Short.MAX_VALUE)
            jInternalFrame1.setBounds(80, 40, 200, 130);
            jDesktopPane1.add(jInternalFrame1, javax.swing.JLayeredPane.DEFAULT_LAYER);
            jMenu1.setText("Menu");
            jMenuItem1.setText("Item");
            jMenuItem1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jMenuItem1ActionPerformed(evt);
            jMenu1.add(jMenuItem1);
            jMenuBar1.add(jMenu1);
            setJMenuBar(jMenuBar1);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 484, Short.MAX_VALUE)
                    .addGap(20, 20, 20))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jDesktopPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 279, Short.MAX_VALUE)
            pack();
        }// </editor-fold>                       
        private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {                                          
    // TODO add your handling code here:
            jInternalFrame1.setVisible(true);
         * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            } catch (Exception e) {
                e.printStackTrace();
        // Variables declaration - do not modify                    
        private javax.swing.JDesktopPane jDesktopPane1;
        private javax.swing.JInternalFrame jInternalFrame1;
        private javax.swing.JMenu jMenu1;
        private javax.swing.JMenuBar jMenuBar1;
        private javax.swing.JMenuItem jMenuItem1;
        // End of variables declaration                  
    }Edited by: Boxie on Jan 7, 2008 11:23 PM

  • Need help with Java Beans and PDA

    How can I get Java Bean applets to work on a PDA, with either Palm or Pocket PC?

    first hit on google
    thankyou for using the georgemc google proxy

Maybe you are looking for

  • P2055dn no longer connects via wireless router

    I recently replaced my wireless router, an ancient Airport Extreme, with a Linksys WRT120N, not exactly state of the art but still an improvement. At first I couldn't connect to my p2055dn, which I plugged into the router. It no longer showed up as a

  • Exchange 2010 and Synchronizer Version 14.0.7108 (Sync Errors with Outlook and ActiveSync)

    I have a user getting multiple emails (10-20) every day pertaining to Synchronizer Version 14.0.6109 Here is a sample: 11:09:31 Synchronizer Version 14.0.7108 11:09:31 Synchronizing Mailbox 'xxxxxxx' 11:09:33 Synchronizing server changes in folder 'z

  • Extract email address from html

    Hi, I am trying to extract "email address"  from an html output query. How would I do that? I am on CF9. example: Query col1: <html><head></head><body>today they emailed about it from (mailto:[email protected]) ...hello there and here</body></html>

  • Assigning Complext XML as DataProvider to Flex Tree

    I have complex XML structure to fed as dataprovider for FlexTree. Wanted to know how can i specify the grouping.My sample XML structure looks like this -> <root>      <Group>           <name>           <size>           <location>           <children>

  • Woa! with Internet Explorer

    Hi! Have designed a new page for my website called photoshop tutorials and have checked it in Dreamweaver CS3 but no issues have come up, so I uploaded it on to the internet. When I checked it on internet explorer, the intro which is floated left, is