35,618 Topics
![]() | |
that is code to send file from pc to phon but it dont run and throw that exception java.io.IOException: Device not discovered i dont know what is the problem [CODE]try { String adr ="btgoep://000E6D80ABBE:9" ; System.out.println("addres"); ClientSession cs = (ClientSession)OBEXConnector.open(adr); System.out.println("opening"); HeaderSet hs = cs.connect(cs.createHeaderSet()); System.out.println("created header set"); byte text[] … | |
Hi guys ! Whenever I try to run an application I get the same error : [QUOTE] java.security.AccessControlException: access denied (java.io.FilePermission /var/lib/tomcat5.5/webapps/examples/WEB-INF/classes/logging.properties read)[/QUOTE] Dont know what is wrong... Here is the full log : [QUOTE]16 juin 2008 14:11:47 org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5 16 juin 2008 14:11:47 … | |
Hello again, I've been around some threads here, some interesting, some piqued my interest. Like, forgive my ignorance, but how does one run a jar file. What special is required to run such a file? All I know is winrar a jar file and you get all these coded .class … | |
Hi Everybody, As you can tell by the title, I am very new to Java. I have a html page that I need to call from java. i use Runtime.getRuntime().exec("C:/Program Files/Internet Explorer/iexplore.exe"+" help.html") ; //help.html is the required html file which is stored in the same folder. But when i … | |
Hello all very advanced programmers. I'm a amateur programmer still learning to climb the ropes. I am trying to run a certain program on Java but seem to get some errors that does not define itself any further. These are the errors I am currently getting when I compile the … | |
Hi... my mission is to locate a certain word inside a pdf file and insert an image next to this word if anyone can recommend me on some api's or examples i will be very grateful. Thanx ahead Daniel | |
Can anybody teach me how to use the java source code for loading the sound device in the program, and then we can hear what the people is say? thanks a lot for helping. I am really appreciate it.. | |
hi, in java this is a syntax for creating an object for class. hello obj=new hello(); where as in php this is the syntax. $obj = new Java("hello"); now i want to cal constructor with parameters, here the syntax for java. hello obj=new hello("key"); pls give syntax for the above … | |
Whenever I try to declare a "Regular Expression" while including symbols like "+", "-", "*", the match is done based on how those operators work. Now, when I try to use the regex API via combining those operators with backslash or \Q and \E I get the error message-- "...Illegal … | |
Hi everyone, I am new to J2ME, so I would like to get some help from you guys. I am developing an application which needs to call some C functions. Normally I would use JNI, but apparently for CLDC cellphones only KNI is available. I am willing to learn more … | |
hi all. i can't write to mysql database in jsp so please send some simple example regards bayarja. | |
Hi all I need to submit my assignment urgently. Still now I have no idea on that. anyone can help me to finish my assignment. I attached my assignment question as well as my uncompleted answer. *my programing skill is very bad. please, help me. Thank u all. this is … | |
Hi Everybody, Please help me regarding calling of any .exe like notepad,msword,etc. in JDesktopPane.That particular exe will appear in the Desktop like Internal Frame. thanks in advance.. Subroto Bhattacharjee | |
Hi there, I haven't worked in Java for a while and I want to go back to it. Can someone please recommend an IDE software that is good for Java Development. I am interested in struts. Things like autocompleters would probably be very helpful. Any responses would be greatly appreciated! … | |
I have to use two seperate classes in seperate files, one is a driver while the other is the program. It has to use an interface, toString, and have no arg default constructor and a full arg constructor. The toString has to create a formatted table of data from a … | |
Hello! We want to send an email from a jsp to the Recipient (variable: youradress) from the emailadress given in our profile (variable: myadress). There appears a error message at the command Transport.send(message). [CODE] <%@ page language="java" import="java.util.*, javax.mail.*, javax.mail.internet.*" %> <%@ page language="java" import="model.User" %> <% model.User user = … | |
I want to make a robot and programm it using java, the quetion is what exactly I need to do so like the operating system I should use (for e.g. brickos) | |
this is the oracle GUI [code] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class OracleGUI extends JFrame implements ActionListener { // Define constants public static final String GET_QUESTION = "I will answer any question. Let me know yours.\n" + "Type your question in the following and hit Submit."; public static … | |
hi guys well I go to my dos prompt and invoke the compiler with the javac command but I always get the following message: javac is not recongised as an internal or external command,operable program or batch file I would like to know why i am gettin this message and … | |
Hello all, I've been writing a multiple choice question version of the game Hangman. I've got it done except for stopping already asked questions from appearing again. I've got the 'asked' question numbers (the questions and answers are read in from a file into various arrays) added to a vector … | |
Hi all, I am currently revising for an exam which will cover all the basics of object-oriented programming, it was going quite well until I met Collection :) I have got two questions to which I have started writing answers to but got stuck...Could someone please have a look at … | |
Hi I want to make a weather reporting project . the requirements of project are as follows There are there sensors ie 1. Sensor for Weather 2. Sensor for Humidity 3. Sensor for rain All the data sensed by these sensors want to display on a web page where there … | |
Hi there, I'm trying to open up a text file read info from it, alter it and write back the alterations when a user clicks on the save button, but I've hit two issues:- 1) I can't open the file for write access as I don't have permissions - can … | |
Hello, I am trying to learn a few new things with the Java API and am wondering where to get started. As of late I've been interested more and more in trying to construct bots, and I thought a good first step would be to try and create a minesweeper … | |
Hello everyone, i am new to this community. I want to post my important doubt here. Right now, i am doing a JSP project, which requires the task of adding dynamic rows in a JSP page and also inserting their data in the database. Can anyone guide me on how … | |
Hi, I am writing a program where I want the user to be able to e-mail me feedback, so I have downloaded javax.mail and I'm trying to send myself an e-mail to test it out. I have Yahoo Mail Plus. Below is my code, which I tweaked from one of … | |
Hi I am in my first programming class. Programming in JAVA. I have found it frustrating yet challenging. I am in desperate need for help when I sit here for three hours and know that it is something so simple in my source code that is wrong yet so hard … | |
i think i've chosen the longest way to add the deletion onto my system, is there any other way which is more efficient ? and im wondering why only mPane.JTextFields are working, but the rest like lPane.JTextFields aren't working ? [CODE=JAVA] . . menuItemDelete = new JMenuItem(); menuItemDelete.setText("Delete"); menuItemDelete.setMnemonic(KeyEvent.VK_D); menuItemDelete.addActionListener( … | |
can i have more then one JTextArea and JTextField for one inner class (MyUndoableEditListener())? [CODE=JAVA] . . MainTabbed mPane = new MainTabbed(); . . . mPane.area.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.locField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.dateField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.ndBuddyField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.depthField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.firstBuddy.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.weightField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.timeInField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.tOutField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.startTimeField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.sTimeField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.bTimeField.getDocument().addUndoableEditListener(new MyUndoableEditListener()); mPane.startField.getDocument().addUndoableEditListener(new … | |
currently i am facing a problem for these method. when my program copying or cutting a selected text and paste to another selected area, unexpected result, it paste the selected text to all of the fields and areas of my program. is there anyway to check current selected area or … |
The End.