32,199 Topics

Member Avatar for
Member Avatar for riahc3

If I go to [url]http://localhost/somefolder/somepicture.bmp[/url] I cant see if in my navigator. Now If I go to C:/somefolder/somepicture.bmp It works perfectly. This is completely driving me crazy. I really have no other methods that I could try to get this to work. Ask questions and Ill try to give answers..... …

Member Avatar for riahc3
0
99
Member Avatar for anhtho3008

So here is my assignment: Write a java program to read a name from user . The name is typed all in one line. The name may include 3 or 2 or 1 part from: firstname middlename lastname You should create an email id from the name and print it. …

Member Avatar for anand01
0
284
Member Avatar for rushi3311

I have one query regarding managing information in JSP pages...! How to ADD UPDATE VIEW DELETE information from any JSP page...! How to perform CRUD (create , read , update, delete) operation on that information in most easiest way ??? Does java support any container or any component to deal …

Member Avatar for anand01
0
153
Member Avatar for pseudorandom21

Java: I have a bunch of stuff drawn to the blank space of a JApplet app. I need to add a JButton at a specific location. I don't know how. What's the easiest way to do this?

Member Avatar for DavidKroukamp
0
183
Member Avatar for emclondon

Hello guys, I am stuck again with a new problem. I need help with 3 things: 1. Timer 2. State Pattern 3. Disabling the button on JFrame lets go with the easiest one in the list, the Disabling of button one. I have an app with buttons, and I need …

Member Avatar for ~s.o.s~
0
623
Member Avatar for scheppy

I'm trying to right a statement that depends on 2 JButtons not being enabled I know how to tell if they are enabled like this [CODE] if(myJButton.isEnabled()) { } [/CODE] But is their also a simple way to check if a JButton is not Enabled

Member Avatar for scheppy
0
148
Member Avatar for Mr.BunyRabit

Hey there. I want to add a business method, and i know you right click >> add code >> and then chose business method. I can do that in netbeans 6.9.1 But i am using 7.0.1 And when i try and add a business method, i cant, because its not …

Member Avatar for SasseMan
0
62
Member Avatar for jackbauer24

What is the difference between [ICODE]inheritance[/ICODE] and [ICODE]object orientation[/ICODE] ?

Member Avatar for jackbauer24
0
96
Member Avatar for MissJava

Hi there, I have this coursework to do and I don't know why my code is not working. Could you help, please? Many thanks. Task 1 You are to develop a UDP server, and Client, capable of transferring a file (worth up to 60% of total available marks for this …

Member Avatar for DJSAN10
0
131
Member Avatar for justin6345704

Hi everyone. First time poster, brand new to java but I like it. I'm comfortable with the very basics but as we move forward I'm starting to struggle. My prof is not very good about explaining things so I've been teaching it to myself mostly. My most recent assignment involves …

Member Avatar for DavidKroukamp
0
131
Member Avatar for Mr.BunyRabit

Hey there. At the moment to close a form (like to go back to a previous form) i use this.hide(); But ive read things that some statements "Dont realy close the form, and it still runs or whatever" Is this the rigt way to close one of my forms? And …

Member Avatar for DavidKroukamp
0
189
Member Avatar for riahc3

Hello How do I go on about calling from Java stored procedures (which have variables going in and out) and transactions in MySQL? For a stored procedure example, something like 2 variables in that are numbers and the third going out that is the result. Thanks

0
42
Member Avatar for EulavValue

Hello, I am pretty new to programming and needed some help with one of my programs. I am trying to have the user input how many numbers they want to plug in then they plug in x amount of numbers until they reach whatever they input. After that I am …

Member Avatar for EulavValue
0
227
Member Avatar for sha11e

I remember someone telling me that there is the heap, the stack and something else. methods are stored in ..something.. and variables somewhere - and even if they're not currently storing anything in the memory location - it's still "reserved"? 1. Does that mean it doesn't matter if I do …

Member Avatar for ~s.o.s~
0
142
Member Avatar for umsungun

[CODE] import javax.swing.*; import java.util.*; import java.text.*; class myjavalo{ public static void main (String []args) { String orderStr1, orderStr2, orderStr3; int order1, order2, order3, choice; int i = 0; int menuCat,Entree, SideDish, Drink; System.out.println("\tItem" + "\t\t\tSales Count" + "\t\t\tTotal"); do{ Entree = Integer.parseInt (JOptionPane.showInputDialog (null, "Your Options Are:1 - Tofu …

Member Avatar for umsungun
0
215
Member Avatar for m1n1m3

Hi, Iv downloaded and installed RXTX library: -put files into java folder. -used eclipse / project / properties / java build path ... -also did the: eclipse / help / install new software... But when i add: [CODE]import gnu.io.*;[/CODE] ... and run any example code, the classes are red lines. …

0
93
Member Avatar for 03hasnam

Please can anyone help me install the rxtx library for serial communication. Ive save the relevant files rxtxSeriel.dll and RXTXcomm in to the appropriate bin and lib/ext files, but what are the next steps?

Member Avatar for m1n1m3
0
191
Member Avatar for freakvista

Hello again. So lately i've been learning java, and now i want to make a program but in this program i need to do something like in pascal record(i want to make an array, and in every element of this array i have a string and an int). I heared …

Member Avatar for dmanw100
0
120
Member Avatar for archnashah

Hi, I am trying to create a pie report using jasper iReport which need link to drill down report for each slice inside the pie chart.If the slice refers to High priority then another report should be opened which will provide detailed information about tickets with High priority. I have …

0
76
Member Avatar for cppgangster

Hi all, I learning Java as a second language. And I found some syntax in my book of android development to be very hard to explain. Would you help me with this example : [CODE] Button btn(Button)findViewById(R.id.btn_dialog); [COLOR="Red"]btn.setOnClickListener(new View.OnClickListener(){[/COLOR] public void OnClick(View v) { showDialog(0); } }); [/CODE] Its quite …

Member Avatar for cppgangster
0
114
Member Avatar for xzero1

Hi all, I am a beginner in Java, making GUI in blueJ. I want to use CheckBoxList for multiple selection from a list for users.. I just want to learn how to make one of that. I saw some codes here .They use some sort of CheckListRenderer. I am also …

Member Avatar for xzero1
0
542
Member Avatar for nilay84

Anyone knows how to only allow characters in a JtextField not strings or digits? any example source code will be appreciated.

Member Avatar for DavidKroukamp
0
3K
Member Avatar for Philippe.Lahaie

hello, i figured this forum was more appropriate for this thread than the javascript forum, here is why : my javascript is functionnal, and does not set/change css rules of the objects i manipulate. But here is my problem, i have 2 dynamic listbox (selects with size 10ish) with 4 …

Member Avatar for Philippe.Lahaie
0
170
Member Avatar for skoon

Hello every body I'm creating a program that generates a random maze depending on the starting point you enter and then solves it. My problem is that even thought there is a solution to the maze, it returns that there is no solution to the maze. I know that I …

Member Avatar for NormR1
0
277
Member Avatar for transplantedNYr

My question is how do I read from the user Datainput.txt file to get the value of myVal? I can handle all the other stuff required for this, but with out the correct value to start well nothing will be right. public class MyClient { private final int myServerPort = …

Member Avatar for transplantedNYr
0
166
Member Avatar for nilay84

does anyone know how to fill the JTable with the binary values such as if we have 2 variables a and b the table should be filled in as follows: a b 1 1 1 0 0 1 0 0 any suggestions would be useful.. thanks

Member Avatar for nilay84
0
138
Member Avatar for enterpise

Every time when i try to catch exception on the rage of my port Also the Message input box ( can't enter the negative number ) The program seems like doesn't response for my action but when i disable all the code below it will work fine Here is code[CODE]private …

Member Avatar for enterpise
0
190
Member Avatar for de.ICeman

I want to create a Entity class with database in Netbeans. When i select a Data source jdbc/Ionbank (custom Jdbc connection Using JDBC-ODBC bridge with Ms SQL 2005 as database). I see all the table from that database. All tables show no primary key, but they have primary keys in …

Member Avatar for StephNicolaou
0
366
Member Avatar for jkembo

Good morning everyone, I have a small problem here. I tried to code a piece of program which allows users to construct logic formula. (E.g A V NOT(B)) When the button NOT (unary connective) is pressed 2 times then this happens: [COLOR="Green"]NOT(NOT())[/COLOR], using a static recursive method called Rec returning …

0
145
Member Avatar for Newjavauser1

Hi I'm new to java and I have written a simple Program and everything and set up a Path variable And then I tried to compile it by changing the cd and using javac Then it asks whether javac.exe can make changes to the computer. I tapped yes and then …

Member Avatar for DavidKroukamp
0
202

The End.