35,618 Topics

Member Avatar for
Member Avatar for TinyBelly

Help me guys..im trying to make event handling for button "Report" to display Value and Result on another window... i dont know what the problem...~ help me guys.. and can someone teach me how to do the meter to kilometer if i press "Convert" button.. p/s : sry for my …

Member Avatar for JamesCherrill
0
132
Member Avatar for Chitru

i googled for awt learnings then found a thread that awt is not necessary, you can directly go to swing. then i started swing, but i can't underdtand it that easily. now i know the very basic in swing, will you please help me to increase my accuracy by giving …

Member Avatar for JamesCherrill
0
313
Member Avatar for kayba

Ok I'm stuck on my school work. No I don't want someone to do the work for me but I need a good tutorial or pointers on how to get this assignment done. Write an Java Server Faces application using a MySQL database driver that connects to the registrar database …

Member Avatar for dononelson
0
86
Member Avatar for blackhook

im having hard time to get the output of the the ff. data: name of smallest pet, name of largest pet, name of the oldest pet, name of the youngest pet, average weight of five pets and average age of the five pets? this is what i did import java.util.Scanner; …

Member Avatar for jon.kiparsky
0
288
Member Avatar for thedalek

Hello, I've written a fairly simple program to print a string in a window...But my Java compiler (JGrasp) will not compile it. It says: JDemoGraphics.java:7: cannot find symbol symbol : method String(java.lang.String) location: class JDemoGraphics String companyName = String("Event Handlers Incorporated"); ^ I've checked my capitalization, run a debugging program, …

Member Avatar for yancouto
0
216
Member Avatar for itsmeisuru

Hi, I have a value in a string variable in java, and I want that string to get print using a printer. Please help me..

Member Avatar for jon.kiparsky
0
91
Member Avatar for Dean_Grobler

Hey there, I'm in somewhat of a predicament. Can you send HTML form data to a servlet on another computer over the net or something? If so, what would one put in the <form action="_"> attribute? Thanks!

Member Avatar for masijade
0
66
Member Avatar for Dean_Grobler

Hey guys, I've taken on a project where I have to code an applet that gathers information and sends it to a database. The thing is though, that the client's website is being hosted by some other unknown company. I have the impression that in order for this to work, …

Member Avatar for masijade
0
369
Member Avatar for JPramod

Hi, I am running Ubuntu in my machine and I tried this code: [CODE] import java.io.InputStream; import java.io.IOException; import java.applet.Applet; import java.awt.*; public class execute extends Applet{ String output=""; public void init(){ try { // Execute command String command = "ls"; Process child = Runtime.getRuntime().exec(command); // Get the input stream …

Member Avatar for mKorbel
0
743
Member Avatar for sumprit

Hi, everyone i am still could able to use Nested sub-header though i have found a link. Will anyone please come come forward and provide me some valuable suggestion. I have found the link but i could not able to use database values. http://www.swebb99.f2s.com/GroupableHeader/ How to include database values here.... …

Member Avatar for mKorbel
0
145
Member Avatar for jhonilson

Hi. I am using TinyMCE editor in my web but when I submit the form the text is save in the database without format. Could you tell me please How I can submit formatted text with JSP?? NOTE: *i am using netbeans 6.9 *the form is "multipart/form-data" *the tinymce version …

Member Avatar for jhonilson
0
74
Member Avatar for Ukiya006

Hi, I am pretty new to Java, only started learning bits here and there last Sept. Recently, I have been trying to implement a SMS sender with the help of RXTXcomm.jar What I didn't realise was that the RXTXcomm.jar that I have only works for 32bit Windows. I only realise …

0
63
Member Avatar for sciprog1

Hello Members, How do you color a range of cells in a WritableWorkBook (in Jxl)? Thank you!

Member Avatar for sciprog1
0
56
Member Avatar for gingerfish

hello programmers is it possible to extract some part of 2D array and make a new 1D array? for example from this array String[][] twoDarray= { {"s", "y", "r"}, {"s", "n", "r"}, {"w", "y", "r"}, {"r", "y", "p"}}; take first column of twoDarray[0] and make this `arrayString[] newArray = {"s","s","w","r"};` …

Member Avatar for gingerfish
0
796
Member Avatar for Mestika

Hi everyone, I'm working on a small project and have run into some problems. Briefly described, what I'm attempting to do is: I've a rather large text file with a different sentence and I need to find all the words in each sentence and add them to some sort of …

Member Avatar for JamesCherrill
0
450
Member Avatar for bhallarahul

can u please tell me how to make a graph or say what is a logic behind designing graph in jsp

Member Avatar for peter_budo
0
91
Member Avatar for jitsux

So I tried to write a program that creates 15 random strings then allows the user whether he wants these strings sorted in descending or ascending order. the original strings and the sorted one to be displayed accordingly as well. Here is my attempt: [CODE]class Sorted strings{ final static int …

Member Avatar for masijade
0
127
Member Avatar for Taimoor Rana

Hello lovely people, I created an application in which I use pictures to create background and other things. But when i send my application to someone so they can have a look at it, the image are not displayed. I know why they are not displaying(the image directory isn't the …

Member Avatar for masijade
0
98
Member Avatar for nickliutw

I'm working on a manage friend list program which allow you to add friends, remove friend from list, and display friend list. I have not finish this program yet. But I keep getting compile error at line 42 which I'm trying to create a method allow user to enter name …

Member Avatar for nickliutw
0
227
Member Avatar for Amoryethel

Hi, I'm in the midst of creating a BrickBreaker game, and I'm having a bit of trouble repainting the Ball back to where it originally started at the beginning of the game. Which only happens when the ball hits the bottom of the screen (initY == bottomBound || initX == …

0
59
Member Avatar for MrHardRock

Hey everyone, I have my code written I just have one error I am stuck on, any help is greatly appreciated, thanks in advance. My one error is on line 80 saying "illegal start of expression" pointing at the 'p' of public [CODE] import javax.swing.*; import BreezySwing.*; public class binary …

Member Avatar for cretaros
0
154
Member Avatar for cretaros

Can someone help me in implementing a JDate picker without using packages, whereby will click the calender icon and the calender will appear.

Member Avatar for cretaros
0
2K
Member Avatar for ahmed3415

Hi there, I need help with my assignment it has to do with Client-server programming and the following is what i have been asked to do for this assignment. So far i have the server reading from the file and the client is able to read the contents of the …

0
89
Member Avatar for neemo6

Wondering how one goes about testing which button was clicked in an actionperformed method. For example if I have 2 buttons named button1 and button2, and create an if statement what is the proper syntax, ive tried this but get errors. Where am i going wrong? [CODE] //declaring buttons Panel …

Member Avatar for neemo6
0
188
Member Avatar for goyofoyo

so I am creating a program that has a human bicycle car and truck and they all run on a street but they can collide. so I am confused on how I should write it, the car should be able to collide with the other three objects. I have more …

Member Avatar for VernonDozier
0
402
Member Avatar for Tellalca

Hey; I'm getting into Java. I'm coming from C++ base and I wonder how can we use "const" parameters in Java? For example if I don't want the function to be able to change the value of a parameter, what do I do? [CODE]void modify(RefObject parameter) { parameter.set(new RefObject); //should …

Member Avatar for Tellalca
0
382
Member Avatar for lookuta2011

hi guys am new to java and i have to display rotating images on a gui and use multithreading to alternate the four images. and i managed to create the gui but the images are not visible. the rotating images must be in the center of the frame. help..

Member Avatar for JamesCherrill
0
100
Member Avatar for javacle

I'm looking for a compact and small database engine to use, because i want to design an application that will store, record and get data from a database, i'm thinking of using VB or java as the programming language, the database that will work best for which programming please i …

Member Avatar for kinger29
0
173
Member Avatar for nHulk

Here's the thing, I need to create three dropdown lists each for day, month, year. Once these are selected, after clicking a button, the three selected values need to be concatenated and bound to a date column in a database table. String month=request.getParameter("month"); String date=request.getParameter("date"); String year=request.getParameter("year"); how to concat …

Member Avatar for nHulk
0
243
Member Avatar for dresposure

Hello every body............ I am about to do a project on chatting application. Can any1 plzzz tell me how to create a .bak file using Java.:)

Member Avatar for masijade
0
293

The End.