35,618 Topics

Member Avatar for
Member Avatar for wad

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[] …

Member Avatar for peter_budo
0
94
Member Avatar for Spartan552

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 …

Member Avatar for Spartan552
0
110
Member Avatar for ronicasingh

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 …

Member Avatar for stephen84s
0
260
Member Avatar for subroto1486

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 …

0
59
Member Avatar for ronicasingh

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 …

Member Avatar for sciwizeh
0
151
Member Avatar for vedmack

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

Member Avatar for peter_budo
0
76
Member Avatar for rainny

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..

Member Avatar for Ezzaral
0
267
Member Avatar for boomar

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 …

Member Avatar for ShawnCplus
0
41
Member Avatar for Alex Edwards

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 …

Member Avatar for Alex Edwards
0
121
Member Avatar for vieestchien

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 …

Member Avatar for peter_budo
0
122
Member Avatar for b_bayaraa_d

hi all. i can't write to mysql database in jsp so please send some simple example regards bayarja.

Member Avatar for masijade
0
37
Member Avatar for kosilence

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 …

Member Avatar for javaAddict
0
99
Member Avatar for subroto1486

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

0
54
Member Avatar for timhysniu

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! …

Member Avatar for jwenting
0
128
Member Avatar for speterson

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 …

Member Avatar for peter_budo
0
47
Member Avatar for sweprojekt

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 = …

Member Avatar for peter_budo
0
203
Member Avatar for f.damati

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)

Member Avatar for sciwizeh
0
132
Member Avatar for sktr4life

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 …

Member Avatar for sktr4life
-1
181
Member Avatar for abhishek23

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 …

Member Avatar for jasimp
0
300
Member Avatar for hezfast2

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 …

Member Avatar for VernonDozier
0
105
Member Avatar for Magda

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 …

Member Avatar for Ezzaral
0
336
Member Avatar for engrasi

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 …

Member Avatar for peter_budo
0
87
Member Avatar for Scruffstone

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 …

Member Avatar for Scruffstone
0
234
Member Avatar for Triggerhappy41

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 …

Member Avatar for jwenting
0
87
Member Avatar for dskanth

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 …

Member Avatar for jwenting
0
85
Member Avatar for VernonDozier

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 …

Member Avatar for VernonDozier
0
845
Member Avatar for missy108

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 …

Member Avatar for selfhelpebooks
0
118
Member Avatar for C41R0

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( …

Member Avatar for Ezzaral
0
183
Member Avatar for C41R0

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 …

Member Avatar for C41R0
0
191
Member Avatar for C41R0

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 …

Member Avatar for C41R0
0
119

The End.