Import a gui into a normal class

ok well i am working on a project and for purposes of structured programming i am being asked by my people to import the gui into another class and in that other class i am supposed to define the event handler methods of my gui. i've never seen anything like it so could someone please show me an example plz
import GUI.gui;
// theotherclass.class
gui mygui = new gui();
// now how do i define the event handler functions for mygui from here?
// is that even possible ?
thanks for your help

you cannot import gui . u can only make instance of GUI class the separation between GUI and another tasks it important , like in your case .
suppose you have Applet
public class WhiteBoard extends JApplet which has JButton and another components , ( static member )
and has an instance of GUI class
ShapeCanvas sc=new ShapeCanvas();
public class ShapeCanvas extends JPanel
                     implements ItemListener,ActionListener, MouseListener, MouseMotionListenerand every JButton component ( in applet class ) has an addActionListener for this instance , or you can in GUI Class to call static members in Applet class and addActionListener(this) for them

Similar Messages

  • I'm getting a 'The Management Pack element is not declared' error when trying to import CSV data into my *extended* WindowsComputer class

    Background:
    I have a class called SUS_WindowsComputerMP, that is an extension of the Microsoft class, Microsoft.Windows.Computer
    I'm trying to import CSV data into this extended class and to the base class as well.
    Question:
    What am I doing wrong? I have a feeling that the Import CSV Format file is different for importing data into *extended* classes like mine, because the XML structure below would work for non-extended classes.
    "...Creating new CSVImporter
    Data Filename: D:\Peter\CMDB II\Exported MPs\TestMPs\SUS_WindowsComputer.csv
    Format Filename: D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml
    Validating against XSD schema...
    The 'ManagementPack' element is not declared.
    Validation completed.
    Format file D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml contains an invalid root element. Expected: root node with name \"CSVImportFormat\"
    Could not initialize a Management Object Creator from format file D:\Peter\CMDB II\Exported MPs\SUS_WindowsComputerMP.xml. Import thread exiting.
    My import format XML is this:
    <CSVImportFormat>
    <Class Type="ClassExtension_a3ae3e0f_d578_43dc_aa3e_9037a094763c" >
    <Property ID="WindowsServerID" />
    <Property ID="PrincipalName" />
    <Property ID="NetbiosComputerName" />
    <Property ID="IPAddress" />
    <Property ID="NetbiosDomainName" />
    <Property ID="DNSName" />
    <Property ID="OSVersionDisplayName" />
    <Property ID="SerialNo" />
    <Property ID="ServerDescription" />
    <Property ID="AssetTagNo" />
    <Property ID="ServerNameRow" />
    <Property ID="ChassisType" />
    <Property ID="InstallDate" />
    <Property ID="IsVirtualMachine" />
    <Property ID="BusinessUnitCustomersEnum" />
    <Property ID="RegionLocationEnum" />
    <Property ID="OtherFunctionRoleEnum" />
    <Property ID="ProductTypeEnum" />
    <Property ID="ObjectStatus" />
    <Property ID="AssetStatus" />
    <Property ID="CriticalityEnum" />
    <Property ID="EnvironmentEnum" />
    <Property ID="CostCodeClassEnum" />
    <Property ID="DataClassificationEnum" />
    <Property ID="Manufacturer" />
    </Class>
    </CSVImportFormat>

    Hello,
    Can anyone please help me out with this weird issue.
    thanks,
    orton

  • I have been trying to import VHS video into iMovie via a Hollywood Dazzle bridge.  Did not have trouble until I upgraded to mavericks.  I have a mac book pro, 10.9.1, iMovie 10.0.2.  Says it is recording, but when I go to check, it says the file is empty.

    I have been trying import VHS video into iMovie via a Hollywood Dazzle bridge.  I have been successful doing this in the past, but now it is not working.  I have a mac book pro, 10.9.1, (mavericks), iMovie 10.0.2.  Everything in iMovie looks like it is working.  It reads "recording" in the upper left hand corner of the pane while the video is playing.  When I stop the process to check on my clip it says that the file is empty.  The only thing that has changed since I did it successfully is that I upgraded to mavericks from whatever I had previously.  My system is about one year old.  Any suggestions?

    Hey, Clinton,
         Thanks for your help!  I was able to go to iMovie 9.0.9 and import video.  I was still curious as to why it didn't work in version 10.0.2, so I contacted Apple tech support.  They were't sure at first as to why it wouldn't work, so they had me delete iMovie 10.0.2 and then re-install it just to see if something had gone wrong when it upgraded.  That didn't change anything.  In the end, they determined that 10.0.2 doesn't support the Hollywood Dazzle DV bridge.  But I have a workaround path from them that I will share so that it's possible to import to 9.0.9, then move it to 10.0.2. 
         1.  Open iMovie 9 (finder/applications/iMovie 9.0.9
         2.  Import from Dazzle Bridge to iMovie 9, note which event you are importing the clips into
         3.  Close iMovie 9
         4.  Open iMovie 10 (probably in the dock)
         5.  File/Import Media...navigate to home(this was my name, on the left side of iMovie, under Favorites)/Movies/iMovie events.  Find the event folder that contains your Dazzle clips (tip-try sorting by date modified to look at recent events.) 
         6.  Select the clips and import.  Click the blue "Import Selected" button on the bottom right.
    You may get a message that some files cannot be imported.  Click continue import.  It's a little glitchy.  It imports your clip, and also makes a copy of it, too.  On the copy, the audio is normal, but the video is choppy.  In any case, you would delete the copy, anyway.
    Hope this additional information helps somebody else.  Thanks again, Clinton for helping me!

  • In address book how do I move all cards from my 'last import' smart group into a new group?

    In Address Book, how do I move all cards from my 'last import' smart group into a new group that I will create? So far I am not being allowed to Edit Smart Group!
    Thank you x

    Simon
    You’re going to have a very big problem and very soon. These missing pics are the beginning of trouble.
    the total size of all my folders on my 60gb internal drive is 46.5 gb, yet only 1.9 gb is available,
    OS X needs about 10 gigs of free space on the hard drive for normal OS operations such as virtual memory and temporary files. Without this space the machine slows down as the OS hunts for free space, files become fragmented and applications begin to crash. The risk of data corruption increases exponentially.
    You must, as a matter of urgency, make space on the drive. I cannot stress this enough.
    You may be able to recover the pics from your camera card using an app such as MediaRecover
    Regards
    TD

  • Can't import ical dates into iphoto calendar

    Hi all,
    I'm trying to make an iphoto calendar for a friend and I'm running into a frustrating problelm. My friend emailed me an ical birthday calendar which he would like to have included in the iphoto calendar. I imported the ical calendar into my own ical as a new calendar. I have created my calendar in iphoto but I cannot import these dates into it. When I go to settings and click the calendar tab I am given the option of which ical calendars I would like to import to my calendar. I see two, one is my own normal calendar and the other is the birthday calendar sent to me by my friend. I check the birthday calendar and then click ok and ical appears to be importing the dates but when I look at my calendar the dates have not imported. If I try importing my normal calendar I have no problem. What's going on here??? Please help I am getting really frustrated.

    There are many video formats. iPhoto can't read all of them; in fact, it can't read most of them. Here's something that can:
    VideoLAN - Download official VLC media player for Mac OS X
    On the other hand, the videos are just files. You can copy them anywhere you want in the Finder.

  • Difference between abstract class and the normal class

    Hi...........
    can anyone tell me use of abstract class instead of normal class
    The main doubt for me is...
    1.why we are defining the abstract method in a abstract class and then implementing that in to the normal class.instead of that we can straight way create and implement the method in normal class right...../

    Class vs. interface
    Some say you should define all classes in terms of interfaces, but I think recommendation seems a bit extreme. I use interfaces when I see that something in my design will change frequently.
    For example, the Strategy pattern lets you swap new algorithms and processes into your program without altering the objects that use them. A media player might know how to play CDs, MP3s, and wav files. Of course, you don't want to hardcode those playback algorithms into the player; that will make it difficult to add a new format like AVI. Furthermore, your code will be littered with useless case statements. And to add insult to injury, you will need to update those case statements each time you add a new algorithm. All in all, this is not a very object-oriented way to program.
    With the Strategy pattern, you can simply encapsulate the algorithm behind an object. If you do that, you can provide new media plug-ins at any time. Let's call the plug-in class MediaStrategy. That object would have one method: playStream(Stream s). So to add a new algorithm, we simply extend our algorithm class. Now, when the program encounters the new media type, it simply delegates the playing of the stream to our media strategy. Of course, you'll need some plumbing to properly instantiate the algorithm strategies you will need.
    This is an excellent place to use an interface. We've used the Strategy pattern, which clearly indicates a place in the design that will change. Thus, you should define the strategy as an interface. You should generally favor interfaces over inheritance when you want an object to have a certain type; in this case, MediaStrategy. Relying on inheritance for type identity is dangerous; it locks you into a particular inheritance hierarchy. Java doesn't allow multiple inheritance, so you can't extend something that gives you a useful implementation or more type identity.
    Interface vs. abstract class
    Choosing interfaces and abstract classes is not an either/or proposition. If you need to change your design, make it an interface. However, you may have abstract classes that provide some default behavior. Abstract classes are excellent candidates inside of application frameworks.
    Abstract classes let you define some behaviors; they force your subclasses to provide others. For example, if you have an application framework, an abstract class may provide default services such as event and message handling. Those services allow your application to plug in to your application framework. However, there is some application-specific functionality that only your application can perform. Such functionality might include startup and shutdown tasks, which are often application-dependent. So instead of trying to define that behavior itself, the abstract base class can declare abstract shutdown and startup methods. The base class knows that it needs those methods, but an abstract class lets your class admit that it doesn't know how to perform those actions; it only knows that it must initiate the actions. When it is time to start up, the abstract class can call the startup method. When the base class calls this method, Java calls the method defined by the child class.

  • TS1387 I am importing CD's into iTunes.  There were 3 different selection for the CD I put in and I accidently selected the wrong one, Now how do I change it?  It seems to only recognize it as the wrong CD now.

    I am importing CD's into iTunes.  The CD that I put in had the option of 3 different CD's and I accidentally chose the wrong CD name.  Is there a way to change it?  It now seems to only recognize that CD as the wrong one.

    Trevor,
    When you say your superdrive rips, the import speeds are typically around 20x, what encoding method and bit rate are you using ?
    I imported another CD and watched for what import speed numbers were displayed. Routinely, they hovered around 8x and sometimes up to 12 or 13x, but never higher. I was told by someone at our local user's group meeting that ripping at AAC 192kbps was a double-pass, I think that was the words they used, and therefore slower. ( Many members thought 7 minutes to rip was typical ) I'm not so sure if that means the drive will only spin at half it's rated max speed ? Anyway, I walked over to my son's PC with the CD and ripped it at AAC 192kbps to his iTunes library. The numbers I saw were from 18x to frequently 23, 24 and sometimes briefly to about 26x. His drive has a max of 40x. By my reasoning, anything that would cause iTunes to rip this CD at a slower speed, whether due to the encoding rate or the CD's surface condition, should affect both computers equally, yes ? Yet the drive on the PC performed on average at twice the rate of the iMac. I think it's safe to say the rip speed is comfortably within the operating margins of both drives.
    I'm not yet fully convinced this is normal for an iMac. My CD are in excellent shape. I'm the only one who uses them and I handle them with about as much care as the old audiofiles used to when they handled their vinyl LPs ( well, at least not as far as wearing cotton gloves and sweeping the dust off ). Most of them have absolutely no visible scratches or oily finger prints on their surfaces. I might experiment and see what rates I get if I use MP3 or a lower bit rate for AAC.
    Bill

  • Using normal classes in a JSP

    I have written a library of classes for use in a standard application. In a completely separate project I need to use these classes in a JSP page. Under %tomcat/webapps/myproject is the JSP file. Where do I place the "normal" class files and how do I reference them in the JSP page? Do I need to import them or add them to the classpath and should they be pre-compiled ?
    All help most appreciated
    Thanks
    Bob

    Where do I place the "normal" class files and how do
    I reference them in the JSP page?Just like you use any other class in a JSP.
    Do I need to import them or add them to the classpath and should they be pre-compiled ?Yes, yes and yes. The first thing is something you need to do for your stuff to compile (technically, you don't need to do it, but it's better than always using the fully qualified class names in the code). The second is something the servlet container will do for you when you deploy your WAR. The this is something you need to do with classes anyway. You don't need to do it for JSPs because the container will do it later, but that's all the difference there is.

  • When I import a folder into my library, music starts playing and I can't stop it.

    So, I haven't used iTunes in years.
    I'm just wondering if this is the same for everyone, of if I've just done something wrong.
    Brand new install of the latest version of iTunes (11.3.1) - Open it up, use the "Import folder" option to import a folder into my library.
    It's a large (over 200gb) folder.
    As it's importing, for some reason, iTunes starts to play the first few seconds of each album that gets imported.
    But, because the "Importing.." dialogue window is open, I can't hit "pause" or "stop".
    So, my computer is just sitting here playing the first few seconds of many many songs whilst importing. I can turn down the volume to stop it, but I'm just wondering -
    Is this normal? Seems a little odd and strange.

    Generally setting a common Album Artist will fix things.
    For deeper problems see Grouping tracks into albums.
    tt2

  • Help! How to read a .txt file into a Java class and make 2D array?

    Hi guys,
    Im a newbie with arrays, just started really using them.. please bear with me if I don't seem to understand much..
    I have a .txt file that contains either a square or rectangle (random width and length).. How can I read each line into a Java class into a 2D array with rows and columns?

    Example :
    import javax.swing.*;
    import java.util.ArrayList;
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.File;
    public class ReadInto2DArrayExample {
        public static void main(String[] args) {
            ArrayList array = new ArrayList();
            char [][] twoDimesionArray = null;
            try
                JFileChooser fileChooser = new JFileChooser();
                if (fileChooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION)
                    File file = fileChooser.getSelectedFile();
                    BufferedReader reader = new BufferedReader(new FileReader(file));
                    String data;
                    //Read from file
                    while ((data = reader.readLine()) != null)
                        //Convert data to char array and add into array
                        array.add(data.toCharArray());
                    reader.close();
                    //Creating a 2D char array base on the array size
                    twoDimesionArray = new char [array.size()][];
                    //Convert array from ArrayList to 2D array
                    for (int i = 0; i < array.size(); i++)
                        twoDimesionArray[i] = (char [])array.get(i);
                    //Test the 2D Array
                    for (int y = 0; y < twoDimesionArray.length; y++)
                        char [] temp = twoDimesionArray[y];
                        for (int x = 0; x < temp.length; x ++ )
                            System.out.print(temp[x]);
                        System.out.println("");
            catch (Exception ex)
                ex.printStackTrace();
    }

  • How to import csv data into Oracle using c#

    Hello,
    How to import csv data into Oracle using c #. Where data to be imported 3GB in size and number of rows 7512263. I've managed to import csv data into Oracle, but the time it takes about 1 hour. How to speed up the time it takes to import csv data into oracle. Thank you.
    This is my code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Diagnostics;
    using System.Threading;
    using System.Text.RegularExpressions;
    using System.IO;
    using FileHelpers;
    using System.Data.OracleClient;
    namespace sqlloader
    class Program
    static void Main(string[] args)
    int jum;
    int i;
    bool isFirstLine = false;
    FileHelperEngine engine = new FileHelperEngine(typeof(XL_XDR));
    //Connect To Database
    string constr = "Data Source=(DESCRIPTION=(ADDRESS_LIST="
    + "(ADDRESS=(PROTOCOL=TCP)(HOST= pt-9a84825594af )(PORT=1521 )))"
    + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=o11g)));"
    + "User Id=xl;Password=rahasia;";
    OracleConnection con = new OracleConnection(constr);
    con.Open();
    // To Read Use:
    XL_XDR[] res = engine.ReadFile("DataOut.csv") as XL_XDR[];
    jum = CountLinesInFile("DataOut.csv");
    FileInfo f2 = new FileInfo("DataOut.csv");
    long s2 = f2.Length;
    int jmlRecord = jum - 1;
    for (i = 0; i < jum; i++)
    ShowPercentProgress("Processing...", i, jum);
    Thread.Sleep(100);
    if (isFirstLine == false)
    isFirstLine = true;
    else
    string sql = "INSERT INTO XL_XDR (XDR_ID, XDR_TYPE, SESSION_START_TIME, SESSION_END_TIME, SESSION_LAST_UPDATE_TIME, " +
    "SESSION_FLAG, VERSION, CONNECTION_ROW_COUNT, ERROR_CODE, METHOD, HOST_LEN, HOST, URL_LEN, URL, CONNECTION_START_TIME, " +
    "CONNECTION_LAST_UPDATE_TIME, CONNECTION_FLAG, CONNECTION_ID, TOTAL_EVENT_COUNT, TUNNEL_PAIR_ID, RESPONSIVENESS_TYPE, " +
    "CLIENT_PORT, PAYLOAD_TYPE, VIRTUAL_TYPE, VID_CLIENT, VID_SERVER, CLIENT_ADDR, SERVER_ADDR, CLIENT_TUNNEL_ADDR, " +
    "SERVER_TUNNEL_ADDR, ERROR_CODE_2, IPID, C2S_PKTS, C2S_OCTETS, S2C_PKTS, S2C_OCTETS, NUM_SUCC_TRANS, CONNECT_TIME, " +
    "TOTAL_RESP, TIMEOUTS, RETRIES, RAI, TCP_SYNS, TCP_SYN_ACKS, TCP_SYN_RESETS, TCP_SYN_FINS, EVENT_TYPE, FLAGS, TIME_STAMP, " +
    "EVENT_ID, EVENT_CODE) VALUES (" +
    "'" + res.XDR_ID + "', '" + res[i].XDR_TYPE + "', '" + res[i].SESSION_START_TIME + "', '" + res[i].SESSION_END_TIME + "', " +
    "'" + res[i].SESSION_LAST_UPDATE_TIME + "', '" + res[i].SESSION_FLAG + "', '" + res[i].VERSION + "', '" + res[i].CONNECTION_ROW_COUNT + "', " +
    "'" + res[i].ERROR_CODE + "', '" + res[i].METHOD + "', '" + res[i].HOST_LEN + "', '" + res[i].HOST + "', " +
    "'" + res[i].URL_LEN + "', '" + res[i].URL + "', '" + res[i].CONNECTION_START_TIME + "', '" + res[i].CONNECTION_LAST_UPDATE_TIME + "', " +
    "'" + res[i].CONNECTION_FLAG + "', '" + res[i].CONNECTION_ID + "', '" + res[i].TOTAL_EVENT_COUNT + "', '" + res[i].TUNNEL_PAIR_ID + "', " +
    "'" + res[i].RESPONSIVENESS_TYPE + "', '" + res[i].CLIENT_PORT + "', '" + res[i].PAYLOAD_TYPE + "', '" + res[i].VIRTUAL_TYPE + "', " +
    "'" + res[i].VID_CLIENT + "', '" + res[i].VID_SERVER + "', '" + res[i].CLIENT_ADDR + "', '" + res[i].SERVER_ADDR + "', " +
    "'" + res[i].CLIENT_TUNNEL_ADDR + "', '" + res[i].SERVER_TUNNEL_ADDR + "', '" + res[i].ERROR_CODE_2 + "', '" + res[i].IPID + "', " +
    "'" + res[i].C2S_PKTS + "', '" + res[i].C2S_OCTETS + "', '" + res[i].S2C_PKTS + "', '" + res[i].S2C_OCTETS + "', " +
    "'" + res[i].NUM_SUCC_TRANS + "', '" + res[i].CONNECT_TIME + "', '" + res[i].TOTAL_RESP + "', '" + res[i].TIMEOUTS + "', " +
    "'" + res[i].RETRIES + "', '" + res[i].RAI + "', '" + res[i].TCP_SYNS + "', '" + res[i].TCP_SYN_ACKS + "', " +
    "'" + res[i].TCP_SYN_RESETS + "', '" + res[i].TCP_SYN_FINS + "', '" + res[i].EVENT_TYPE + "', '" + res[i].FLAGS + "', " +
    "'" + res[i].TIME_STAMP + "', '" + res[i].EVENT_ID + "', '" + res[i].EVENT_CODE + "')";
    OracleCommand command = new OracleCommand(sql, con);
    command.ExecuteNonQuery();
    Console.WriteLine("Successfully Inserted");
    Console.WriteLine();
    Console.WriteLine("Number of Row Data: " + jmlRecord.ToString());
    Console.WriteLine();
    Console.WriteLine("The size of {0} is {1} bytes.", f2.Name, f2.Length);
    con.Close();
    static void ShowPercentProgress(string message, int currElementIndex, int totalElementCount)
    if (currElementIndex < 0 || currElementIndex >= totalElementCount)
    throw new InvalidOperationException("currElement out of range");
    int percent = (100 * (currElementIndex + 1)) / totalElementCount;
    Console.Write("\r{0}{1}% complete", message, percent);
    if (currElementIndex == totalElementCount - 1)
    Console.WriteLine(Environment.NewLine);
    static int CountLinesInFile(string f)
    int count = 0;
    using (StreamReader r = new StreamReader(f))
    string line;
    while ((line = r.ReadLine()) != null)
    count++;
    return count;
    [DelimitedRecord(",")]
    public class XL_XDR
    public string XDR_ID;
    public string XDR_TYPE;
    public string SESSION_START_TIME;
    public string SESSION_END_TIME;
    public string SESSION_LAST_UPDATE_TIME;
    public string SESSION_FLAG;
    public string VERSION;
    public string CONNECTION_ROW_COUNT;
    public string ERROR_CODE;
    public string METHOD;
    public string HOST_LEN;
    public string HOST;
    public string URL_LEN;
    public string URL;
    public string CONNECTION_START_TIME;
    public string CONNECTION_LAST_UPDATE_TIME;
    public string CONNECTION_FLAG;
    public string CONNECTION_ID;
    public string TOTAL_EVENT_COUNT;
    public string TUNNEL_PAIR_ID;
    public string RESPONSIVENESS_TYPE;
    public string CLIENT_PORT;
    public string PAYLOAD_TYPE;
    public string VIRTUAL_TYPE;
    public string VID_CLIENT;
    public string VID_SERVER;
    public string CLIENT_ADDR;
    public string SERVER_ADDR;
    public string CLIENT_TUNNEL_ADDR;
    public string SERVER_TUNNEL_ADDR;
    public string ERROR_CODE_2;
    public string IPID;
    public string C2S_PKTS;
    public string C2S_OCTETS;
    public string S2C_PKTS;
    public string S2C_OCTETS;
    public string NUM_SUCC_TRANS;
    public string CONNECT_TIME;
    public string TOTAL_RESP;
    public string TIMEOUTS;
    public string RETRIES;
    public string RAI;
    public string TCP_SYNS;
    public string TCP_SYN_ACKS;
    public string TCP_SYN_RESETS;
    public string TCP_SYN_FINS;
    public string EVENT_TYPE;
    public string FLAGS;
    public string TIME_STAMP;
    public string EVENT_ID;
    public string EVENT_CODE;
    I hope someone can give me a solution. Thanks

    The fastest way is to use external tables or sql loader (sqlldr). (If you use external tables or sql loader, you don't use C# at all).

  • How to import Custom idoc into  IR?

    I have a custom idoc and i need to map it with the receiver format after importing into IR . Please let me know the sequence of steps to import custom idoc into  Integration repository?
    I think I need to first import into IDX2 and then import into repository. Am I correct?

    Hi Prateek,
    thanks for the information .The normal standard idocs we import by searching the idoc eg- for importing matmas we type mat and we search it, since it is a standard idoc it will be available in the list (after selecting the chek box "Import of idoc or rfc interfaces from sap system permitted").
    But my question is how we import custom idoc as they wont be present in the list?

  • Import excel graphs into illustrator

    When I try to import the graphs from excel into Illustrator the text converts into a gibberish. Is there any proper way to import excel graphs into illustrator?

    Obviously it helps if you have got the same fonts in the Excel and the Illie files. But I believe that this is not the whole answer – or at least there is a nice difference between gibberish and utter gibberish.
    For example if you try to open a .docx  or .xlsx file in TextEdit you will get totally mind-boggling utter gibberish, whereas .doc and .xls files usually behave more or less normally even if there is a font conflict.
    Now Auntie Illie is very fussy about her fonts, so do what dandidotcom says first and if you still get utter gibberish even with the right fonts, try downsaving the Excel file to .xls.

  • Import J2ME source into Java ME SDK 3.0

    Hi,
    Im new to Java ME.
    The internet has lots of J2ME examples for games(but none for Java ME SDK 3.0), and im trying to import these into Java ME SDK 3.0 . I click on new project and select 'Import Wireless Toolkit Project', but it doesn't detect a project. Ive tried this with several popular J2ME samples.
    Anyone know how to do this right, so I can import J2ME projects into Java ME SDK 3.0 completely, with classes, packages and resources intact?
    I tried making a new project, and then copying the files into the relevant directories too. All the classes show up in the SDK, but on running the program no app is displayed in the emulator.

    Don't double post. I've removed the thread you started in the Java Programming forum with the identically same question.
    db

  • How do I import Captivate 4 into Flash CS5?

    I am not a Flash expert obviously. I am trying to import my captivates into Flash and get an error message that the file was not imported because it could not be read. Can anyone help?

    Hello,
    Normally you can export the Captivate file to Flash from the File menu, but I'm not sure it will work between 2 different versions: 4 for Captivate and CS5 for Flash?
    Lilybiri

Maybe you are looking for

  • Balance not carried forward when changing fiscal year in Report Painters

    Hello guys, Im using report painter (FGI3) to create my financial statement report, when i change to fiscal year 2009, the balance in my balance sheet is not carried forward to year 2009, its only shows the the movement. Assume, the total asset in de

  • Center text in photobook

    how do I center text in a photobook? thank you

  • Managing multiple accounts

    I am about to need a second iTunes account for my work. What info do I really need to know about managing 2 accounts? RE: using both accounts on 1 computer (does it affect either library?)? authorizing my coworkers' computers? do I need a separate iP

  • Mac 10.8.x Latest Java Update Breaks SVG

    On the latest Mac version, our Desktop application that utilizes vector graphics is suddenly broken. The SVG images are no longer appearing/displaying on the screen like normal. This is only with Mac 10.8.x and the latest release of Java. Any suggest

  • Cartesian Product with @SumRange

    Hi, I'm trying to calculata a sumRange of an Account on two separate Dimension,on Planning 11.1.2.3 @sumRange("Account"->"ToTal",@Range("Dimension1.1"->"Dimension2.3","Dimension1.3"->"Dimnension2.5")); the results is not what i was expecting, The tar