36,051 Topics

Member Avatar for
Member Avatar for SaranyaKrishnan
Member Avatar for pbl
0
71
Member Avatar for SarasotaTim

Hi guys...I can't seem to find this specific information online anywhere, which tells me initially that it might require a workaround...I'm a Cold Fusion developer, and have no JSP knowledge whatsoever. I've figured out how to do a redirect based on an if/then statement...the problem is, I need a page …

Member Avatar for Shanti C
0
73
Member Avatar for sirlink99

I am having some trouble on inheritance in java. I am just testing how it works. I have a file that produces a random number in a folder called number. I have a file that calls the RandomNumber code that is in the main folder. I am wondering how I …

Member Avatar for pbl
0
89
Member Avatar for rayden150

could anyone give me guide on how to solve this simple java problem, i would deeply appreciate it, the problems goes like this> [B]Develop ab application in java that determines if any clients have exceeded thier credit limit in an account each client have the following data> a)Account number b) …

Member Avatar for pbl
0
105
Member Avatar for javap

I want help in writing a digit display(3 digit number) in java (using sub strings). Example 524 if user inputs then computer has to display 5 2 4.

Member Avatar for JKP()
0
148
Member Avatar for misszeze

hello Java programmers I need a method to check links to validate them if they were valid or broken, so far i found two methods at the internet: 1- the first one code: [CODE]HttpURLConnection urlConnection = null; try{ URL url = new URL(link); urlConnection = (HttpURLConnection) url.openConnection(); urlConnection.setRequestMethod("GET"); urlConnection.connect(); String …

0
47
Member Avatar for adams161

I have found out a program similar to mine, a chess interface, named jin, jinchess.com, deploys on mac as an SDI program. This means all the windows are free floating and i think the menu is detached. Any idea how this is done? the same program deploys under windows as …

0
101
Member Avatar for mangopearapples
Member Avatar for mangopearapples
0
141
Member Avatar for john sigma

hi guys, i am using eclispe 3.5 to develop a hangman game but im in no man's land now. I have created 26 alphabets buttons A-Z and i want to display the alphabets in the JTextField when the button is clicked. When the user guesses the word incorrectly the word …

Member Avatar for jon.kiparsky
0
203
Member Avatar for gedas

hey, i have drawn few 2d lines and i would like to apply a button for each of them so once the button is clicked that line is removed once clicked again it would reappear. the rest of the lines stay where they are unless their buttons are clicked. how …

Member Avatar for JamesCherrill
0
75
Member Avatar for cool_jatish

Hello guys... I am working to module need to convert any UNICODE words/ chars that never change with font To their equivalent HTML numeric & JAVA unicode [\u****]. In the JSP the charCodeAt(i) function works but in JAVA no such utility exit ... Plz write with such an suitable example …

Member Avatar for quuba
0
194
Member Avatar for sharathg.satya

haii friends please help me in how to play a music file in java please i tried many ways by using google and other ways but was unable to get a clear idea please help me

Member Avatar for sharathg.satya
0
174
Member Avatar for RaySan

I am a newbie on Java. I think im lucky to find this site. I am doing a technical presentation and my title is to present about IDE on Java. I have researched on some of the IDEs for Java such as Eclipse, NetBeans, JBuilder,Jcreator. My presentations would be on …

Member Avatar for masijade
0
475
Member Avatar for SeanC

Hi all, I'm writing a simple encryption algorithm and have stumbled upon a problem relating to the file handling itself. What my program does is reads text from a file, encrypts it, and writes it to another file. That's all well and good, and it works fine - until a …

Member Avatar for SeanC
0
462
Member Avatar for Eliza Mehta

Hi All, I have some Services which are deployed in IBM Application Server.I have a Jsp Page which displays the list of all the Services deployed on that Server.All the Services deployed come as links.My requirement is that when i Click on any of the Link of the Service, it …

0
41
Member Avatar for Shanti C

Hello All, I am new to JSP. Currently i am working on jsp project with mysql. I got stucked with jsp date and time which supports mysql datetime format. [I need to do more time calculations in my project.] Please come up with your suggestions. Thanks in Advance. SHANTI.

Member Avatar for Shanti C
0
188
Member Avatar for mani_1991

I have a situation like this... I have four different tables namely btech_ece, btech_cse, btech_it, btech_eee all these tables have the same columns. Its just that the name differs and everything else is same. Their columns are:- Id Year Semister Section Period SubjectCode Date Status now i have four different …

Member Avatar for pbl
0
186
Member Avatar for techalerts

hi frnds, i completed mca 5th semister. now i want to do a project on java. could any one help me what are the current best projects on java?

Member Avatar for JKP()
0
67
Member Avatar for Janes

Hi, I have a problem, I doing a project in Java, the program I have already written. But I need to do the GUI,but I do not know how to do it. The program plots the curve. Would not it help someone with it please? I have despaired of it.Thanks

Member Avatar for mrnutty
0
133
Member Avatar for lse123
Member Avatar for peter_budo
0
77
Member Avatar for Coyboss

Hi all I am trying ot use Netbeans 6.9.1 to write a basic "hello world" java script, but it keeps giving me the following error; ********************************************************************** debug: Have no file for C:\Program Files\Java\jdk1.6.0_23\jre\lib\modules\jdk.boot.jar java.lang.NoClassDefFoundError: helloworld/Main Caused by: java.lang.ClassNotFoundException: helloworld.Main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) …

Member Avatar for ~s.o.s~
0
164
Member Avatar for kvass

Hey Everyone! I need some help with a JTable I'm working on. [CODE] TableColumn column = table.getColumnModel().getColumn(2); ... JComboBox comboBox = new JComboBox(); comboBox.addItem("A"); comboBox.addItem("B"); comboBox.addItem("C"); comboBox.addItem("D"); comboBox.addItem("E"); comboBox.addItem("F"); column.setCellEditor(new DefaultCellEditor(comboBox)); [/CODE] I know that the code above will take the column of the table at index 2 and give …

Member Avatar for kvass
0
129
Member Avatar for siva ganesh
Member Avatar for ~s.o.s~
0
35
Member Avatar for PythonNewbie2

Hello, I'm exploring some technologies and JSP with JSF 2.0 and Primefaces seems really cool. I'm new to all of these, but I'm a fast learner. I wondering if I can create the web app I want withh JSP/JSF/Primefaces? Here's a basic description of the app: 1. Users log in …

Member Avatar for ~s.o.s~
0
93
Member Avatar for Yangz_Seth

*Please HELP me make a program that will determine a 24-hour equivalent from the given input: Ex: 1:00pm - input 13:00 - output 5:45pm - input 17:45 - output.. *HELP Guyz..PLEASE..for our assignment..tnx alot..God Bless..

Member Avatar for Yangz_Seth
-1
124
Member Avatar for christos312

Hello to everyone and happy new year... I have 3 JRadioButtons in my JFrame [CODE]private JRadioButton one = new JRadioButton("one "); private JRadioButton two = new JRadioButton("two "); private JRadioButton three = new JRadioButton("three ");[/CODE] And I Have add them to a group [CODE]private ButtonGroup Group = new ButtonGroup();[/CODE] [CODE]Group …

Member Avatar for christos312
0
603
Member Avatar for lse123

A jar or exe file [Java App], may contain images etc files inside one file the file.jar or file.exe? In NetBeans and Eclipse, how do this one file [jar] or an file.exe containing All files of the IDE's wanted Project?

Member Avatar for ~s.o.s~
0
296
Member Avatar for JakeStanely

Hey everyone and happy new year. I'm a java beginner and I am doing my first program, a dvd rental system. I've got 4 classes with the following variables: the main class the dvd class - dvdID, title, rating, producer the cleint class - cleintID, name, surname, address the rentals …

Member Avatar for JakeStanely
0
308
Member Avatar for de.ICeman

I HAVE DONE CORE JAVA , AND WANT TO MOVE TO ADV.JAVA . BUT IN CLASS AS ADV.JAVA THEY STARTED EJB (ENTERPRISE JAVA BEAN) IT BIT HARD TO UNDERSTAND . SO HAVE I MISSED ANY STEP??? OR ANYTHING SHOULD BE DONE BEFORE MOVING TO eJB??????? plz adviCE ????????? AND HOW …

Member Avatar for devi.....
0
94
Member Avatar for manish250

hello all i have a directory in which a lot of log files are there which are text files.i want to search a particular no in all logs and want 4 fields of logs corresponding to that no. for tht i am using a script in which i am cutting …

Member Avatar for peter_budo
0
87
Member Avatar for kdmuk10

I was trying to find the smallest common divisor for the numbers from 1 to 20. I tried the following code. My problem was how to get back to the beggining of the for loop after the if test has found the number is not divisible. But then i added …

Member Avatar for kdmuk10
0
107
Member Avatar for mangopearapples

I'm trying to make it so when I press ESC, it RestoreScreen() but it doesn't work. Now I don't know whether it's my method RestoreScreen() or my listeners. This is my code: [code]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class main extends JFrame implements MouseListener,KeyListener{ public void keyPressed(KeyEvent e) { …

Member Avatar for roxin_phoenix
0
186
Member Avatar for gazzatav

I'm reading a book called Beginning Algorithms by Harris and Ross, which gives code examples in Java. As an academic exercise I am trying to convert the code examples to C++. In the interface below the part that throws me is the return of the 'Object' by the 'current' method. …

Member Avatar for gazzatav
0
435
Member Avatar for DanieltheE

hello all, this is my first post here and I have searched for answers elsewhere before asking for help. My code is pretty tight, but I keep coming up with symbol not found errors. Are my curlys not in the right place? Or have i not declared the objects correctly. …

Member Avatar for JKP()
0
155
Member Avatar for newcoder310

Hi I'm new to programming so I need a little help with packages. I have created 2 packages test1 and test2 with p1.java and p2.java respectively. Both have default access. I'm trying to extend p1 with p2 and have tried to import test1 but the error im getting is that …

Member Avatar for JKP()
0
98
Member Avatar for scobi

could u tell me plz how we can Radio Button in different location as wel as in image atachment.

Member Avatar for scobi
0
77
Member Avatar for Web_Sailor

Hi, I have a submit button in my JSP page. I also have drop down menus and text area in my form. Now my condition is like if drop down values or text area are null in this case if a user wants to submit he should get an alert …

Member Avatar for rakhi4110
0
880
Member Avatar for daudiam

I understand that int values, when autoboxed, are interned i.e no 2 objects containing the same int are present, and so we can compare two Integers by == So why does the following happen :[CODE]Integer iRef1=1000; Integer iRef2=1000; System.out.println(iRef1 == iRef2); System.out.println(iRef1.equals(iRef2));[/CODE] This prints [CODE]false true[/CODE] On the other hand, …

Member Avatar for daudiam
0
127
Member Avatar for daudiam

Why do local inner classes not allow static variables ? The static fields of the classes could at least have been allowed access from the local method ?

Member Avatar for ~s.o.s~
0
164
Member Avatar for Jemo2008

type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 34 in the jsp file: /job_link_insert.jsp Syntax error, insert "AssignmentOperator Expression" to complete Assignment <%@ page import="java.sql.*"%> <% …

Member Avatar for ~s.o.s~
0
506
Member Avatar for seun101

public class Account extends javax.swing.JFrame { /** Creates new form Account */ public Account() { initComponents(); setTitle("Bank Account"); jTextArea1.setEditable(false); } /** * @param args the command line arguments */ private int accountNumber =0; private double balance =0; public Account(int accNum, double bal) { accountNumber = accNum; balance = bal; } …

Member Avatar for JamesCherrill
0
99
Member Avatar for fahadyousaf

i want to insert date in ms-access database entered by user using jsp. please help me in this issue ...

Member Avatar for javaAddict
0
79
Member Avatar for p.saiprasad
Member Avatar for gedas

hey, i got a method that returns value which is java.util.List<java.lang.String>. this method actually contain data that was stored from .txt file which is simply names of people. how can i display this in the JList or how can i convert this value to a simple array so later i …

Member Avatar for quuba
0
231
Member Avatar for niks4all

hello all... I am reading an excel file and displaying it with some background images (added by me)using jsp,apache(poi).now the problem is I should send this displaying content to many mails and this content should be in body and not as an attachment....... can anyone help me please....hoping for your …

0
38
Member Avatar for kangkan_14

Can anyone please explain what is 'public' and 'private' in oop and specifically in java? I am a bit confused.

Member Avatar for kangkan_14
0
278
Member Avatar for billy leung

Hi everybody, actually i am new to Java, and i would like to write a program that to find who is a copycat, for example, i get six txt file, all of these are juz put inside a folder, i guess i should get all the txt file to array, …

Member Avatar for billy leung
0
178
Member Avatar for in._.cloud

Hi to all I have one question about error in my code.. If I have compile the code in the NetBeanse , not found any error .. but if compile it in Command Line, I have errors. I attached my post with the code and 3 picture of run include …

Member Avatar for pbl
0
41
Member Avatar for renovatiotr

I got that code from [URL="http://www.javafaq.nu/java-bookpage-19-3.html"]here[/URL]. Everything's working except the balls! There is panels, splitpanes etc. Oh Look, no balls! I need to solve it like in an hour. Please help. I say again; please... [CODE]import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.event.*; public class Split …

Member Avatar for Akill10
0
110
Member Avatar for jaycastr

Hey guys im getting back into Java after a break from programming. And i was wondering what is the best integrated development environment for running java.Im sure there is no one Best, but your input would be greatly appreciated.

Member Avatar for Akill10
1
460

The End.