35,618 Topics

Member Avatar for
Member Avatar for praveeny
Member Avatar for stephen84s
0
96
Member Avatar for NOTSomebody

Hi, I am developing an application about tracing for preschoolers. Currently, I am developing a application and is using touch screen that does tracing. Currently, I am using mouseListener because if I am not wrong, touch screen basically equals mouse clicks. So now my application can does drawing. Next, I …

Member Avatar for NOTSomebody
0
136
Member Avatar for sahrourr

i have to do a program that takes to equations from the user and draw a graph for them and then get the intersection point and then find the optimal solution and my program draws the graph but it makes the intersection point in a wrong way and i don't …

0
58
Member Avatar for sahrourr

hello, i need a help, i wanna make a program which deals with boolean algebra functions. i will enter a function like ( xy+x'+y'(x'+y) ) or any function and the program shoul get the complement of it. actually i don't know how to solve it.

Member Avatar for Ezzaral
0
109
Member Avatar for bahr_alhalak

hi every one... i need some help from u.. i solved my assingment by my self an I need from u some help I will post my prgram and please check it if it need any edite or anything... This is the mainClass [CODE]import java.util.*; public class mainClass { public …

Member Avatar for dickersonka
0
115
Member Avatar for cherryduck

Hey everyone, I'm writing a program as follows: CourseMarker course Java u4 exercise sunflower: Sunflower Growth part 2 (Weight: 3) =================================================================================== Introduction ============ This is a continuation of last weeks exercise on the growth of sunflowers, but the problem is now more complex. It now involves loops and makes sure …

Member Avatar for cherryduck
0
213
Member Avatar for new_2_java

Hi all, I have a threaded program, which migrates contetn from one repository to another. The program works fine, when I test for small number of documents, say arround 10 or 20. But when I increase the number of documents, then I get [B]java.lang.OutOfMemoryError[/B]. I can't seem to figure out …

Member Avatar for ~s.o.s~
0
138
Member Avatar for tgkprog

I want to position an element span tag by the natural positioning in a page (its a drupal page so the theme can change and i dont know where my span will fall but i also want to position an an image on top of this span how do i …

Member Avatar for MidiMagic
0
82
Member Avatar for dmanw100

I am having problems reading in from a file in my project. I have a text file from which I need to read in data for creating some objects. I do not know how much data is in the file but I know the format is 6 lines of string, …

Member Avatar for BestJewSinceJC
0
119
Member Avatar for blackcloud72

Hello everyone, I am a student learning Java and need some help getting text to flash or blink. The text I want to do this with is "Which Way" in my drawstring method. Any help would be much appreciated. [code] import java.awt.*; import java.awt.event.*; import java.awt.geom.GeneralPath; import java.util.Random; import java.awt.Font; …

Member Avatar for Ezzaral
0
665
Member Avatar for eresh.leo

can any one help in coding for online examination system . As iam a beginner even i donn't know complete conceptt of jsp,servlets. But in my company they have given me this project and a dead line of 20 days........... so please,/............

Member Avatar for eresh.leo
-1
125
Member Avatar for gorty

hi, need code help with Image uploading from jsp page to mysql database.Urgent....Plzzzzzzzzz help me.

Member Avatar for peter_budo
0
57
Member Avatar for dinilkarun

I have a variable/flag in a PHP file and depending upon the value of this flag i need to execute a set of code in another .js file. Can you tell me how to access the variable in .php file inside a .js file? Please find attached the sample js …

Member Avatar for cadillacwd
0
107
Member Avatar for americaneagl

What I have is a simple, convert a temperature in Fahrenheit to Celsius or in Celsius to Fahrenheit. My question: what is the best approach of implementing the while/loops so that the user enters their choice for Celsius to Fahrenheit or vice versa as many times as they want until …

Member Avatar for BestJewSinceJC
0
325
Member Avatar for Chaster

Hello, How can I get a reference to a session? I have a page, which forms a query string, and in another page I would like to display the attributes of it. I don't want to introduce scriplets, so I am trying to do this in a pure Java file, …

Member Avatar for ~s.o.s~
0
103
Member Avatar for yonghan

Hi all,i need help about JTable.I'm using netbeans..I got a table contains PLU,nama,harga,qty,total..I use TableModelListener to listen to valueschanged in column..What i need help is how to create a new row if the user press enter key,and set focus to the first column of the next row..Thanks a lot..Here are …

Member Avatar for yonghan
0
100
Member Avatar for fireballnelson

I am having a problem with this code: [ICODE]import javax.sound.*; public class Sound { public static void main(String[] args) { //Code Body } }[/ICODE] The problem has nothing to do with code itself; the compiler returns this message when i try to compile: [CODE]Sound.java:1: package javax.sound does not exist import …

Member Avatar for fireballnelson
0
3K
Member Avatar for Grub

Hi I have a program that finds duplicate files and lists them in a Jtable. I have modified the default Table Renderer to change the colour of the cells but I want them to have more than two colours. Say Blue for the first set of say 5 files all …

Member Avatar for Grub
0
2K
Member Avatar for mrjoli021

Why wont this delete the files in the arraylist. i checked the arraylist and the files are there. i even added a "\\" to the files and still nothing. i dont get any errors. [code] private void fileDelte () { for (int i =0; i<Files2Delete.size(); i++) { File f = …

Member Avatar for Ezzaral
0
234
Member Avatar for brendanmcdonagh

Hi all, I am learning java and have developed a very basic message app which entails having a serversocket on one pc and a socket on another. This is working fine but now i want to go further and have them both to have the abiliy to wake the other …

0
36
Member Avatar for Gaspacho

Hi there I currently have project in school. In the beginning it was supposed to just get data from database and have some settings available. But recently I got 2 more co-workers and they should participate by adding some more functionality. That is when I started to make the page …

Member Avatar for ~s.o.s~
0
119
Member Avatar for JavaNewbieEK

I am kind of new to JAVA and I am trying to hide a user's input (such as when the user types a password). I am not using any type of GUI just running my small programs directly in the UNIX Terminal. Is this possible to do simply, unfortunately I …

Member Avatar for stultuske
0
469
Member Avatar for savinki
Member Avatar for stultuske
0
71
Member Avatar for carlcarman

I am having some trouble and could use some help. I need a while loo that allows for an unlimited number of employees that uses a EOF sentinal value to control the loop. heres what I have so far, any help is greatly appreciated. I really dont understand this type …

Member Avatar for ~s.o.s~
0
100
Member Avatar for dimples09

Write a program that simulates a small programming language (SPL) with subprograms. The language has the following EBNF: <program> ::= begin <statement> | <statement_sequence> end; <statement_sequence> ::= <statement>; <statement_sequence>; <statement> ::= <subprogram_invocation> | <other_statement> <subprogram_invocation> ::= invoke <subprogram_identifier> <other_statement> ::= increment <variable> | decrement <variable> | output <variable> | stop_sub …

Member Avatar for dickersonka
-1
101
Member Avatar for christiangirl

How do you to take user input for red, green and blue(a number between 0 and 255) and make the background of the center JPanel that color. Heres the code on what ive done so far: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; /** * Write a description …

Member Avatar for christiangirl
0
2K
Member Avatar for ndeniche

What are the differences between both and which one should i consider for the different kinds of java-based apps?

Member Avatar for Ezzaral
0
105
Member Avatar for Taker

Hi i am tryin to write a recording class in java which i have done but i have to convert the recording class into a GUI i have done the coding for it but i want buttons that allows you to cyle to the nex and previous record detail if …

Member Avatar for Ezzaral
0
151
Member Avatar for bahr_alhalak

hello again every body ... [COLOR="Red"]i tried 2solveit ,but there are some problem faced me .. and i'll insert what i did .>>> This is the main class..the main problem in it how 2 print the array like the example which i show it 2 u ...[/COLOR] [CODE]import java.awt.DisplayMode; import …

Member Avatar for dickersonka
-1
210
Member Avatar for codered152

hi guys i need help with list collection in java can somebody give me some good example of how to iterate over list, also explain little bit. Thank you

Member Avatar for ~s.o.s~
0
100

The End.