Main Topics
Browse All Topics Hi
Since updating to Java, ( 6.31) I keep getting a pop up, even with no applications running at all
"Revocation information for the security certificate for this site is not available. Do you want to proceed"
I view the certificate...
I want to install android with eclipse as that is the reason I got eclipse.
http://developer.android.c
I have installed android from the instructions but dont get the same screenshots.
I followed the instructions...
1. I have a Dell N5110 running Ubuntu 12.04.
2. My goal is to get Eclipse IDE running on my Dell laptop for C++/C development.
3. I downloaded Eclipse; however, when I tried to run eclipse, it could not find a JDK or a JRE. I saw the...
Hi Experts,
I have a web application build in VS 2010.
One web pages has a combobox filled with vessel names and a Subgurim google maps control. After the check boxes of vessels are toggled an event fires a server side function which plots...
hi.
for netbeans 7.1.1 I want to add the plugin .
what url to the plugin am I entering (in update center) because there is a few plugins and the examplesI found are for old versionss of netbeans.
Also...
Whats the command to unzip a specific a file in linux ?
I have test.zip .
Inside this test.zip I have a class abc.class in some folder.
I want to extract this abc.class only.
whats the Linux command ?
Hi All,
I am trying modify WebSphere Portal 6.0 Theme Default.jsp & head.jspf file to properly invoke a getMaxInactiveInterval() so that I could do setMaxInactiveInterval() afterwards.
Essentially What I am trying to achieve is.
1. Get...
I am trying to call a JasperReport from Java by following the examples given. I installed the library jasperreports-4.1.3.jar in Eclipse. Although I have the report design with the remote JDBC setting and it is working perfect in iReports I...
I had the below sql and it works well in my data admin..
but I am using this as a named query in eclipse JPA.
SQL:
select * from eventTable eT
where eT.logon_timestamp between (SELECT DATEADD(day, -1, GETDATE()))
and (SELECT DATEADD(day,...
Is there a program or website that can convert my android code to blackberry code ? If not what is the best way to do it since they are both based on java
I have downloaded netnbeans 7.1.1
I want to do some mobile pgramming with Java ME using netbeans.
I am confused on how to add J2ME to Netbeans, is this it below?
http://netbeans.org/commun
I dont get how...
Hello. I am trying to do some modifications to the authentication workflow. I have a login.jsp on Websphere 7 whereby I call j_security_check to authenticate with Active Directory. Due to some complex requirements, I need to process the...
The setting op of my click listener for each checkbox in my custom list items is causing the application to crash.
Below is a copy of the code section that I have made to got through and load up each listViewItem.
Hi All
There was some penetrating tests that was conducted in our existing production java application, and one of the recommendation is to address cross site scripting.
I need inputs from experts on implementing this cross side without the...
Hi
I've asked to install JDK 1.4 on a centos 5.7 server. I have seen tons of java's jre, kdk, j2***,m etc and I'm very confuse. Please, does any body can tell me where to download the jdk 1.4 RPM file for my centos server?
Thanks.
Hi there;
I am trying to add tomcat 7 as server in IBM RAD 7. But wait, there is no such option in the Server listing (up until 5.5). How to fix this?
Attached.
Regards.
Is there a way to create an onChildAdded or onItemAdded listener to a GridView in android? I can't seem to find one online. Right now my approach is lacking, I feel that it should be improved.
I have a worker thread running that remembers the...
Hi experts!
I am a java student (novice!)
Running the method like: xxx.buildFrom("AAA", "BBB, "CCC")
the compiler returns the following:
Semantic error: Message buildFrom( java.lang.String, java.lang.String, java.lang.String ) not...
Greetings mates,
I am in an unchattered teritorry.
I have not touched JAVA since 1999 and here I am with 3 JAVA files being dumped on me to test and determine how they work.
My question is can some JAVA guru please help explain what...
Greetings again mates,
I am rather back sooner than I had hoped to.
After installing jdk, per for_yan's patient help, I attempted to create a java class and ran into a throve of errors:
here are just a couple:
Name.java:1420: cannot...
I am trying to run the program whose code is attached. I am getting an error about the driver. I read that "The MySQL JDBC driver is called Connector/J. (The driver class is org.gjt.mm.mysql.Driver.) " I have mysql-connector-java-5.1.1
I'm copying this algorithm straight from a book, but I keep getting an ArrayIndexOutOfBoundsExcep
Hi:
We're creating java programs using Eclipse IDE.
We're pretty new to Eclipse. We're looking for some Eclipse plug in that can provide database operations that are similar to DataGridView or GridView or DetailsView of Visual Studio
For...
This is hopefully a simple one. I've been looking for ages but just can't find a solution.
I'm using showDialog to pop up the DatePickerDialog. All aspects of this are fine.
I can't find out how to set the initial value the...
Hi there;
I have Tomcat/7.0.21 coming with Windows XAMPP. When I try to go into Tomcat Manager, I end up with a username password box.
I didn't know the credentials (whether I set it before or not), so I tried to assign/change.
I add the...
Hey,
I'm trying to make a reliable file transfer program with UDP in Java, I realize that this is redundant because TCP sockets are available in Java, but this is a class assignment.
I made a simple program that sends UDP packets, but...
I have a working iReport where I pass parameters to an SQL statement. This time I am trying to passing queries involving dates. I want to query by age so I included a -->> DATEDIFF(YEAR, BIRTHDATE, DATE()) AS AGE <<-- in the SQL statement...
My requirement is How do we read this property(LoadProperties.ge
I have a Windows 7 Ultimate 64-bit with Java 6 (update 31) 64-bit. I am trying to install the following application:
AndroidScreencast
(androidscreencast.jnlp)
per steps from this website:
...
Hello there,
were can i find the android doc and how can i import it in my eclipse IDE,so that when i move my cursor on an android related class, it shows me its doc.
cheers
Zolf
$java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pap3260sr10-20111208_01(SR
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260sr10-20111207_968
I want to change...
Good morning all,
I need to locate a quick-and-dirty guide to Struts. I am primarily a .NET developer, but I have been given an assignment involving an MVC project created with Struts. Specifically, I need to figure out where execution begins...
Using some code from this question I have set up some code to detect when an android device is rotated. It works great for the asus tablet (4.0.3) and two simulators (4.0.3 and 2.1), but for the kindle fire (2.3.4), and droidx (2.3.4) it switches...
Hi, I'm try to implement customELFLogger and want to know jar file that need to compile this file
import weblogic.servlet.logging.C
import weblogic.servlet.logging.F
import...
I used netbeans to create my application ..my application contains a frame 'MainPage' with a menu bar.It has menu 'Records' .. 'Records' contain 'Order' as menu item ...
i applied action event on Order(menuitem) to open an internal frame with...
I'm using the following Quartz Scheduler Task object to run my jobs as follows. For some reason which I think lies in the catch clause, after a series of unsuccessful attempts, my jobs stop rescheduling and they would eventually get wiped out of...
Hello Experts,
I am getting a compilation error with the program below. I don't understand why because the code is straight from the book. The problem according to Eclipse is the newOutStream() method which is supposed to come from the...
I am creating an application for tracking orders of cloth store..
I am getting error-
java.sql.BatchUpdateExcept
I took 'ORDER_INDEX' as auto increment..i...
I have an Java homework that needs to turn in midnight to night but I cannot finish it. Please see my download link below and help me as soon as possible. Thanks.
http://www.mediafire.com/?
I want to create an application for tracking orders of a cloth designing company using java,javadb and netbeans. The company makes tailor made wedding outfits for brides and grooms they want to keep track of the orders. i am creating the...
Hi,
I am working on a file modification project which involves craeting a UI for a business team such that they are able to access the latest version of a multi membered physical file on the AS400. The UI is being written in JAVA. I am not too...
First I like to thankyou for yan's help. Now I have to create a abstract class and class. I hope Yan is free and able to give me explanation how it works. many thanks in advance
=
*** SchoolContactInfo
abstract class SchoolContactInfo...
how do i clear all the shapes i've drawn on a panel using the graphics2d object?
I am working on an android app that has two activities. One is the menu screen and the other is the one that the user actually uses once they have made a selection. The second activity does all of its processing in a worker thread. When I make...
How do I change this program so that it sorts numbers that the user inputs from the command line instead of the numbers that I have specified? Here is what I have.
I am going to use Java Web Start to distribute a Java application. The application includes two jar files: Client.jar and log4j-1.2.13.jar. When application starts up, error message displayed: Found unsigned entry in resource:...
Hi
I am writing an import utility for our software that can read in the XML files produced by MS Project 2003, 2007 and 2010.
I am writing this in Java using Apache XMLBeans to turn the XSD schemas into Java classes that will parse the...
I installed netbeans with Java MEprojects/mobile apps.
ON my laptop win7 32 bit OS I get an error when testing my app as the emulator fails to appear?
*** Error ***
Failed to connect to device 6!
Reason:
Emulator 6 terminated while...
Hi Experts,
i am facing a problem please help me, my problem, i have to connect another server, get response code and based on the response code redirect it to ther website or error page, my code was working fine for http site, now i need to...
What are the scenarios in which a project should preferably be made in Java as opposed to .Net?
In other words are there any limitations in .Net in terms of performance, Functionality, etc that is not an issue in Java?
I would like to be able to do some processing on the html and javascript of a page before it is presented to the user of my app. The page uses window.open for all the links and that causes a new browser window, not controlled by my app, to be...
I need to build a universe in BOBJ after developing a query for a family of reports. This will be the first task I will be given on a work assignment I am about to start and I have never done this. My work experience is in Crystal Reports but I...
I want to use JInternal Frame but cant find it in the list of New files option in netbeans .... I guess it is possible to do so as i have used it before but what could be the issue this time .. Pls help..
Hi,
I'm using FixedWidthFlexTable from the GWT library. and the current behavior when re-sizing any of the header columns is to increase the width of the column and decrease the size of the column next to it, so it looks like you're taking...
Here is the code: I added the alerts to see what is happening. In IE, the code works fine. But it looks like the function "theChecker" is not being called when the checkbox "read" is checked or unchecked.
What's wrong?
What does this error message mean? What should I do?
IN android what is the diference between a menu / a tab or a button ?
If the menu option can load a file it then becomes to look like a tab?
IF the menu option does something on a click then it becomes a button ?
...
HI iam using ibatis framework and java and i have to store list object to oracle .
1)<parameter property="policyVehiclesLi
Getting error "Cause: java.sql.SQLException:...
I'm starting a development project and would like to know: How to name my variables, data fields, modules, etc.
What are the most sensible ways to name objects, etc.
Surely someone has a clear answer.
Hi,
Is there a way to make a jlist transparent?
Thanks
when i wrote code to create my second table in derby i got the following error-
java.sql.SQLException: Failed to start database 'C:/Users/Dell/Documents/N
attaching the whole error ....
please help..
Hi,
I am having trouble ceating a multi-screen ap in android/eclipse. I just want to clikc a button and another screen appears like
http://start-jandroid.blog
what happens is that...
I have a small C++ server and a java client. I send data from the client to the server. The recv() function of the server side does not receive the the data. I receive the size -1. But the otherway about works well (i.e. from server to the...
I have a weird issue in a spring controller (Spring vs 3.1.1). I am redirecting to a URL and the dispatcher servlet cannot resolve the handler method. It works when I click a link in the JSP but its broke when I create the redirect URL. The...
Hello,
i new to c# and programming i have to create something like this:
users user01 = new users("bob", "Piet"); //if no date given it should be set to 2012
users user02 = new users("Roels", "Lut",2003);
users user03 = new...
I am trying out the eclipse classic for the android development.
I installed ADT, android sdk and etc.
My first HelloWorld app comes up after 5 min.
Is that normal?
Is it going to take that much time each time I try run or test?
Hello experts. I have an Enterprise application that will soon be deployed in a clustered Websphere environment.
The application is built using the Spring 3.1 framework. I use the @Scheduled annotation for doing a variety of scheduled tasks...
I am developing a Java applet to access data on a Smart-card the code is working fine in a desktop application but when I move it to the applet ,I am getting the following exception javax.smartcardio.CardPerm
I think its something related...
Anyone know how to connect a SQL database to NetBeans? I went through the netbeans site and downloaded drivers. It says I'm connected but I can view my tables. Please help.
I have just read an article on encapsulation on wikipedia:
http://en.wikipedia.org/wi
It says:
"Encapsulation is to hide the variables or something inside a class, preventing unauthorized...
Hello I am new to my job. The server is throwing an exception all of a sudden.
Do you have any recommendations on how I should adjust the heap space on the environment variable? Or do you think a server reboot would do it?
This is a...
Hello:
I am learning jsp/servlets using tomcat. Please find attached along with this question a zip file containing source code for a simple MVC pattern wherein the servlet is the controller, the JSP is the view and a Plain Old Java Class as...
How to fetch live data from website ( without RSS feed / Webservice )?
Do you use any API ?
Example: Live cricket scores
I want to write a standalone java program which will fetch live data from site. How do I start ? What...
Hi,
I am trying to make a Java Agent in Domino Designer but since I am a newbie ,I somehow could not get a simple agent to work.
Can you guide me how to proceed?
Here is the code ; I wrote it under java icon in domino designer 8.5.3
...
Will java bytecode varies even if the implemented "job" or "design" is exactly the same?
For example: will the bytecode for i = i + 1; be the same as i++; ?
Another example: if the same relation between two classes was implemented in two...
I am just starting to learn java programming and have a website with a tutorial/walk-through on learning how to code in java.
I downloaded jdk-7u3-windows-x64.exe and it installed without a problem, I am working on a windows 7 box.
I'm at a...
HI
I am hosting my java based application on RHEL based server and Jboss 5 application server and using Oracle RAC as backend. I am keeping my datasource information in deploy/oracle-ds.xml file and password is also stored in plain text...
hi,
i have imported my msn history into my mysql database,
now i need a application or fast way to create a reader in java (using netbeans),
i'm new to data grids / database connections and so on,
and don't know where to start at all,...
Hey,
I'm trying to parse a few text files that range from a few KB to about 20 MB.
I've used ArrayLists before, but I switched to using LinkedLists, because I read here...
I've created my textbox and my submit button on the main.xml.
I'm trying to store the textbox value (in this case, let's make it someone's name) after hitting the button to a string variable.
Whenever I try to create the entry though, it...
Hi,
I have downloaded eclipse for win7 32 bit OS.
I want to create java games for mobile devices. Netbeans for this doesnt work (emulator problems and the workaround didnt work either)
I am totally confused about getting eclipse set up...
I can create a hellow world with eclipse/ android sdk.
Now I created virtual android devices for android 2.2 and 4.03.
q1) what are the limits to sd card or anything because my hello world app on 4.03 android AVD crashed win7 but the 2.2...
Hello,
i have made a program it ask for a money amount .
and it spits the money for example , If you give 150 its wil says:
1 X 100
1X 50
But when i try to use 150,20 cent
it doesn't work , i don't know what im doing wrong or...
Hi all
IT is correct i am a student learning this could someone please tell me why my return values are always 0 i have tested and a value is been passed and a value it been made for return b
I have an application which uses a simple form and allows attaching and uploading a file. The code is something like:
<input name="file_post[<?php echo $num; ?>]" type="file"/>
I then store the file itself in a directory and insert the...
Hi all -
I have a user that is trying to launch her gradebook from PowerSchool. It's a .jnlp file. Whenever you double click the file it flashes a command prompt window with some text and then does nothing. I opened the file from the command...
I have a secret key which is already in base64 format.
import javax.crypto.Mac;
import javax.crypto.spec.SecretKe
import javax.crypto.SecretKey;
import java.security.Key;
String key = "<base 64 encoded string>";
...
An android app I'm working on relies on a web page for most of its functionality. When a user clicks a link that would normally call window.open I would like it to instead call a custom function. That way it stops the app from opening a browser...
I have been trying different configurations without success. I need to access a SQL server Express 2008 R2 database using JDBC. The java program is a simple "connect" set of instruccions.
Here the steps I have followed:
1.- Downloaded and...
This line of code:
private JList< String > myList = new JList< String >();
compiles fine in my Eclipse dev environment, but then on the build system (TFS) gives a compile error:
type javax.swing.JList does not take parameters
Any...
Why does this cause an error?
I'm getting "Incompatible operand types int[] and int" on line 6
Hello Experts,
How do i export a certificate with private key from a tomcat java .keystore to IIS7 (.pfx)?
I have tried keytool -export but only seem to get the cert and not the cert and private key.
I have my database in MySql which resides in a machine in the network. I need to convert this db in MySql to sqlite and generate a .db file using java code.
I have the following credentials of MySql db using which I can connect to it.
...
I am interested to see how an expert would approach a simple scenario such as this:
4. Write a Java program which finds the square root of a positive double number recursively using the following algorithm:
A) input the number, x
B) if...
Can you please suggest the best you know?
Hey,
I'm trying to transmit a simple file using TCP with Java, but it keeps printing the escape characters, like "\n", in the new file... is there a simple way to avoid this? Rather than manually replacing the characters?
This is what...
I'm trying to pre-populate a Hashtable from a different class called ZipCodes
Here's my ZipCodes class with some test data:
When I call upon ZipCodes in my code, it compiles fine, it just doesn't have data inside of it.
Here's what...
Hi:
We're writing a java program to connect to an Access database.
This is the first time we do this (connect to an access database with java).
Here is the code:
//------------------------
try {
...
I tried this in one of my classes, is this possible in java? (In other words, how do you create a static list of objects without having to create it at runtime?
protected class widget {
int id;
String name;
String value;
}
...
so I'm trying to learn how to code with Java, and I'm making some progress, but I have something happening that is confusing me
twice now, with my tiny little "programs", I run javac at the command prompt on the file.java file I am trying to...
for_yan
893,063
Sage
1,000 points yesterday
ProfileCEHJ
258,666
Guru
1,050 points yesterday
Profilemccarl
93,106
Master
3,000 points yesterday
Profilegirionis
90,218
Master
0 points yesterday
Profiledpearson
86,565
Master
498 points yesterday
Profilechaituu
62,368
Master
0 points yesterday
Profilegudii9
57,252
Master
1,000 points yesterday
Profilesharonseth
47,283
501 points yesterday
Profileksivananth
39,726
0 points yesterday
Profilegordon_vt02
28,625
0 points yesterday
Profilesimonet
27,400
0 points yesterday
Profilemrcoffee365
23,455
0 points yesterday
Profiledravidnsr
20,609
501 points yesterday
Profileobjects
20,284
0 points yesterday
Profileknsp
18,558
0 points yesterday
Profilegurvinder372
18,104
0 points yesterday
Profilesanthanasamy
16,800
0 points yesterday
Profilemplungjan
16,568
0 points yesterday
Profilestmani2005
15,089
1,000 points yesterday
Profileramazanyich
14,200
0 points yesterday
ProfileCPColin
13,836
0 points yesterday
Profilearioh
13,298
0 points yesterday
Profilezzynx
12,280
0 points yesterday
Profilealexey_gusev
12,000
0 points yesterday
ProfileGertone
11,752
0 points yesterday
Profile