Final Year Project, pls help!

About javacomm:
The javax.comm.properties file must be installed. If it is not, no ports will be found by the system.
What is the meaning of this sentence?
How can I install the file?
I cannot found ports in my system >_<
while(thePorts.hasMoreElements()){
the loop does not run.
Pls help!

That means you must copy the file to a certain directory. Read the documentation to find out which directory (and make sure you are reading the correct documentation, too).

Similar Messages

  • Final Year Project, pls help me! _

    Does anyone knows how to open the serial port in Palm for read/write?
    I have tried many times but always fail.
    Pls help! Urgent!

    Thank you very much!
    I found the KVM.prc, KVMutil.prc and the cldc API.
    Then I try to code a program like this:
    import java.io.*;
    import javax.microedition.io.*;
    import com.sun.kjava.*;
    class CommTest extends Spotlet
         OutputConnection oc=null;
         OutputStream dataOut=null;
         String strURL="comm:0";
    public static void main(String[] args){
    (new CommTest()).register(NO_EVENT_OPTIONS);
    public CommTest(){
    try{
              oc=(OutputConnection)Connector.open(strURL);
              oc.close();
         catch (Exception e){
                   System.err.println("Send data exception " + e);
    I tried to run this program, however, I got this:
    Send data exception javax.microedtion.io.ConnectionNotFoundException:
    The required protocol does not exist comm:0
    How can I solve this problem?

  • Final year project need help

    hi there
    i am doing an applet for my final year project. at the end of this project i have to end up with a simple uml drawing applet. i have done some coding but am way outa my league and now i am stuck. i have managed to draw lines and rectangles but have no idea how to make the lines attch to the rectangles or how to move a rectangle around the screenonce it has been drawn. my email address is [email protected] if you mail me i can give you my program and maybe you can help me

    You are right V.V, this applet is not finished yet, try this one,
    press the oval/rectangle/desic buttons and add shapes by clicking on an empty square, after adding some shapes press the line button, by clicking on 2 shapes you will add a line to connect them. you can drag the shapes and the lines will follow.
    Use double click for text. Drag the shape out of the screen and it will be deleted.
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class Flow extends Applet
         Button lineB = new Button("Line");
         Button rectB = new Button("Rect");
         Button ovalB = new Button("Oval");
         Button desiB = new Button("Desic");
         Button clirB = new Button("Clear");
         Label  typeL = new Label("             ");
         Dcanvas  canvas     = new Dcanvas();
    public void init()
         setLayout(new BorderLayout());
         add("Center",canvas);
         addButtons();
         resize(730,440);
    private void addButtons()
         lineB.addActionListener(new ButtonHandler());
         rectB.addActionListener(new ButtonHandler());
         ovalB.addActionListener(new ButtonHandler());
         desiB.addActionListener(new ButtonHandler());
         clirB.addActionListener(new ButtonHandler());
         Panel panel = new Panel();
         panel.add(lineB);
         panel.add(rectB);
         panel.add(ovalB);
         panel.add(desiB);
         panel.add(clirB);
         panel.add(typeL);
         add("North",panel);
    class ButtonHandler implements ActionListener
    public void actionPerformed(ActionEvent ev)
         String s = ev.getActionCommand();
         if(s.equals("Clear")) canvas.clear();
         if(s.equals("Line"))  canvas.setType(1);
         if(s.equals("Rect"))  canvas.setType(2);
         if(s.equals("Oval"))  canvas.setType(3);
         if(s.equals("Desic")) canvas.setType(4);
    public class Dcanvas extends Panel
         Vector    objects = new Vector();
         Vector    lines   = new Vector();
         TextField txt     = new TextField("");
         Mobject   rc,rl,rd;
         Mline     ln;
         boolean   rcd  = false;
         boolean   rcl  = false;
         boolean   rct  = false;
         Rectangle rp;
         Graphics2D G;
         int sx,sy,oi;
         int objectType = 0;     
         int maxV = 8;
         int maxH = 9;
         int sizeW = 80;
         int sizeH = 50;
    public Dcanvas()
         super();
         setLayout(null);
         addMouseListener(new MouseHandler());
         addMouseMotionListener(new MouseMotionHandler());
         setFont(new Font("",0,9));
         txt.setSize(114,23);
         txt.setFont(new Font("",0,15));
         txt.setBackground(new Color(192,220,192));
         add(txt);
         txt.setVisible(false);
         txt.addTextListener(new TextListener()     
         {     public void textValueChanged(TextEvent e)
                   rc.setText(txt.getText());     
                   repaint(rc.x,rc.y,rc.width,rc.height);
    public void clear()
         objects.removeAllElements();
         lines.removeAllElements();
         objectType = 0;
         typeL.setBackground(Color.white);
         typeL.setText("");
         txt.setVisible(false);
         repaint();
    public void setType(int i)
         if (rcl) repaint(rl.x,rl.y,rl.width+1,rl.height+1);
         objectType = i;
         typeL.setBackground(Color.pink);
         if (i == 1)     typeL.setText(" Lines");
         if (i == 2)     typeL.setText(" Rects");
         if (i == 3)     typeL.setText(" Ovals");
         if (i == 4)     typeL.setText(" Desic");
         rcl = false;
    public void dragIt(int X, int Y)
         repaint(rc.x,rc.y,rc.width,rc.height);
         rc.x = rc.x + X - sx;
         rc.y = rc.y + Y - sy;
         rc.setPaintArea();
         sx   = X;
         sy   = Y;
         repaint(rc.x,rc.y,rc.width,rc.height);
    public void moveIt(int X, int Y)
         rcd = false;
         repaint(rc.x,rc.y,rc.width,rc.height);
         rc.x = X;
         rc.y = Y;
         rc.setPaintArea();
         repaint(rc.x,rc.y,rc.width,rc.height);
         Mline ml;
         for (int i=0; i < lines.size(); i++)
              ml = (Mline)lines.get(i);
              if (ml.from == rd || ml.to == rd)
                   ml.setPaintArea();
                   repaint();
    public void deleteIt()
         rcd = false;
         Mline ml;
         for (int i=0; i < lines.size(); i++)
              ml = (Mline)lines.get(i);
              if (ml.from == rd || ml.to == rd)
                   lines.remove(i);
                   i--;
         objects.remove(rc);
         repaint();
    public void paint(Graphics g)
         rp = g.getClipBounds();
         g.setColor(Color.white);
         g.fillRect(rp.x,rp.y,rp.width,rp.height);
         g.setColor(new Color(240,240,240));
         for (int x=0; x < 721; x=x+sizeW) g.drawLine(x,0,x,400);
         for (int y=0; y < 401; y=y+sizeH) g.drawLine(0,y,720,y);
         for (int i=0; i < lines.size(); i++) ((Mline)lines.get(i)).paint(g);
         for (int i=0; i < objects.size(); i++) ((Mobject)objects.get(i)).paintW(g);
         if (rcd) rc.paintD(g);
         if (rcl) rc.paintL(g);
    public void update(Graphics g)
         paint(g);
    //     *********   mouse   ************
    class MouseHandler extends MouseAdapter
    public void mousePressed(MouseEvent e)
         txt.setVisible(false);
         for (int i=0; i < objects.size(); i++)
              if (((Rectangle)objects.get(i)).contains(e.getX(),e.getY()))
                   rc  = (Mobject)objects.get(i);
                   rd  = rc;
                   sx  = e.getX();
                   sy  = e.getY();
                   if (e. getClickCount() == 2)  
                        txt.setLocation(rc.x,rc.y+rc.height-1);
                        txt.setText(rc.getText());
                        txt.setVisible(true);
                        txt.requestFocus();
                   rcd = true;
         if (rcd && rcl)
              ln  = new Mline(rl,rc);
              lines.add(ln);
              rcd = false;
              rcl = false;
              rp.setBounds(rc);
              rp.add(rl);
              repaint(rp.x,rp.y,rp.width,rp.height);
         if (rcd && objectType == 1)
              rcd = false;
              rcl = true;
              rl  = rc;
              repaint(rc.x,rc.y,rc.width,rc.height);
    public void mouseReleased(MouseEvent e)
         int x = e.getX()/sizeW;
         int y = e.getY()/sizeH;
         x = x * sizeW + 1;
         y = y * sizeH + 1;
         if (rcd)
              if (x > maxH || y > maxV) deleteIt();
                   else                  moveIt(x,y);
              return;     
         if (objectType == 2 || objectType == 3 || objectType == 4)
              rc = new Mobject(objectType,x,y,sizeW-2,sizeH-2);
              objects.add(rc);
              repaint(rc.x,rc.y,rc.width,rc.height);
    class MouseMotionHandler extends MouseMotionAdapter
    public void mouseDragged(MouseEvent e)
         if (rcd) dragIt(e.getX(),e.getY());
    //     *********   mouse  end ************
    class Mobject extends Rectangle
         long    id;
         int     type;
         int     ax,ay,aw,ah;
         String  text = "";
         Polygon po   = new Polygon();
    public Mobject(int t, int x,int y,int w,int h)
         super(x,y,w,h);
         type = t;
         setPaintArea();
         type = t;
         id = System.currentTimeMillis();
    public void setText(String s)
         text = s;
    public String getText()
         return(text);
    public void setPaintArea()
         ax = x + 5;
         ay = y + 5;
         aw = width  - 10;
         ah = height - 10;
         if (type == 4)
              po.npoints = 0;
              po.addPoint(ax+aw/2,ay);
              po.addPoint(ax+aw,ay+ah/2);
              po.addPoint(ax+aw/2,ay+ah);
              po.addPoint(ax,ay+ah/2);
              po.addPoint(ax+aw/2,ay);
    public void paintL(Graphics g)
         g.setColor(Color.orange);
         paint(g);
    public void paintD(Graphics g)
         g.setColor(Color.red);
         paint(g);
    public void paintW(Graphics g)
         g.setColor(Color.white);
         paint(g);
    public void paint(Graphics g)
         if (type == 2) g.fillRect(ax,ay,aw,ah);
         if (type == 3) g.fillOval(ax,ay,aw,ah);
         if (type == 4) g.fillPolygon(po);
         g.setColor(Color.black);
         if (type == 2) g.drawRect(ax,ay,aw,ah);
         if (type == 3) g.drawOval(ax,ay,aw,ah);
         if (type == 4) g.drawPolygon(po);
         g.drawString(text,ax+3,ay+ah/2+2);
    class Mline
         Mobject from,to;
         int x1,y1,x2,y2;
    public Mline(Mobject f, Mobject t)
         from = f;
         to   = t;
         setPaintArea();
    public void setPaintArea()
         x1 = from.x + from.width/2;
         y1 = from.y + from.height/2;
         x2 = to.x + to.width/2;
         y2 = to.y + to.height/2;
    public void paint(Graphics g)
         g.setColor(Color.blue);
         g.drawLine(x1,y1,x2,y2);
    Noah

  • Oracle Final Year Project Choice Help Needed

    hi everyone,
    I m Amir from Pakistan, I m a student of CS final year at a IT University powered by Govt.of pakistan.
    Can any one help us regarding choice of Final Year project/proposal. we want to build oracle based solution for any industry or sector which will also helpfull for me and my team not only for College Final Year Project but also for after college industry solutions.
    As in consideration different sectors are in front of us, i.e Oil & Gas, Manufacturing, Automobiles, Communications etc
    But, we think this forum is much help full cause different professional peoples are much better able to guide us with respect to current and upcoming trends.
    Thanks
    Amir

    Hi Amir,
    I can think of a dozen different projects. You could check the functionalities in Oracle's eBusiness Suite (Oracle Applications). For instance you could implement a human resource module (employees details, salaries etc), or a employee time card application. Why not a resource booking system (conference rooms, beamers, computers etc).
    All these examples could easily be split into parts. Say for instance time reporting. One group could implement the interface to the employees, one group the interface to the managers, to the human resource department, and there's also quite some administrative setup modules.
    What project proposals have you come up with yet?
    Well, because it's your first post I warmly welcomes you to the Oracle Forums here at Oracle Technology Network.
    Regards,
    Martin Malmstrom
    ORACLE Consulting

  • Regarding final year project plzzzzzzzzzzz help!!!!

    hey guys i am final year M Sc IT student. i m starting a project called JMessenger.i had only decided the name of the software.what i need to know is that is there any classes which gived hardware control. I mean is there any way where i can connect webcam to my program.I m planning to include Audio & Video conferencing and chatting but i do not know how to do it and go for it.So i request you java programmers to help me and suggest me any links or any other book so that i an complete my proect. You can mail me at [email protected]
    Thanking you in advance

    i wanna know where i can place the class files which is mentioned on that JUsbforgenet site. Where will i get those class files mentioned in those packages ...and also is it possible to make this possible. I mean making an audio/video conferencing ? Is it possible ? and what is double buffering concept ? I also want to know how to compress the captured video and send it across a different machine. HELP Thank YOU

  • Help me in Doing my Final Year Project

    Dear All,
    I am studying BSc in Computer Science in American International University Bangladesh (AIUB), Bangladesh. I want to work with Java Card. Actually I want to complete my final year project in Java Smart Card.
    I want to develop a Smart Card for student as mention in the link
    http://java.sun.com/products/javacard/examples.html
    1. when student insert the card in card accepantance device in entrance of the university all information(Name, ID,Photo, Department.....) will be displayed in the monitor of the entrance. After see the pic get keeper have no confusion about the student.
    2. Student can also use this card to use the facilities of Library and Cafe.
    Now dear all pls help me by proving this information.
    1. What kind of hardware i need to complete the project and successfully deploy it to my university. Pls tell me briefly and if possible then tell me the link where i can but it.(If the parts are available in UK then let me know. It will be easy for me to collect parts from there).
    2. What kind of Smart Card I have to use exactly.
    3. If anyone ever develope this kind of project then pls email me at [email protected]
    4. If possible then pls let me know the price of this hardware.
    Its very vey urgent. I know all Java lover will definetly help me.
    I am waiting for reply
    Yeasin Habib
    Bangladesh

    I want to develop a Smart Card for student as mention
    in the link
    http://java.sun.com/products/javacard/examples.html
    Well then you have a number of points that can be solved very differently. Does exist any legacy hardware or software that need to be included into your project?
    1. when student insert the card in card accepantance
    device in entrance of the university all
    information(Name, ID,Photo, Department.....) will be
    displayed in the monitor of the entrance. After see
    the pic get keeper have no confusion about the
    student.Where do you want do store the student information? On card or in a centralised database? Who should be able to change information?
    2. Student can also use this card to use the
    facilities of Library and Cafe.Looks like money comes into play. "Stealing money" is always a good impulsion for any attacker. You should consider this in your system design.
    1. What kind of hardware i need to complete the
    project and successfully deploy it to my university.Sorry, but except for the hardware parts "chipcard terminal" (with or without pin-pad) and several smartcards I can give you only the answer: "That depends on what you want to achieve and how you want to do it"
    2. What kind of Smart Card I have to use exactly.If you want to store the student image on the card, on of your main requirements would be a smartcard that has enough EEPROM for storing the image. Common JavaCards have 10 to 30kb for data and the applet code.
    Jan

  • Im doing my final year project here and i need help- karasi

     my name's karasi and im from singapore..currently doing my final year at nanyang polytechnic..diploma in electronics, computer and communications engineering..im new to this labVIEW software as my supervisor just gave me this..my supervisor will be giving my project details next week and im pretty sure tht i really do need alot of help in this to pass my final year project..so any kind helpers who would wanna help me in this would u pls kindly email me at [email protected] thnk you..
    Solved!
    Go to Solution.

    The PCR here is used to monitor and analyze the temperature of the substance. I'm supposed to make a user interface with 4 display of graphs overlapping each other. And the buttons are used to control which graph should come up first. Once when a button is shown, the button should greyed out. I've attached on an example that my supervisor gave me on how it should look like. Thanks! 
    Attachments:
    imgA.jpg ‏75 KB

  • Im a Uni student&need help:JAVA Final Year Project: Undo Manager Problem

    Hey all,
    Im writing a Final Year Project and have minimal experience writing in JAVA.
    It is an information visualisation assignment which involves reproducing code/text in a reduced format. Sort of to do with Line oriented statistics.
    http://www.cc.gatech.edu/aristotle/Tools/tarantula/continuous.gif
    This image will give you an idea of what im talking about.
    Anyway, i need to know if its possible to get information about individual undos/edits from an undomanager.
    Basically i need to be able to say, for example,
    there are 12 undos
    undo 12 occurs at line X
    undo 11 occurs at line Y
    etc etc
    I need to be able to get this information without actually invoking the Undo last edit call.
    Im bringing the Java undomanager tutorial home but from what ive read it seems like impossible?
    Any and all help appreciated.
    Regards,
    P

    When I was at uni I had to implement that for the text area of an IDE. All I did was rip off the code from the Notepad.java that comes with the SDK.

  • Final Year Project Questionnaire... Please help me out!

    hi,
    i'm in the final year of my degree in multimedia, and i was hoping some nice people would help me out by answering some of these questions for my final year project. it would really be a great help to me....
    Introduction:
    For my final year project I am going to produce a website where people can create their own Flash game. I will make a game creator – an artefact which the users will be able to use to create their own game from nothing – using Flash, and then incorporate this into a website. The users will be able to create games using an interactive display – they will not have to write any code; and they can play their games, and other users’ games on the website. I want to make the game creator easy to use so almost anyone could do it, and make it so it’s fun to do as well. I would make many options available within the game creator so the user can really personalise their game and make it individual.
    Questions:
    Do you like the idea?
    What technical capabilities would you look for in this type of application? What do you think this application needs to perform its task? What options should be available?
    For the website?
    For the game creator application?
    How should it look visually? What kind of style do you think would be most fitting?
    Do you think ease of use and the ability to personalise is important in this application?
    What do you think are the most important aspects of an application like this? What would be the most important things that this could give you?
    Are there any other similar applications that you have used? Did you like or dislike these, and why?
    How often would you use it? Regularly, infrequently, once, never?
    What is your favourite game genre? What game genre would you like to create a game in? Platform, shooter, strategy, etc…
    How fast would you like to be able to create a game using this? Is the speed with which you can make a game more important than the variety of options available within the game creator?
    Where would you use this website? Home, school, travelling…
    Are there any other points you would like to mention?

    how do i make this code work...can smbody please do that

  • Need help on developing system as my final year project

    hello everyone.
    I would like to find someone who can guide me in developing a system for my final year project ( title:Event Correlation Analysis System).As i am not really good in programming i find it very difficult to start in code the program.Whateva it is i need to develop the program in order to be graduated.I am having a very hard time here as this title is given to me by my lecturer who is expecting me to do everything..Please anyone help to guide me.
    My project is about using java to create a system which can monitor log file and uses some rules to correlate and output to end-user the prove of a particular problem (i.e: accessing pornography.).for more information find articles about event correlation system.
    thousands of thanks in advance.

    Praveen_Forum wrote:
    Vijen..!!
    just forget it no one here would write code for you it is you who have to struggle and write some code come back if you have any specific questions regarding the coding or architecture or something like that so [Get Started|http://java.sun.com/docs/books/tutorial/getStarted/index.html]
    OP didn't ask anyone to code it for him/her
    that said, OP needs to put forth some effort
    you'd think a final year student could demonstate a bit more understanding of how to interact in a community such as this
    i'm also curious to know why a final year student has been given a software project but doesn't know how to program?

  • How to add on the measuring the frequency in my Final Year Project...

    Hi...i has design my final year project...my problem is how to add on some measurement in my final year project...now i want add measurement  frequency...in to my final year project...so i hope someone willing can help me or can give me advice....how to add on measurement frequency... before that i state my final project, for information.. i has design my final year project using LabVIEW 8.6.....Thank You
    Attachments:
    Oscilloscope A.llb ‏228 KB

    ''sanam [[#question-1055070|said]]''
    <blockquote>
    Hello,
    we are two members in our group Ambreen Akhtar and Sanam Naz
    we are females we want to create an adds on for our final year project as we are universtiy students of UOG M-IT(4th semester)..we would like to enquire what kindS of language and tools will be used to create an adds ons...I want to filter unwanted text and images that we dont want to see or read text but not all kinds of adds...
    we want to enquire about the following things below:
    1:met lab library.
    2:check content to check the images and text.
    3:content filter.
    we want to make a new plug in your browser(Mozilla firefox)
    Thanks in advance.
    </blockquote>
    uog(university of gujrat) MiT(Master in information technology) mean..

  • Writing my final year project

    He.
    Can any body help me please.
    I want write my final year project, so I need basic information related to my thesis, speacially good links that I could get more information.
    project contains, Tomcat,servlet, sybase, jdbc, and so on.
    So please if you could try to tell me more then that, I approciate.
    By Gaalkacyo

    Try coreservlets and moreservlets .com they contain some good info.
    Info on tomcat to be found at jakarta.apache.org.

  • Final Year Project! Please give me some idea!

    I'm doing an individual final year project using IBM Aglet, JRun and J2ME. The topic is "Mobile agent shopping system", better with some theories. I have no idea about what types of application should be done. Initially, I intended to build a system for the customers to search for the products in a shopping mall with data mining recommendation(e.g. association-Apriori), but my supervisor want me to give him a new idea because previous students has built similar application (but using classification in data mining).
    My supervisor has another 3 students doing the same project, but one of them doing a restaurant reservation system, another one has many multimedia in his system. The last one - I don't know. It seems that my project has no "selling points". I don't want to think of a quite complicated one as my programming skill is not so good. But the big problem is the project is restricted to a shopping mall. There is not much can be done. The project will be handed in 2 months later. I'm afraid that I can't hand it in on time. Does anyone have any suggestion on the topic. I have thought of this many times, but my supervisor still does not satisfy with it.
    Please help me!

    http://mindprod.com/projects/projects.html

  • Working on Final year project

    I am working on final year project. Our project title is "VoIP over 4G"... We are working on developing a VoIP application with different features over android. We will present our project in simulating environment of 4G LTE. We have PXI-1045 for LTE simulations. Now I want to ask question that can we use PXI-1045 for high data transfer of 4G LTE on which we will use our VoIP application??? Two clients will be connected through this device and they will use the application using high data transfer with excellent video quality for video conferencing and other features.
    NOTE: we are using this device because 3G, 4G LTE is not available in Pakistan. And we have to complete our project using simulating environment of 4G. If we can do this on this device then help me in ho w I will configure and use PXI-1045 for my project...... THANKS

    Hi taimoor,
    The chassis is the box that will host your modules (RF signal generator in your case). You will require a generator to be able to generate an LTE signal. If you give me the requirements/specifications of your generation, I can try to suggest one of our RF Vector Signal Generators.
    Best,
    Tarek B
    Applications Engineer
    National Instruments

  • Final Year Project Advise

    I am currently studying computing science at the University, and will be entering my final year this September, Having previously studied and experimented with JAVA in my last academic year I am keen to use this language for my final year project.
    However I have yet to find a company that is using this language or able to offer me a topic that I could research for this project.
    Any help would be appreciated. Or I've been thinking if I should switch and do something about networking.
    thx

    You could do something with java and networking.
    I would suggest you look at the open source project and see if you could either do something better, simpler, an extension etc.
    Have a look at the projects at http://www.java-source.net/ and http://www.sourceforge.org/
    This should give you more than enough ideas.
    For job prospects I suggest you look at the job market and what kind of jobs you might like. Then look at the skills they are looking for and try to choise a project to see if you really like them or they may help you get that job.

Maybe you are looking for

  • Help with text in Muse using Edge Animate please

    Hi Guys, please may someone explain step by step how to do a particular effect I am after... I have a business catalyst temporary site you can view ... just the start.  http://robynleighphotography.businesscatalyst.com/index.html So on my name RobynL

  • Purchase order from Purchase Requisition error  no selectable items found

    while modifying the Purchase order item quantity, iam getting an error Tcode me22n. The order already released. now i want to ( change ) reduce the quantity. No selectable items exist for Purchase requisition l_banfn. message no 06053. can anyone  pl

  • Air 3.5 front camera issue

    I am using the latest air 3.5 sdk to build an video application. But I find that the front camera can not render correctly in spark.VideoDisplay, while the back camera is ok. My deivce is galaxy nexus, android 4.1.2, the code is below: protected func

  • Swirly beach ball on wake up

    When I wake up my computer from sleep (e.g. open the lid) my computer will at times (more frequently now) take a while to load. My cursor becomes the swirly beach ball and I am un-able to log my self in. This began a while ago and has since become an

  • Method to determine whether or not the main clip is playing

    Is there an AS3 method that will return whether or not the swf has been paused? I tried to google this but I'm not getting anything.