35,618 Topics

Member Avatar for
Member Avatar for mikewyatt

I have multiple embedded database that all work fine while running inside netbeans, but when running the program outside (stand alone) of netbeans one of the databases does exist ie the error java.sql.SQLSytaxErrorEception: Table/View'RACE_DATABASE' does not exist. The database is confirmed as embedded when checking its properties. this was working …

Member Avatar for juliuas
0
287
Member Avatar for hwoarang69

using: eclipse I have created a android app and I am trying to add some ads on to it. I am using admob.com but I am not sure what I am doing wrong. First here is error I am getting: #------- #ERROR: #------- 08-27 23:09:03.650: E/AndroidRuntime(26340): FATAL EXCEPTION: main 08-27 …

Member Avatar for peter_budo
0
1K
Member Avatar for titus.k.s

i ecounter problem again, this time different, i've success compile my project from.java to .jar then compile .jar to .exe, then i have try my .exe result, so at first was working well, but when need connection to database, that was appear notification connection failed .. thats all my problem.. …

Member Avatar for titus.k.s
0
91
Member Avatar for titus.k.s

what should do? if show() replace with setVisible(True) then.. getText() replace with ? addItem() replace with ?

Member Avatar for stultuske
0
109
Member Avatar for titus.k.s

when i was compile with -Xlint: unchecked then got some warning like this Compiling 12 source files to C:\Users\Titus\Documents\NetBeansProjects\SITA\build\classes warning: [unchecked] unchecked call to addItem(E) as a member of the raw type JComboBox what should i do?

Member Avatar for jwenting
-1
261
Member Avatar for titus.k.s

i had use combo box like this {jComboBox2.addItem("-- pilih menu --"); try { String sql = "select * from iomenu"; Statement cn = con.createStatement(); ResultSet rs = cn.executeQuery(sql); while (rs.next()) { jComboBox2.addItem(rs.getString("KodeMenu")); } } catch (Exception e) { } } but when i build that was had warning like this …

Member Avatar for stultuske
0
328
Member Avatar for titus.k.s

can you resolve this warning? warning: [deprecation] getText() in JPasswordField has been deprecated

Member Avatar for stultuske
0
150
Member Avatar for Chem_1
Member Avatar for anand01

Dear All, Recently I have updated jre 1.7 with update 55 in client machine. When I open a applet application form loading time increased up to 1 min. The same application is working fine in java 1.6. As of my understanding this happens because of certificate revocation checks. When I …

Member Avatar for anand01
0
169
Member Avatar for johnson_2

First of all I apologize as my explainations is going to be lengthy I have a server that listens to incoming clients and they are connected to localhost. **Assuming that I only have 2 clients and assuming they only enter a text ONCE** so each time the client is connected, …

Member Avatar for raj.mscking
0
313
Member Avatar for m4mukulgarg

Hi all ive been thinking of a writing a compiler in java for my final year project. I have started to browse the net for help but to be honest its confused rather than helping me to get a clear image of what I would like to do. Ok.. let …

Member Avatar for Schol-R-LEA
0
543
Member Avatar for surya55

Hi all, for the below code: class A{ } class B extends A{ } why we extends 'A' class to inherit the properties in 'B'? Here we can use, class B{ A a = new A();//to get properties of 'A' class } why should we go for inheritance by using …

Member Avatar for stultuske
0
180
Member Avatar for R0bb0b

Hi, I am a PHP developer that has been put on a Java project and am trying to apply the same principles with new ones that Java provides and am stuck. I have successfully instantiated a class with a variable class name, which contains a constructer that has one parameter. …

Member Avatar for R0bb0b
0
174
Member Avatar for aone.gaiemoabi

you are to write a Java program that asks the user to enter the following 4 numbers one at a time: 4.34 , 2.39, 1.34 0.9. Thereafter the is to print all the numbers back onto the screen followed by the average of the four numbers. Finally it should print …

Member Avatar for Slavi
0
150
Member Avatar for soche123

Hi guys how are you? I am having tough time extracting data from the ms database. I have three rows. WHat I want to do is the extract data from these three rows and pass to labels and display in the frame. But I'm stuck on the first one. my …

Member Avatar for llaspina
0
252
Member Avatar for surum
Member Avatar for stultuske
0
123
Member Avatar for soche123

int counter; counter=1; rs = statement.executeQuery("SELECT * FROM Quiz WHERE SrNo=counterr");

Member Avatar for stpatrck
0
109
Member Avatar for Steve_19

I was studing the ant task dirname. I am in over my head understanding this animal. It suggests to me that I could use build.properties and or build.xml properties . The same possibility arises in java code and I benefited greatly by loading xml properties. In the ant enviornment is …

Member Avatar for Steve_19
0
168
Member Avatar for Chem_1

what is the difference between this packages in Eclipse?Im beginner in java which package should i download. Luna Packages Kepler Packages Juno Packages Indigo Packages Helios Packages Galileo Packages Ganymede Packages Europa Packages

Member Avatar for jwenting
0
182
Member Avatar for softDeveloper

Hi everybody! I´ve used jdk to generate my certificate with the following command: keytool -genkey -keyalg RSA -alias certificatekey -keystore keystore.jks -storepass password -validity 360 -keysize 2048 Everything works fine when I want to digitally sign an e-mail using: import javax.mail.* and import javax.mail.internet.* # and MimeMessage and Multipart. #. …

Member Avatar for stultuske
0
223
Member Avatar for henryz_box

I have a button with action listener. When action is performed I call a method to show a label with my message using: Actionperformed(){ ShowMessage(); PerformAction(); } NOTE: This code is just an example. The problem is the message never shows even though the action is performed. Any help will …

Member Avatar for henryz_box
0
339
Member Avatar for Clif40RD

I'm Having a problem with trying to figure out how to get my program to switch from one tab to another after a specific "Jbutton" is clicked. As displayed Below.

Member Avatar for llaspina
0
509
Member Avatar for surya55

Hi everyone, consider below code: interface i{ void test(); } class A implements i{ void test(){//code goes here} } class B implements i{ void test(){//code goes here} } here,we can implement method straightaway in class itself, without using interface like, class A{ void test(){//code goes here} } why we want …

Member Avatar for ~s.o.s~
1
230
Member Avatar for softDeveloper

Hi everybody! I´ve used jdk to generate my certificate with the following command: > keytool -genkey -keyalg RSA -alias certificatekey -keystore keystore.jks -storepass password -validity 360 -keysize 2048 Everything works fine when I want to digitally sign an e-mail using: # import javax.mail.* # and # import javax.mail.internet.* # and …

0
157
Member Avatar for 2384443

Hi, evry1.. i need yur help.. i want to place an image as my background.. how am i supposed to do it..?? i have tried this `setBackground("C:\\image\\background.jpg");`i also tired this `Icon m1 = new ImageIcon("C:\\New folder (5)\\background.jpg");lb1.setIcon(m1);` But none of this is working.. what shuld i do???

Member Avatar for raj.mscking
0
391
Member Avatar for Chem_1

I had installed Java SE 7u67(windows7 64bit) in D: drive after that i installed netbeans 7.4 but it is showing JDK(1.7.0_67)not compatible with netbeans.

Member Avatar for JamesCherrill
0
96
Member Avatar for castajiz_2

I ve made an windows phone app in c# and now I m making equal android app. I ve come to the problem where I have to compare some times. In c# there is a well known TimeSpan class but I see that java(Android) does not have such class. Could …

Member Avatar for castajiz_2
0
852
Member Avatar for niccid76

I am new to Java programming and I am struggling and I need help understanding how to write this code for writing a statement public method called calculate interest that accepts account balance and interest rate as arguments. This method should calculate and return the interest by multiplying the two …

Member Avatar for Taywin
1
216
Member Avatar for nathan rashid

hi!!.. my name is nathan i am trying to davelop voice to text java application i am required to use javax.speech package and i cant find it on my java packages. if any body knows where i can dowmload it please help!!

Member Avatar for raj.mscking
0
1K
Member Avatar for johnson_2

I observed one thing about my right click on the JTable. If I right click on a row. it shows my popUpMenu item. But now if I right click on another row, I must right click 2 times on the other row before my Jpopup appears. Is that any way …

Member Avatar for mKorbel
0
568

The End.