J2me with swing supprt

Hi
In CDC whitepaper, it is mentioned that Swing is supported as optional package.
And AGUI is supporting that. Does any one know, currently it is supported with CDC with personal profile?
Is currently AGUI package is available?
Thanks
bee

Savaje,
Has implement the JSR 209 in their new phone:
https://www.savaje.com/3GSM/savaje_ds_2006.pdf
You can also use their extension to the Netbeans Mobility Pack to develop apps for it.
Bruce

Similar Messages

  • Can I build a GUI application with SWING only without [import java.awt.*;]

    I have seen several threads (in forums), books and tutorials about SWING and I see that they all mix SWING with AWT (I mean they import both Swing and AWT in their code).
    The conclusion that comes out is:
    It is good to learn about SWING and forget AWT as it won't be supported later. I have decided to do so, and I never include <<import java.awt.*;>> in my code.
    But I see that you cannot do much without <<import java.awt.*;>>. For example this line which changes the background color:
    <<frame.getContentPane().setBackground(Color.red)>>
    works only with <<import java.awt.*;>>. I have seen that codes in this and other forums import awt to change the background. Why is that?
    After all, I wonder, what can I do;
    My question is, can I change the background (and of course do all other things listener, buttons etc) without using <<import java.awt.*;>>.
    I would like to avoid using <<import java.awt.*;>> and using awt since my program will not work later.
    In addition, I believe there is no point to learn awt, which later will not exist.
    I know, I must have misunderstood something. I would appreceate it very much, if anyone could give me even a short answer.
    Thank you in advance,
    JMelsi

    Since swing is a layer on top of awt, AWT will exist for as long as swing does.
    If sun does ever remove AWT they will have to replace it something else swing can layer on to and you will probably only have to replace your import statements.
    The main difference is the way there drawn to the screen.
    You can do custom drawing on swing components but you can't on AWT.
    If your using a desktop PC system it's probably best to use swing just in case you wish to do some custom drawing.
    awt uses less memory than swing and is faster but swing can be extended. awt comes only as standard.
    Say for example you wish to implement a JButton with a ProgressBar below the button text, this can be done with swing!

  • Using Report tool with Swing Application

    I'd like to use a reporting tool (Crystal Reports or anything else) with Swing application. Could anyone help me?

    You have to pass the values are parameters to the Oracle Reports report. Take a look at this: http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    Also you can search this forum for "Oracle Reports"
    Mike

  • Integrating crystal report with swing application

    Hi,
    Any body knows how to integrate crystal reports with swings?
    I'm posting this after a painful search in the net/forum.Any idea
    will be greatly apprecited.
    thanx.
    regards,
    jmos

    The best place to pick up sample code is straight from the horses mouth. [url http://www.businessobjects.com/products/dev_zone/java/default.asp?ref=devzone_main] Crystal java zone

  • Reversing with swing? Help!

    Alright, before you guys flip out and say post it to the swing forum, why does the swing forum say read only? Now I have searched the forum but cannot find anything that deals with swing and the kind I am doing. So if you can provide some advice or some help, it would be greatly appreciated. This is my last hurdle to tackle in my school project.
    I tried a StringBuffer approach but it kept giving me an error saying it would not work with JTextArea? Maybe the code was wrong?
    This needs to take the text on the screen which I have and post it reversed when the "Reverse" button is clicked... I have been searching the web and these forums and all the different reverse methods and theories are confusing me, I try to copy them and get them to work but I just keep receiving errors. What is the best way to do this with using GUI?
    else if (actionCommand.equals("Reverse"))
              reverseMemo = theText.getText();
    /*Is this where I would put the reverse code?*/          
    theText.setText(reverseMemo);
         }Thanks,
    Jess

    Just write a method to reverse the text
    read the string in reverse and start plugging the values into a string buffer (inside a loop of course)
    then display results:
    textfield.setText(stringbuffer.toString());
    This is my last hurdle to tackle in my school project.I highly doubt it.
    The fact you are asking this question shows me you did not learn anything about Java much less computer science. Your question has nothing to do with swing.

  • Can i use EJB with Swing?

    Hi,
    I am developing an application in which i am using the "Swing" for GUI.Can i use the "EJB" with swing?
    regards

    Hi,
    Sure you can. The earlier poster has said the same thing too. Just that hes made out like this is possible only in jboss. EJB is a distributed component framework and can support multiple types of clients. The client can be a servlet or jsp, another EJB or in your case a swing application. In fact many IDE's allow you to test your EJB called by generating an application client. You need to add a special application client deployment descriptor file ( atleast with weblogic) in order to do this.
    Hope this helps.
    cheers,
    vidyut
    http://www.bonanzasoft.com

  • J2me with mysql

    hello everyone,
    can we anyone help me with small example, how to connect j2me with mysql.

    Put all your Database transactions in server side, using Connection framework in J2ME, access that URL by your device. Here is a snap to access a URL to get the message returned by that URL.
    public String getMessage(String url)
         HttpConnection hc = (HttpConnection)Connector.open( url, Connector.READ_WRITE );
         hc.setRequestMethod( HttpConnection.POST );
         InputStream in=hc.openInputStream();
         DataInputStream dis=new DataInputStream(in);
         int ch;
         String msg="";
         while((ch=dis.read())!= -1)
              msg=""+msg+(char)ch;
         reutrn msg;
    }

  • How to link crystal report with swing

    I am developing applications in swing. I have done a report using crystal report.
    Now i don't know how to link it with swing. can anyone help me to solve this with some examles.
    thanx in advanz

    Hope these links are useful:
    http://www.must.de/default.html?Jareport.htm
    http://www.utdallas.edu/~pxm034000/files/integrating.html

  • Integrating flash with swings

    Hi,
    Im looking to integrate flash with swings. This is for a desktop application, not a web based application. I was looking for some help on this, if someone could help me with it.
    Regards,
    Ghost Rider

    Flash is proprietary technology and they don't play nice with others. Same reason why you can't load an MSWord doc in a Java GUI. If Flash WAS an open technology, then perhaps someone would/could build a plugin or some way to do it.

  • How use jdbc with swing ? i am new in this concept.

    hi
    freinds,
    i am new in java can any one give the example which explain the how to use jdbc with swing.
    thanks in advace.
    satish
    thanks.

    See here  >  http://support.apple.com/kb/HT4236
    More info in the User Guides for your Devices...

  • Do I need to make an applet with swing point to the JRE 1.4 plug-in?

    Do I need to make an applet with swing point to the JRE 1.4 plug-in? I mean, in 1.3.1 plug-in, if you did not run your code through the HTML converter, the applet would still use the browsers JRE (JVM). However, with 1.4.0, it seems that you don't need to. Is this correct?

    When you ran an applet that has been compiled under 1.4 and needs classes or methods from 1.4 with an old HTML file (presumedly with the <object> tag that still refers to JRE 1.3+), the browser is going to look at the <object> tag and see that at least JRE1.3.1 is needed to correctly run the applet and since 1.4, which is higher than 1.3+, is on the system, it ignorantly proceeds to load and run the applet. The problem that you're going to run into is when you deploy the applet on the web and your viewer only have JRE1.3+, your applet which really needs 1.4, will crap out....
    ;o)
    V.V.

  • Connect jasper report with swing

    hai
    can any one tell me how to connect jasper report with swing plz.
    Thanks in advance.

    Thanks for your reply
    i tried the code you gave. but i get following error during runtime
    java.lang.NoClassDefFoundError: org/apache/commons/javaflow/bytecode/Continuable
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:402)
         at Report.runReport(Report.java:35)
         at Report.main(Report.java:47)
    Exception in thread "main" & this is the code i used
    import java.sql.*;
    import net.sf.jasperreports.view.JasperViewer;
    import net.sf.jasperreports.engine.xml.JRXmlLoader;
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.design.JasperDesign;
    import net.sf.jasperreports.engine.JasperReport;
    import java.io.File;
    import java.io.OutputStream;
    public class Report {
         public static Connection connectDB() {
              Connection jdbcConnection = null;
              try {
                   Class.forName("com.mysql.jdbc.Driver");
                   jdbcConnection = DriverManager
                             .getConnection("jdbc:mysql://localhost/example?user=root&password=yspl");
              } catch (Exception ex) {
                   String connectMsg = "Could not connect to the database: "
                             + ex.getMessage() + " " + ex.getLocalizedMessage();
                   System.out.println(connectMsg);
              return jdbcConnection;
         public static void runReport() {
              try {
                   JasperDesign jasperDesign = JRXmlLoader
                             .load(new File("F:\\Reports\\testReport.jrxml"));
                   JasperReport jasperReport = JasperCompileManager
                             .compileReport(jasperDesign);
                   Connection jdbcConnection = connectDB();
                   JasperPrint jasperPrint = JasperFillManager.fillReport(
                             jasperReport, null, jdbcConnection);
                   JasperViewer.viewReport(jasperPrint);
              } catch (Exception ex) {
                   String connectMsg = "Could not create the report "
                             + ex.getMessage() + " " + ex.getLocalizedMessage();
                   System.out.println(connectMsg);
         public static void main(String[] args) {
              runReport();
    }why i occurs please tell me
    anticipating for your reply
    Thanks once again

  • JView with Swing

    it is possible to create a standalone file, that works with swing and it can take less than 0.5MB (JRE takes 9MB)

    What's jView?
    There's a JViewport() in the API but no JView?

  • Labyrinth with Swing

    Hello,
    how can I draw a Labyrinth with Swing?How can I make move Roboter in a Labyrinth with Swing?
    Thanks!

    Hi,
    this question is not specific to swing - how can you do it?- Nearly the same way, you would do it in AWT too, if you don't want to use one of the special packages for graphic output.
    Guess, your question is not about swing, but how to do 2D oder 3D Graphics and how to create a model which reflects the labyrinth and your robots.
    Take a look at 3D-Graphics package - it has all you need for modelling a 3D-virtual-world - it is fast enough for games, because it uses DirectX for output, but it is a little bit difficult to understand - you will have to invest some (i.e. much) time to understand the underlying concepts of this 3D-environment.
    greetings Marsian

  • Ajax with swing and multithreading

    i want to know ,can we use ajax with swing (multithreading)

    You have asked a question that is full of buzzwords that you obviously don't understand.
    The answer to your question is not going to help much.
    What are you really trying to do?

Maybe you are looking for

  • Error while invokinjg BPEL from Siebel CRM  SBL-EAI-04007

    Hi, I am getting the following error when we invoke a BPEL service from siebel CRM through its wsdl. The error message is ===================================================================================== Error invoking service 'ProcessAccountCrea

  • Intensity Pro output to Sony monitor problem

    I'm monitoring the output from FCP 6.0.2 (OSX 10.5.2) on a MacPro, but the picture has a blue/desaturated colour cast to it (I get the same cast when outputting from Color & After Effects through the Intensity Card). Outputting to a Sony PVM 1454 via

  • Corrupt disk label error when running explorer

    I am getting corrupt label error in one of the disks when running explorer on T5120 server. I observed this behaviour in /var/adm/messages.

  • A line in a header?

    I want to underline (the whole length of the page) my header, so it appears in every header. Any ideas? If I insert a line in the header, trying to stretch it makes it wander from the header box; thus, keeping it from repeating. Thanks!

  • Import data from a php5/mysql to office 365

    is there a way to import data from a deployed php5/mysql application to office 365 ??