473,574 Members | 2,556 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
0
947
thread by: CatchSandeepVaid | last post Apr 27 '09 by: CatchSandeepVaid
Say i have one-to-one relationship Say i have one-to-many relationship between Product and ProductNames Product ----> PID (PK) ProductNames------> PID, USECODE, STARTTIME as composite ID and ENDTIME is another normal column. Now i want to fetch product with PID='1' and USECODE='100' and STARTTIME < CURRENTTIME < ENDTIME. ...
0
947
thread by: sandyonline | last post Sep 4 '10 by: sandyonline
hi am doing a project in j2me..i have to connect with either sql or ms-access..please someone tell me how to integrate connect the database with j2me
0
947
thread by: bj teo | last post Mar 8 '11 by: bj teo
Hi, I am facing a problem where many empty .log (e.g. xx.log.1, xx.log.2, ...) & .lck files are being generated when using java logging. I did see some comment to say that the problem had been resolved in 1.5, is that true? cos i did try and seems the problem still persists. And also, somebody has advised to create a singleton logger to...
0
946
thread by: bdan44 | last post Apr 12 '07 by: bdan44
HI, I have a perl script that I want to call in java. I can call it, the only problem is that the perl script has <STDIN> and the perl sciprt doesn't work. Other perl scripts(without <STDIN>) do work however. here is my code: import java.util.*; import java.io.*; class Rename { public static void main(String args) { try {...
0
946
thread by: itsmesrini85 | last post Dec 6 '07 by: itsmesrini85
Hi' i need a jar file "TagSys.jar". If any of you have that file, pls reply.. Thanx
1
946
thread by: ouzy27 | last post Apr 3 '08 by: JosAH
hey! i'm kind of new to java and i want to implement a Nine Men Morris game, but i'm still not sure about the data structure i should use. I'm thinking either 2 dimentional arrays or circular double linked lists. Please help me choose... what do you think is best. and if you choose link Lists please tell me how to connect the 3 lists together at...
0
945
thread by: lau804 | last post Dec 4 '06 by: lau804
would someone pls help me with my coursework? i need to write a java program which implements a simplified file system.
0
945
thread by: bravo | last post Jul 13 '07 by: bravo
hi i wish to perform some image io operations using servlets for that i need the jar files of the following packages com.sun.image.codec.jpeg Acme.JPM.Encoders.GifEncoder plz tell me the links from where i can download these packages i have searched google for that but couldnt find it.....
1
944
thread by: gasto | last post Mar 26 '07 by: r035198x
Dear sir, Does java supports animation in applications and not in applets. If yes can i have a link where i can have help, otherwise can i call an applet from my application and how to do so help
0
944
nomad
thread by: nomad | last post May 4 '07 by: nomad
I'm trying to figure out how to assign a keystroke and a click to a menu item. Example If a user click on a menu and selects the Close the program Menu and chose Close. I want the program to open (//inner class Section used for exit on menu 3 for fun) ie "Exit Program". here is my code so far. public class GUIMenu extends JFrame { ...
0
944
thread by: praveen2gupta | last post Aug 29 '07 by: praveen2gupta
Hi I would like to seek help in Applets using Java Media Framework for displaying video files. Any Link / code for this type of application will be appreciated.
2
944
thread by: srija | last post Jan 24 '08 by: 2008serela
Could you tell me how to show 10 records out of 50 records in a page in jasper reports Do provide an example
4
944
thread by: rotaryfreak | last post Oct 29 '08 by: chaarmann
i was just wondering if there was a method in java that would return the number of occurrences of a letter. for example, if the string was: String hello = "Hello World"; id want a function that returns the occurrences of the letter "l" and would return an integer value of 3 any suggestions? thanks
0
943
thread by: stroken | last post Mar 4 '07 by: stroken
Hi I would like to do a little application that shows the information that is sent over the internet between two programs (server and client). The client is .exe, but I know the IP and ports that is used. Any recommendation how to start? (where should I start and look in the API) Is it even possible using java? or should i use C++?
0
943
thread by: abhilash12 | last post Oct 19 '07 by: abhilash12
how can implement single sign on java pls give me code
0
943
thread by: Nikkhah | last post Jun 29 '10 by: Nikkhah
Hi every one. I want to exteact the content of between tags "div" but those tags that are writen <div class="abstr"> ..... </div> how can I do this?
0
942
thread by: Atul Singh | last post Nov 16 '07 by: Atul Singh
C:\Documents and Settings\atulsi\Desktop\New Folder\fire fox.jpg C:\Documents and Settings\atulsi\Desktop\New Folder\safari.jpg
1
942
thread by: jemar19 | last post Aug 4 '08 by: JosAH
for loop any character and will output pyramid looks like this * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
1
941
thread by: Sira Raven | last post Oct 8 '07 by: r035198x
In the Color Class, there's a method GetColor which returns a color and accepts a string of the color you want, and I'm having problems getting it to work - namely, I want to know exactly what this string it takes is. Is it the name of the color you want, so you could type GetColor("BLACK") and get back the Color.black, or is it some other...
2
940
thread by: kaka123 | last post Feb 26 '08 by: BigDaddyLH
im doing an applet and this is what i have so far import java.awt.*; import java.awt.event.*; import java.applet.*; import javax.swing.*; public class Applet1 extends JApplet { Thread t = new Thread();; int p1;
0
940
thread by: chaitanya83 | last post Dec 8 '09 by: chaitanya83
javax.servlet.jsp.JspException: Conversion Error setting value ''{0}'' for ''{1}''. at com.sun.faces.taglib.html_basic.SelectOneMenuTag.doEndTag(SelectOneMenuTag.java:515)
0
940
anurag275125
thread by: anurag275125 | last post Feb 15 '10 by: anurag275125
Hello Bytes.com members..... I write a swing program that automatically re-size the separator. But I didn't understand the significance of jseparator.revalidate() line in the code. here is the code.......... import java.awt.*; import java.awt.event.*; import javax.swing.*; /* <applet code=resize_separator.class
0
939
thread by: jhun | last post Sep 8 '06 by: jhun
please help me in making a program to display two (2) characters in repeatedly in two lines and could display a msg if the char entered in not equal to two(2) and if posible a selection for alphanumeric, numeric or characters only thanks in advance and more power
1
939
thread by: 083102 | last post Jul 23 '07 by: JosAH
Hello, Would any of you happen to know the code for finding the average of responses to a survey? For example, there are 6 questions. Normally, I'd sum the 6 scores and divide it by 6. However, some respondents may only answer 5 questions. In that case, I'd take the sum of 5 and divide it by 5. My problem is that the DatStat program I'm...
0
939
thread by: divya9999 | last post Dec 7 '07 by: divya9999
What does dcsMultiTrackHREF function do

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.