35,618 Topics

Member Avatar for
Member Avatar for gstang95gt

I am in my final weeks of my first Java Class. I have the next part of my program due over the weekend and I am stuck. The assignment is as follows: Modify the Inventory Program to use a GUI. The GUI should display the information one product at a …

Member Avatar for peter_budo
0
79
Member Avatar for nash99

Hi How can I access the DOM (inner html). I need to capture the innerhtml (the complete html , body structure)of the source page and then be able to open another html page using this inner html of the page selected. I tried different methods like using the ajax calls …

Member Avatar for kvprajapati
0
77
Member Avatar for Logi.

Hi there, Im not very good with coding UIs but having to do one for a program im writing atm.... I have two windows in seperate classes and they both extend JFrame. From Window A i open Window B from the menu options but when i then want to close …

Member Avatar for masijade
0
102
Member Avatar for kashn

Please tell me how/where is it explained on using Java Tables? I know about JTables, but the problem with that is that I can't seem to get rid of the onClick MouseEvent on that... I need a static table basically with 2 columns and 1 row. ~ Thanks!

Member Avatar for kvprajapati
0
94
Member Avatar for Xessa

Hi. I have a JSP page and servlet and a java class. Also a .js file. Anyways. I want to go to the database and select some variables from the database. After i select the variables i want to populate my HTML file with them with js code. The problem …

Member Avatar for kvprajapati
0
125
Member Avatar for exzibit23

i already connect to internet. but if im trying to access the site, it only gives me the code (page source) of it. why is that?

Member Avatar for exzibit23
0
68
Member Avatar for kingarthur

Hello everybody! I want to create a JTable (showing data from mysql..) on a Panel. But I dont get it..nearly every method is unavailable. Here is my code for creating it on a frame: [code] package gfx; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.*; import java.sql.*; import java.util.*; import …

Member Avatar for cruzer45
0
148
Member Avatar for shakeelahmed22

what is the difference between throw and throws clause in java???? mmm.....i no that all methods in java use the throw statement to throw an exception and the throw statement requires a single argument : a throwable object.... but plz can any1 tell me the function of the throws clause?????

Member Avatar for shakeelahmed22
0
110
Member Avatar for d.devendran

hi, currently i'm working on new project, where once login using a particular id, it can not be use again to login in same machine even with different browser or even in other machine. how can done this. can i create a separate table in database so i can save …

Member Avatar for kvprajapati
0
75
Member Avatar for gautam.ap

Hi, everyone i want to display the corresponding values when i click on the primary key ... How to do this in jsp...??? Thanks in advance

Member Avatar for kvprajapati
0
127
Member Avatar for kap_sni

i am making a project. i want my web page to send a same copy of text to diffrent names specified with difrent email ids. pls help. thanx in advance

Member Avatar for dreamer14
0
120
Member Avatar for grohit

Hi, I am trying to use MySQL full text search in my application, but surprisingly the query doesn't seem to be working for keywords like 'ASP.net','Vb.net' The query is given below, [CODE] SELECT * FROM tbl_postedjobs WHERE MATCH (keySkills) AGAINST ('ASP.net') [/CODE]

0
72
Member Avatar for Xessa

Hello. I want to execute an insert command when the result of previously select statement is true. Can i use both data source and result set in my method so i can check if the result is null or not. Or is there a way to see if ds is …

Member Avatar for kvprajapati
0
305
Member Avatar for still_learning

I am still kinda new to programming and I have a questions (yes it is a homework question), but I am not looking for you to give me the answer. I would like someone to explain to me how to go about determining the number of key comparisons for an …

Member Avatar for kvprajapati
0
385
Member Avatar for kashn

Is it possible? Like bringing a drawn image in the paint for JApplets? Is there any way to set a order of whats on the most top? Because I'm using a JTextArea, and have it do setText on the JTextArea while inside paint(Graphics g) and having it draw the image …

Member Avatar for kashn
0
63
Member Avatar for kashn

Hi, Is there a way to format a string into a paragraph format? The closest thing I got was entering the string into a JTextArea, but the only problem with this is that the words get split in between its characters making it almost seem like two different words.... - …

Member Avatar for kashn
0
272
Member Avatar for pankbharambe

Hi, I am doing a project in pure JSP, Servlet, Hibernate and MySQL. I am using jsp for a presentation and Servlet for buiseness logic. In my one jsp form there is one combobx and other textboxes are present. My problem is that, I want to fill that combobox from …

Member Avatar for kvprajapati
0
333
Member Avatar for grommet2481

So im trying despritely to understand how to create a maze and find the shortest path. I would just like to first understand how to create a maze. Theres no need for it to be outputted at this stage, I just want to understand how it works. I found this …

Member Avatar for BestJewSinceJC
0
1K
Member Avatar for BestJewSinceJC

from Java Sun's JavaBeans tutorial: "The accessor methods for a bound property are defined in the same way as those for simple properties. However, you also need to provide the event listener registration methods forPropertyChangeListener classes and fire a PropertyChangeEvent (in the API reference documentation) event to the PropertyChangeListener objects …

Member Avatar for Ezzaral
0
194
Member Avatar for freelancelote

Hi, I'm starting with Java and have an issue with how to use the classpath variable and where to put certain library. This is probably pretty easy but it's got to the point of driving me crazy. Now, I'd like to have my library, let's call it "mylib", under C: …

Member Avatar for JamesCherrill
0
196
Member Avatar for KeepGoing

Hi I'm just starting out with OOPin JAVA and thought i was getting the hang of it but i've been given an assignment and it's got me stumped. here is the code i have been given [code=java] public class FrogCalculator { private Frog operand1Frog; private Frog operand2Frog; private Frog unitsFrog; …

Member Avatar for VernonDozier
0
154
Member Avatar for exzibit23

hello, im a beginner programmer in java (J2ME), is there a way on how to unobfuscate a java? and how to obfuscate it?? (J2ME)

Member Avatar for masijade
0
339
Member Avatar for Gman36

Hi all, I am having a problem with the synchronizing the threads in the classic produce consume thread example. Below is my code for it. [CODE]public class Magpie extends Thread { private TreeHole treehole; private int number; public Magpie(TreeHole t, int number) { treehole = t; this.number = number; } …

Member Avatar for kvprajapati
0
112
Member Avatar for grisha83

My method is not working for some reason, even though i have done in exactly the same way the books showed. Could you please take a look at it and let me know what went wrong? Thank you P.S. I tried to use DEBUG technique and it seems that the …

Member Avatar for grisha83
0
78
Member Avatar for jaykom

I am importing three diff jsp files through foreach looping inside the parent jsp file. Three files are x.jsp, y.jsp, z.jsp for example. I want to extract the last file z.jsp from this loop and I need to put in to one seperate DIV element. How can I do this …

Member Avatar for kvprajapati
0
151
Member Avatar for rams_it02

Hi , I am using <logic:iterate> tag to iterate through a list of contents. When the List size is 1222, all the Contents in the List are displaying properly. When the size execdes 1223, the JSP is not displaying properly. I am not getting any exception also. I have added …

Member Avatar for shantechi
0
214
Member Avatar for RupeshParajuli

Hello Guys, I'm considerably Newbie to any programming whatsoever, and i'm having to take Java for my computer Science requirement. I'm currently working on an homework assignment to write an application that reads the (X,Y) coordinates for two points. I also need to compute the distance between them using the …

Member Avatar for shantechi
0
491
Member Avatar for didi00

Can someone help me to make a program in java: 1. Generate 2 rows of 50 random numbers (int) from 0 to 99. 2. Search the numbers that appear in the first row, but not in the second, and numbers that appear in the second row but not in the …

Member Avatar for shantechi
0
159
Member Avatar for varshatherain

How to dynamically get the login name after logging in so that i can use it to extract values on myaccount.jsp?? Please help..

Member Avatar for shantechi
0
82
Member Avatar for Talguy

I am trying to develop an application for my phone that will communicate with my personal linux server. The phone application will not be java based but the server will be. The Server will be sending me information from my database to my phone. How should I package my data …

0
54

The End.