32,199 Topics

Member Avatar for
Member Avatar for l_03

hello guyz,,do you know best sites to recommend that has a tutorials on "swing" about: a.) sample writing a file on "text file" b.) the saved text file will be read by the main class in JOptionPane (java file) actually, i has on it on bufferedreader,,but i really like to …

Member Avatar for peter_budo
0
208
Member Avatar for elnuk

i hav a project on mind and the proj is to be able to control my laptop from my mobile,controls like shutting the laptop down.i'v gotten d phone simulator and i code with netbeans.i hav an ok knowledge in j2se,i believe it is possible if yes what next?

Member Avatar for peter_budo
0
71
Member Avatar for redtail

Hi. My PC has WinXP SP2 and I have a problem with webpages not displaying properly in IE6. It seems that any site with the ending .aspx won't load at all, i just get a blank page with no error messages or anything to tell me what the problem is. …

Member Avatar for Frank Wallis
0
149
Member Avatar for defychaos

Hi, I need some help with an assignment due in a few days. It asks me to draw a table using four functions, as well as a main function. The main program should call a char function LProp (3 variables), that calculates the truth-value of the logic expression for a …

Member Avatar for javaAddict
0
101
Member Avatar for Alex Edwards

I typically don't post anything unless I have a question or comment... but I am still trying to understand Serialization for Network-Applications and I ran into a brick wall (repeatedly) during a project that required sending and receiving chunks of data from one Client to another. Be aware of using …

1
78
Member Avatar for Gerbilkit

I am mostly done working on the homework assignment for my class, it requires that I complete an employee directory system that takes a user input value and compare it to 3 values employeeName, employeeID, and phoneNumber. The system must work in such a way that if the search is …

Member Avatar for Gerbilkit
0
123
Member Avatar for qwerty_ytrewq

consider my input file has the following data date type of transaction amount 1 w 100 2 d 230 3 d 550 4 w 430 5 d 1100 6 d 400 so i need to sort the amount in ascending order.So when i sort the amount,the corresponding date and transaction …

Member Avatar for Ezzaral
0
124
Member Avatar for justinmyoung

Hi, I'm having a small problem. After installed a routine system update, which included the newest Java update (though I'm on 10.4.11) I have lost access to my localhost! I thought it was a problem with my server, so I installed another server using MAMP, and through MAMP I can …

Member Avatar for justinmyoung
0
133
Member Avatar for ishitac

Logic circuit builder is a software that simulates AND,OR,XOR gates.I want to give it an attractive GUI wherein gates can be dragged/dropped.How do i accomplish drag and drop in Java?For instance if there is a buuton with an AND gate.if the user clicks on it and drags the mouse pointer …

Member Avatar for Ezzaral
0
235
Member Avatar for artemis_f

Hello, I don't know any Perl but I do know Java. I am studying about Push down automatas at the moment and wanted to make a simulator for myself. I have found some code in Perl that does it but I do not know how I can go about using …

Member Avatar for KevinADC
0
474
Member Avatar for Nina*

I.ve problem with java image processing.I've to convert 2d array into image.I'm using the loadPixels function, but it doesen't work.The Image is never shown on the label. Please help, here is the code of the loadPixels function: [CODE] public static void loadPixels(JLabel label, int[][] pixels) { // 1. convert to …

Member Avatar for Ezzaral
0
991
Member Avatar for teh noobshow

Hello, I currently code in java for a game. But it's a private server... Many people question my way of coding, but i dont. My way of coding is more simpler than the public boolean and public void... As most know for some games you need a class file and …

Member Avatar for javaAddict
-1
98
Member Avatar for JQuinn88

Hey I am trying to created a dice game that roll the dice twice and then ask the user if he/she thinks the next two rolls will be more than or less than the first two. After the third roll the program is then suppose to ask the user if …

Member Avatar for kjduke
0
142
Member Avatar for 2o2

here is my calculator. it works fine, but for the love of god i cant figure out how to get the screen at the top, centered while the rest of the buttons follow the gridlayout pattern. any way? [ICODE] package Calculator1; import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.*; public …

Member Avatar for VernonDozier
0
3K
Member Avatar for roshansimon

Hi, Im writing a program that will magnify diagrams (simplified version of the windows magnifier). If I have a buffered image (hard-coded) bufimag, what are the steps to do to increase pixelsize and display it. Well displaying is not a problem. just how to increase pixel size. No need to …

Member Avatar for roshansimon
0
79
Member Avatar for peter_budo

I'm working on an application that simulated process of writing text message on mobile phone. On the canvas I first draw already typed message. If any and on button pressed I retrieve correct set of characters. Here I'm able to loop through them and highlight currently active/selected character. However I …

Member Avatar for peter_budo
0
225
Member Avatar for MNR

Hey guys, the program has to wait until send button in jframe clicked then to get the text and put it in to queue and then send it to server using doInBackground method, also in line 65 i get a compile error which says that ther is nothin to override …

Member Avatar for MNR
0
166
Member Avatar for lordx78

[B]Eclipse IDE for Java Developers[/B] (85 MB) [B][COLOR="Red"]Vs[/COLOR][/B] [B]Eclipse Classic 3.4.1[/B] (151 MB) Just wanted to know. Please advise.

Member Avatar for lordx78
0
117
Member Avatar for carthikn

Hi, I need to read the file and print the content in the outlook express compose body using java. Any one knows any API or some component is available to do this please reply me

0
39
Member Avatar for Dancealot

Hi all. I have a problem sending a message in my program. I am able to receive a message, but not so send it. when I try to send a message I get the following error: Warning: To avoid potential deadlock, operations that may block, such as networking, should be …

0
55
Member Avatar for letlet_pogs

hello guyz,,is simpletron machine language??different from java language??i am confused,,we are about to make a program in simpletron but it's too hard to start,,

Member Avatar for stultuske
0
69
Member Avatar for Gerbilkit

I've been working on a homework assignment for a while now for my class, and right now I'm stuck on what should be a very simple problem. I have two files, EmployeeSystem.java and FullTimeEmployee.java. EmployeeSystem is the main, and is the file currently failing to compile. Basically in the method …

Member Avatar for Gerbilkit
0
105
Member Avatar for davidjonas

Hi! Just signed up and can't help to notice what a good forum you got going here!! congratulations! I am working on a project of educational software concerning sound editing and audio-video synchronization. I am researching the Java Sound API and it's been working pretty well but now I got …

Member Avatar for davidjonas
0
176
Member Avatar for redflame777

I can't figure out why I am recieving error messages from the compiler that tells me that I have an illegal start of the expression for the code that is in red. I have also put the product class that goes with the main class; I'm not sure if the …

Member Avatar for redflame777
0
103
Member Avatar for cproud21

I have the following classes completed and have to create a driver that: rite a driver program to test your Clock class. The driver program should allow the user to enter both the current time and the alarm time. It should create one or more Clock objects to demonstrate usage …

Member Avatar for javaAddict
0
64
Member Avatar for cproud21

I have the following program to write: given the TimeAT class: The time class uses two integers, one to store the hours and one to store the minutes of a given point in time. Write a Clock class which uses TimeAT class objects to store the current time and an …

Member Avatar for javaAddict
0
129
Member Avatar for letlet_pogs

hello guyz, do you know best sites to recommend about "JOPtionPane"?? i need to have more tutorials with this due to our next project..i hope you could help me guyz...thank you ahead..

Member Avatar for letlet_pogs
0
72
Member Avatar for orangejuice2005

I have this big operating system's project where I have to basically write my own mini operating system. I have everything broken into pieces and am taking it step by step. Starting with the loader. Prior to this class, I had no idea how intricate an OS system was and …

Member Avatar for orangejuice2005
0
261
Member Avatar for countrygirl1970

Hello, I am trying to get my cost, salestax, totalamount to come out in the output dialogbox to have only two decimals places. I know how to do on the printf but not on the dialogbox. Please help. Here in my complete code. [code] // Displaying multiple strings import javax.swing.*; …

Member Avatar for countrygirl1970
0
241
Member Avatar for SyLk

[CODE] import java.util.Scanner; import java.io.*; public class program1 { Scanner filescan = null; public program1(){ try { filescan = new Scanner (new File("t.txt")); } catch (FileNotFoundException fe){ fe.printStackTrace(); } } public static void main(String[] args)throws IOException { printFile(); } public static void printFile()throws IOException { int num; while(filescan.hasNextInt()){ num= filescan.nextInt(); …

Member Avatar for Ezzaral
0
185

The End.