32,199 Topics
| |
Hi all, I've been doing some reading about calling a non static variable or method from a static context, and almost but not quite have my head around what exactly is going on. I've read the text but can't seem to put that into context, so please bare with me. … | |
I am a graduate in comp sci & technology.[FRESHER] I want to apply for job in IT companies, but they emphasize on knowing JAVA. I know C/C++, & I am well-verse with OOP concepts. But I dont like Java that much. I must learn this Prog. lang for getting a … | |
Hi, everybody I am trying to access remotely application but there generates error is :- WARNING: Unable to connect to URL: [url]http://192.168.100.99:8989/PTax_PG_eBiz-PTax_eBiz_WS-context-root/PropTaxPort[/url] due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: … | |
I would like to learn java. The books listed in the previous posts seem outdated. Can anyone recommend an up to date java book. There seems to be many java versions, if that is the correct term of course, such as jdk 5, jdk 6 etc. Which one is good … | |
Hi All, I have reached the stage in my studies that I must choose an elective and I would really like your opinion on what to do as I am not 100% sure although I am leaning towards Java. So I have a choice between SCJP & SCJD or MCTS: … | |
Hello I am seeking guidance for a project that requires the use of a database. Obviously I will be programming in Java! my question really is: what is the best database that can be used with Java? My program will be a desktop application which will use the database locally, … | |
For quiet some time now i have been trying to get the java API library downloaded on my system but no success yet, i have tried all means possible that i know, for instance i have been to java.com, sun.java.com even to oracle.com lately but no success yet. I am … | |
hi all.. i've been practicing mobile programming for a months and i wonder why IMPLICIT is not included in CHOICEGROUP??? I got error when i try to use it... | |
Hi, In my application i want to get the explain plan of all the query executed and want to log that explain plan in log file. I am planning to use the hibernate or Ibatis. Could any body help me to tell that which one support to get the explain … | |
I want to be able to match a HTML tag in a given string. The string could be like this [CODE]<a href = "http://learnmore.com">Learn </a>. [/CODE]I have a replace function that replaces the HTML tag with whitespace when I hard code the tag, but I want a regex pattern that … | |
I am starting to learn Java and I downloaded JDK but when i open java.exe or javac.exe it opens then instantly closes. Any answers? | |
Hello Everybody, please explain me what is pass by reference ,i know what does it mean but i could not find any of its simple example that differentiate between pass by reference and pass by value :( please help me i have spent almost 4 hours searching for it but … | |
Hi, I am working on a university project which seems a little complex for my limited knowledge. But , its about 3D Cylindrical Trees. Every cylinder in essence consists of menu items and hovering over any menu item will open up another cylinder showing further menu items. Can anyone please … | |
I am making a request form with a uniqe FORM NO. in order to recall the data faster. The FORM NO. is formated as follows, yyyyMMdd-000 the 000 will be incremented for every transaction made that's easy... but the problem is how to reset it back to 000 the following … | |
Hi guys, I'm making a class for importing a table from a text file with tab delimited data. It works perfectly as long as there are no empty cells in the text file. (see attached example) Any suggestions how to detect an empty cell and what to fill the ArrayList … | |
Hello everyone, i was reading java tutorials on the internet then i saw this program, [CODE] class Cat { private String mCatName; Cat(String name) { mCatName=name; } public String getName() { return mCatName; } public void setName(String strName) { mCatName = strName; } public void messWithCat(Cat kitty) { kitty = … | |
I am writing some application for Android. Here my app receives sms and as soon as it receives, it launches another activity,say a browser with some url supplied. So here, I need two classes, broadcastReceiver( to receive sms) and Activity. But in java i can inherit only 2 classes. Since … | |
I would like to learn java. Can anyone recommend an up to date java book. There seems to be many java versions, if that is the correct term of course, such as jdk 5, jdk 6 etc. Which one is good to learn. I posted this in a different thread … | |
Hi guys, I'm trying to add a splash screen on my app but I can't seem to follow the instructions here in: [url]http://download.oracle.com/javase/tutorial/uiswing/misc/splashscreen.html[/url] ... creen.html I'm using netbeans and I can't understand where to put the gif file. I have also tried editing the manifest.mf but I can't make it … | |
Guys need help. i'm having problem in setting the font-size of my jtfText. every time i set the font-size of jtfText all the panels and buttons is also getting bigger but not their font-size just the buttons. This is my code [CODE]import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import … | |
i'm not too familiar with java...though... actually i'm trying to insert the values entered by the user into the access table but every time i click the add button on my application it shows [I]java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement. [/I] error... [CODE]String str="insert into … | |
Hi everyone, I need to use something in java that is similar to the C language goto statement. This is what i have in a function [code] public int ret() { if { //something //something //This is the part where i need to jump to the end of the //function … | |
Hello, Is there someway that I can randomly assign an x y and z axis to a geometirical object? Any programming language is fine just need some insight. Thank you, Suhail Rawal | |
Hi, I wanted to understand a java code that i picked from a website RoseIndian.net. It is about Binary Search three implementation in java. Can someone please explain how the retrieval of the node values [node.value] in the method "[B]printInOrder(Node node){}[/B]" being done, because the node.values are not being stored … | |
[CODE] public Integer countWeekday(Date startDate) { startDate.setHours(0); startDate.setMinutes(0); startDate.setSeconds(0); }[/CODE] I have this function and a parameter passed to it. setHours,setMinutes and setSeconds are deprecated. What else can i use? | |
how can i make the border line to the position shown in the attachment [CODE] package proj; import java.awt.BasicStroke; import java.awt.Color; import java.awt.print.PrinterJob; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.Rectangle2D; import java.awt.print.Book; import java.awt.print.PageFormat; import java.awt.print.Printable; public class j extends javax.swing.JFrame { public int st,i,k1,k2;PrinterJob printJob = PrinterJob.getPrinterJob(); String str[]=new String[20]; … | |
Hi, guys! I really cannot describe my problem with a words, so I record debug process in a video. Here it is: [url]http://www.youtube.com/watch?v=5EVwNhdQ8o4&feature=player_detailpage[/url] Track changes of a IFormField<T>.this.value and object ID's in a memory and you understand what I mean. | |
can anyone tell me how here the count of [B]st[/B] is [B]incrementing[/B] like this[B] 2,4,6,8,10 and not like 1,2,3,4,5 [/B] how could i get the count of [B]st[/B] to increment as [B]1,2,3,4,5[/B] [CODE] PrinterJob printJob = PrinterJob.getPrinterJob(); Book book = new Book(); for(int i=0;i<5;i++) { book.append(new IntroPage(), printJob.defaultPage()); } [/CODE] … | |
Hello, I'm new in java and must make a dummy server client connection (webserver) that check if the client has the actual software (actual version) and send links (in .txt or something else, if any update available). I'd like to make a program as simple as possible. I am using … | |
My java application has been running smoothly for the last 2 years in one linux server. Recently, we moved it to another linux server and it's then that it started giving the error as shown below: [CODE] java.sql.SQLException: Prepared statement needs to be re-prepared at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) … |
The End.