35,618 Topics

Member Avatar for
Member Avatar for wizard wusa
Member Avatar for ceyesuma

Could you help me gain understanding the process I need to address?: String partial = ("SELECT c FROM content AS c WHERE c.artist LIKE \"%" + like + "%\""); (specifically I wanted("SELECT artist,song,book_title,pag_num FROM content WHERE artist LIKE \"%+like +"%""); String partial = ("SELECT c FROM content AS c WHERE …

0
55
Member Avatar for ceyesuma

[code] String partial = ("SELECT c FROM content AS c WHERE c.artist LIKE \"%" + like + "%\""); [/code] Is there any one that can explain the proceedure to get this query introduced into the persistence unit so it can be run? (netbeans6.1,MySQL,JDescktopApp) Thanks

Member Avatar for ceyesuma
0
101
Member Avatar for ambarish510

wen i write the following codes in a jsp file it is not working prperly the code is [code=JSP]<body> <p> <jsp:plugin type="applet" code="fphover.class" codebase="./" width="120" height="24"> <jsp:params> <jsp:param name="textcolor" value="#FFFFFF"> <jsp:param name="text" value="page name"> <jsp:param name="color" value="#808000"> <jsp:param name="hovercolor" value="#FFFFFF"> <jsp:param name="effect" value="glow"> <jsp:param name="url" valuetype="ref" value="p1.jsp"> </jsp:params> </jsp:plugin> </p> …

Member Avatar for ~s.o.s~
0
464
Member Avatar for aabundle

Hello, I have a simple GUI but when i put another Jframe in an action listener it squishes the main page in with the new Jframe, i know this is probably basic but my text book yeilds no result, here is my code. Maybe i am going about the process …

Member Avatar for aabundle
0
214
Member Avatar for wonder_laptop

hello guys, well i dont get it. what does it mean to say we have a 32-bit processor ?!! and why saying 32-bit processor implies that the virtual memory of the process is 2^32? please help

Member Avatar for wonder_laptop
0
130
Member Avatar for abhigaik007

i am trying to read an jpg image, so that i can identify the black dots in the image. as we have in mca/mba answer sheets, i am trying to read them. I have used pixel grabber, i have read the image but unable to process the black dots.

0
46
Member Avatar for comjisu33

instruction for quiz Next, write a class Quiz that represents a quiz consisting of true/false questions. This class should have exactly two instance variables: a one-dimensional array of TFQuestions that stores all the true/false questions of the quiz, and an int variable that records the number of true/false questions in …

Member Avatar for thekashyap
0
151
Member Avatar for kira4

import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; public class EmailSender { public static void main(String[] args) throws Exception { // Establish a TCP connection with the mail server. Socket soc = new Socket("gsmtp183.google.com", 25); // Create a BufferedReader to read a line at a time. InputStream is = soc.getInputStream(); …

Member Avatar for VernonDozier
0
139
Member Avatar for TheWhite

Well, this is my first post on here... I've found your message boards very useful when searching for problems so I decided to register and ask for help on this one since it's a little more specific than what I could find... I've had 3 semesters of programming in college …

Member Avatar for jasimp
0
92
Member Avatar for neonic75

Hi folks, Small bit of an issue trying to use ObjectInputStream and ObjectOutputStream. I'm tring to write an object of type reminder to a file so it can be opend later. not sure where im going wrong but somewhere. Not used to posting questions like this on forums but if …

Member Avatar for neonic75
0
269
Member Avatar for ceyesuma

Can someone show me what to do to get a query to run with persisence? [code] private void searchJComboBox1ItemStateChanged(java.awt.event.ItemEvent evt) { if (searchJComboBox1.getSelectedItem().equals("by Artist")) { String holdQuery = searchJComboBox1.getSelectedItem().toString(); setSearchInput(holdQuery); //searchJTextField1.setText(getSearchQuery()); } if (searchJComboBox1.getSelectedItem().equals("by Song")) { String holdQuery = searchJComboBox1.getSelectedItem().toString(); setSearchInput(holdQuery); //searchJTextField1.setText(getSearchQuery()); } } @Action public Task searchSplash() { if …

0
40
Member Avatar for Visualogic
Member Avatar for Gunjan Bhatt

I have tried my level best to complete the project within 2 months but I am not able to do that. I am getting the problem in retriving the data from combo box and displaying it on nect page and inserting it in MySQL database. I dont know the procedure …

Member Avatar for ~s.o.s~
0
136
Member Avatar for harlemworld12

Create a Java application that displays the product number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory (the number of units in stock multiplied by the price of each unit). Pay attention to the good programming …

Member Avatar for jwenting
0
90
Member Avatar for Sailor_Jerry

I am using IBM Websphere, and from here i can just click Run As java application, and the program runs inside websphere. But i want to run the program outside IDE. I created a jar file and everthing is correct with it. It has the MANIFEST.MF and all. So what …

Member Avatar for jasimp
0
114
Member Avatar for jk_bscomp

Hello everybody!!! Does anyone here knows how to add a data grid on the Jframe. I can't find a class to insert a data grid .... I hope you could help me with this one. YOUR HELP IS HIGHLY APPRECIATED!!!!

Member Avatar for masijade
0
38
Member Avatar for taliGLM

this is an urgent project and i have no idea where to begin, if i could get help this time, and someone send me a tutorials on how to do this stuff and willing to teach me because my teacher fails to teach...i would be ever so grateful. /* Fix …

Member Avatar for jwenting
0
128
Member Avatar for javauser215

I am receiving and error when trying to compile and cannot seem to figure out why and would appreciate any help. [code] public class Product { private String itemName; // variable that stores the cartridge name private int itemNumber; // variable that stores the item number private int invStock; // …

Member Avatar for javauser215
0
3K
Member Avatar for Kusno

Dear all, I'm newbie in Java/JSP. I have created project with Java Desktop for university lecture subject. But I still have one task, still with Java but in Web environment. I have this class. This class is used to get connection to MySQL. I create it for Java GUI [code=JSP]import …

Member Avatar for ~s.o.s~
0
140
Member Avatar for terence193

i haven't started learning Java yet... Can someone help me about java and tell me from where i need to start to learn this programming language?? PlS HELP!!

Member Avatar for javaAddict
0
127
Member Avatar for drama

Hi Guys, Does anyone know how a jsp page can call an xls file that resides in tomcat. For example, I am accessing xxx.jsp, and on xxx.jsp, there is a link - when I click on the link, it brings up the excel file. Does anyone know if this is …

Member Avatar for jwenting
0
58
Member Avatar for comjisu33

First, write a class called TFQuestion that represents a true/false question. This class should have exactly two instance variables: a String variable that holds the statement of a true/false question, and a boolean variable that holds the correct answer. This class should provide the following public methods: A constructor that …

Member Avatar for comjisu33
0
117
Member Avatar for bpushia

I am trying to get the ST.java (Server Thread) to communicate with the CT.java (Client Thread), i am stuck at this point, i dont know rather it is something to do with the port # and host, or if it has anything to do with the Server thread, please reply …

0
77
Member Avatar for wujianwei

the java teacher wants us to write a program project. he says we can do whatever we wanna do as long as it is not too easy and must be interesting. do u think it's hard to write a game program using java in graphic user interface (GUI)? By the …

Member Avatar for majestic0110
0
98
Member Avatar for chweetnancy

Need help with this code. Anyone with knowledge on java please help. i found some on this forum, but that is also wrong. can anyone give me some help what is want is to smooth the values in an integer array. If its totally wrong please dont yell [code] import …

Member Avatar for jwenting
0
105
Member Avatar for Karkalash

Hi. I'm supposed to reverse a number based on user input. Example, if the user inputs 123, the output should be 321. However, so far, the way it is now, if the user inputs 123, the output is 312. I'm a little lost -_- help please. [code]while ( input != …

Member Avatar for peter_budo
0
110
Member Avatar for aashanugraha

how can i calll a crystal report from a java swing program? can u pls send the answer with an exampl what are the jar files to be down loaded? and the xml files?? thanks in advance

Member Avatar for jwenting
0
48
Member Avatar for ravikiran.s

import javax.mail.*; import javax.mail.internet.*; import java.util.*; import javax.activation.*; import java.io.*; public class SimpleSender { public static void main(String args[]) { try { String smtpServer=args[0]; String to=args[1]; String from=args[2]; String body=args[3]; send(smtpServer, to, from,body); } catch (Exception ex) { System.out.println("Usage :\njava SimpleSender server to from body"); } System.exit(0); } public static …

Member Avatar for ravikiran.s
0
118
Member Avatar for swapna7999

hi is it possible to run a java application on a linux server if so, is it possible to run the exe of the application in the linux server or an applet should be called initially i was doing my project in vb and since it is not possible to …

Member Avatar for jwenting
0
43

The End.