Home » Directory

Java Technology

Tags: java

Java Database Connectivity (JDBC)

Function in Callable StatementWed, 16 Jul 2008 19:51:00 GMT

Can we use function in Callable Statement?...

Comments (0) | Promote | Bookmark

sqlj execution errorSat, 09 Feb 2008 23:01:00 GMT

Hi,I am developing a product on sqlj. I am usingoracle8.1.6 with jdk1.2.2. I able to generate the java file and compile it. But when I execute it I get the following error.NetCNM:driver designator not found.Kindly give me a solution for the above problemWith regardsAnuradha...

Comments (0) | Promote | Bookmark

JDBC & Combo boxesMon, 24 Sep 2007 02:08:00 GMT

I am tring to update a table on an SQL database using values from a combobox selection but it gives me an error saying i cant you a name, either constants and variables are allowed. please send me a sample code that reads data from a combo box ans update a certain table on my database....

Comments (0) | Promote | Bookmark

Sql loaderSun, 10 Feb 2008 02:45:00 GMT

The character set ID was obtained from the database server, theSQL*Loader client does not have knowledge of the given characterset ID. Possible mismatch of NLS data on the client and serverside....

Comments (0) | Promote | Bookmark

MS SQL Server 2000 & MS JDBC SQL Server driver problems. (ConnectionWed, 30 Apr 2008 12:06:00 GMT

Hi. In order for the jdbc driver to connect to the DBMS, the DBMS needs to beconfigured to listen for TCP connection requests. It does not do this by default.Ie: "Mixed mode" connections in setup. 1433 is the default port for a SQLServerto use for tcp connections. You should verify that the DBMS...

Comments (0) | Promote | Bookmark

Java Core GUI APIs

Compile or Container problem?Mon, 24 Sep 2007 08:42:00 GMT

I have a JPanel in a JInternalFrame from which I am launching a JDialog. The calling code from the JPanel class is the following:void jBtnAddProcess_actionPerformed(ActionEvent e){ProProperties newProc = new ProProperties(procBuild,constructs,this); //this here refers to the JPanel}In the ...

Comments (1) | Promote | Bookmark

Getting JTextPane's Document's content in reasonable waySun, 23 Sep 2007 10:49:00 GMT

I have JTextPane, which does the following:1) changes style of text (bold, italic, underlined, possibly font size and family, but restricted to few categories)2) inserts my custom component which renders image (let's say something like JLabel with Icon), again restricted to few images.I need ...

Comments (1) | Promote | Bookmark

UI gets frozen when accessed 2nd time without closing browserTue, 25 Sep 2007 02:32:00 GMT

I have written an applet using java swing. It works fine for the first time.When I close that applet without closing my browser for the second time, the applet gets loaded, but I can not type in the textbox or even can not use my mouse. In java console window it shows null pointer assignment ...

Comments (0) | Promote | Bookmark

problem in rotating & moving image at same time(JAVA)Tue, 08 Jun 2010 08:41:00 GMT

Hello every one im making a car game in which you have upper view problem im facing is that i cannot move and rotate the car(image) at the same time means if i press up and right arrow key at the same time i wont rotate and move which i want it to it just moves forward or rotate Any one who know...

Comments (0) | Promote | Bookmark

Help Array & JTable! Please!Wed, 30 Apr 2008 14:10:00 GMT

Hello Everybody!I need a help about Array and JTable, could somebody help me?I have some problems with the AbstractModel and the array!The file I want to parse is simple, because I want to copy theintegersinside my table:10 //this number is the dimension of the table = 10x101 1 1 1 1 1 1 1 1 11...

Comments (0) | Promote | Bookmark

Java Socket Programming

How Can I make A Dialog/Frame TransparentSat, 22 Sep 2007 05:06:00 GMT

HiI want to make a dialog or frame Transparent. Is it possible in java. Actually i want to add an gif image on the Frame container that image is in curve shape with transparency, and I want this transparency also on the Frame in the java application. I m using JFrame with setUndecorated(true). ...

Comments (1) | Promote | Bookmark

SSH with JavaMon, 24 Sep 2007 10:04:00 GMT

Hi there, I'm a newbie to distributed computing and was wondering if there are any free java libraries out there to do SSH?See as I may have classes on distributed host(s) which should be able to accept /SEND remote commands via SSH.Can somebody please point me into the right ...

Comments (1) | Promote | Bookmark

JEditor PaneSat, 22 Sep 2007 15:56:00 GMT

i am trying to render progress message one by one in JEditorPane but it is taking to mucn time in loading .how can i improve the performance of this i am sending my code ..method public void writeMessage(String s_messageText) are used to write message in JEditoPane..plz help me!!!! public class ...

Comments (1) | Promote | Bookmark

Caret Possition ProblemSat, 22 Sep 2007 03:19:00 GMT

In regard with this question :http://forum.java.sun.com/thread.jsp?forum=31&thread=503158&tstart=0&trange=15 ...

Comments (0) | Promote | Bookmark

Accssing GPRS through mobile from PCWed, 14 Nov 2007 18:59:00 GMT

hi all,i need help on developing a midlet which will access the GPRS connection from my PC using the mobile as a midway.I hope there will be 2 midlets, one for the mobile (server) and the other for the PC (client).The connection between the PC and mobile will be via bluetooth (JSR-82) and/or ...

Comments (0) | Promote | Bookmark

Desktop Technologies

Install jsdk on linux red hat 7.0Tue, 18 Sep 2007 14:48:00 GMT

Hi everybody,I have tried to install jsdk 1.3 on linux red hat 7.0 but i obtain one error message when i try to execute java,javac.... I dont know which is the problem. Can somebody help me? Please its importantThanks ...

Comments (1) | Promote | Bookmark

How to install NIS in Solaris8Tue, 18 Sep 2007 05:36:00 GMT

I want to install NIS or NIS+ in Solaris 8. How do I do that? Any good documentation about that? ...

Comments (1) | Promote | Bookmark

Iam not getting loacal server home page in brosers.Wed, 14 Nov 2007 16:47:00 GMT

hellow sir,iam sridhar.I have some technical problem.I started Bea Weblogic version 8.0,Apache Tomcat version 5.0 success fully.But when iam giving url like"http://localhost:8080/manager/html" for tomcat, and url like "http://localhost:7001/console" for weblogic iam not getting servers home ...

Comments (1) | Promote | Bookmark

hs_err_pid1680.logMon, 24 Sep 2007 20:00:00 GMT

i play pogo everyday and all of a sudden i cant play this game and it only does it on this particular game. but heres the log.## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x07047b41, pid=1680, tid=1300## Java VM: Java ...

Comments (0) | Promote | Bookmark

JNLP API on server sideTue, 25 Sep 2007 00:15:00 GMT

Hi,Can I install Java webstart on server and use JNLP API http://java.sun.com/j2se/1.5.0/docs/guide/javaws/jnlp/in server side code, for saving document to file using PersistentService class....

Comments (0) | Promote | Bookmark

Java Professional Certification

Thanks!Tue, 15 Jul 2008 11:53:00 GMT

Dear Ajith,Thanks for such a prompt and kind action!!!I am sure this step of creating separate XML Certification Forum will be of great help.I promise to support this action of yours.Regards and best wishesPurveshXML@Whiz - IBM XML Certification Test Simulator http://www.whizlabs.com/jwhiz...

Comments (1) | Promote | Bookmark

array elementSun, 13 Jul 2008 10:40:00 GMT

static char ch;//implicitly \u0000 default value is assigned for chint[] ia = new int[1];ia[ch]=5;//line 3SOP(ia[ch]);at line 3,i am thinking like ia[\u0000] is executed.\u0000 is emptyspace.then how come ia[0] is printed....

Comments (1) | Promote | Bookmark

how does System.out.println() worksSat, 12 Jul 2008 11:51:00 GMT

from many days i was just thinking that how does the System.out.println() works in java.I refer many books but not getting the right explanation....

Comments (1) | Promote | Bookmark

JMenuSat, 12 Jul 2008 20:44:00 GMT

Hi i have placed a JButton and JTextField into a JMenuItem now when the menu expands i see both of them. The problem is when i hit the button i'd like the JMenu to close, does anyone knows how to force it to colapse ?Thanks....

Comments (0) | Promote | Bookmark

Enthuware Question ID: 1074483088830Sun, 13 Jul 2008 19:05:00 GMT

Question ID:1074483088830 Time Left: 01:27:47I say option b) Page 2 as println() on out doesn't throw IllegalStateException.They say option d) IllegalStateException at Runtime.What do you say?Question 6 of 69 (Answered Wrong)Consider the following code snippets. What will be displayed on the...

Comments (0) | Promote | Bookmark

Java Enterprise java bean & Java EE (EJB)

openinig internal frames by clicking menuitemsSun, 23 Sep 2007 14:14:00 GMT

Hi,I have been trying to open internal frames by clicking menu items but have not been able to do so because menuitems support only action listeners and not all mouse event listeners.Actually I wanted the event to return the frame n which the event has occurede.g., event,getframe(), so that I ...

Comments (1) | Promote | Bookmark

Why is my bean locked when i call methods on itWed, 16 Jul 2008 22:07:00 GMT

Hi,I have a been that when i call this line in ejbActivate() id = new Integer( (String)context.getPrimaryKey() ).intValue() ;i get an exception, see below. i don't know how i could have locked the bean, container transaction probably. i would think it is a depoyment config thing but i am not...

Comments (1) | Promote | Bookmark

WorkLoad MonitoringWed, 16 Jul 2008 22:22:00 GMT

Hi, I have to develop a [jsp/servlet/class] program which can monitor the workload , messages , byte consumes , message received , message consumed..It means it should be able to monitor all the activities going on WebLogic ...would really appreciate the suggestions ...RegardsNand KEswani...

Comments (1) | Promote | Bookmark

java null pointer exception when calling create on a localhomeWed, 16 Jul 2008 22:06:00 GMT

the subject say it all. I find the localhome, cast the result but when calling create I get the following exception. (using jboss 4.0.2).If you can help or have a pointer on the reason why. I googled extensively with no result.Alexjava.lang.NullPointerException at org.jboss.ejb.plugins.local.Loc...

Comments (0) | Promote | Bookmark

character encodingSun, 23 Sep 2007 10:15:00 GMT

Can anyone help me with this?scenario:I retrieve a word file from a microsoft database where it is stored as an image object.This is done by:byte[] b = resultSet.getBytes("data");I then write this byte-array to a file in the following manner:for(int i = 0; i < b.length; ...

Comments (0) | Promote | Bookmark