32,204 Topics

Member Avatar for
Member Avatar for mabelin

hi! i am trying to add new features on a third-party webmin module vsftpd.i want to add radio buttons that enables/disables textboxes and i think i have to do this using javascript but i couldn't embed the javascript code into perl, how can i do this please help me!!

Member Avatar for KevinADC
0
85
Member Avatar for exit

hey guyz... im trying to convert this formula into java code, im just having difficulty understanding it... ok it goes like this: Given loan amount (denoted by a), monthly interest rate as a decimal number (denoted by r). and monthly payment (denoted by p), the loan duration (in months) can …

Member Avatar for exit
0
220
Member Avatar for randomFIRE

I need to load an image in my program, but I keep getting this error: [code=java] C:\Documents and Settings\Remy B\Desktop\programming\Java\Java Projects\NurseGUI\GraphPanel.java:30: cannot resolve symbol symbol : variable danger location: class GraphPanel danger = getImage(getDocumentBase(), "danger.jpg"); [/code] I'm assuming this is because you can only use getDocumentBase with applets? I googled, …

Member Avatar for masijade
0
140
Member Avatar for Rikardsen02754

this is what I have now. I only know how to manually put them into the program. How do you read in the names? [code=language] import cs1.Keyboard; public class TestName { public static void main (String[] args) { //construct two new objects Name Name1 = new Name("Mike", "Matt", "Jones"); Name …

Member Avatar for stultuske
0
137
Member Avatar for vicky_dev

Hi everyone... I need to build a file browser for a wireless multimedia device for a Windows PC. The objective is to be able to browse contents of the device. The device defines its own protocols for communication. I have divided the whole project into two modules: the browser and …

Member Avatar for vicky_dev
0
111
Member Avatar for MAYYOS

hi everyone, iam an IT student that tried to solve this java programming question but have many problems can anyone help me with it ?? here is the assignment .... using java programming language, write a program that will read a java code and locate all the assignment statements.from each …

Member Avatar for ~s.o.s~
0
91
Member Avatar for jetru

Its pretty standard, why the hell isnt the window showing?? Cant figure it out :( [code] import javax.swing.*; import javax.swing.text.*; import java.awt.*; import java.awt.event.*; public class GUIpart { //All ze variables required int tempboard[][]=new int[9][9]; SudokuBoard fresh= new SudokuBoard(); JFrame sudoku = new JFrame("Srik Sudoku"); JFormattedTextField guiboard[][] = new JFormattedTextField[9][9]; …

Member Avatar for jetru
0
233
Member Avatar for Phaelax

Given a JTable which presents 30-50k rows, its responsiveness becomes very slow. Is there anything I can do to improve its speed? I don't see why the number of rows would affect it so much. Wouldn't it stop rendering rows once it passes the a point beyond the size of …

Member Avatar for Phaelax
0
122
Member Avatar for Fungus1487

i have a GUI application that needs to check that it is connected to a database every 30 - 60 secs. can this be done with java threads or do i need to look somewhere different. obviously i need the application to be fully useable whilst it is performing this.

Member Avatar for Fungus1487
0
75
Member Avatar for Fungus1487

right MS Access is balls compared to other DB's i know but im working on a project which already uses an Access DB. Now after writing the following eclipse gives me a lovely error which im yet to figure out. Googling has thrown up people with similiar problems but no …

Member Avatar for Fungus1487
0
131
Member Avatar for chio

i have this homework... i'm using a switch to offer some options for some sorting methods like bubbleSort, heapSort and some of them... what i want to do is that instead of writing the bubbleSort code in the case, just pull it from where it is... i don't know how …

Member Avatar for Rayhan Muktader
0
100
Member Avatar for Dhanesh.M

I want to store the results generated out of SQL query into excel file ... how do I go about doing it? help

Member Avatar for jwenting
0
98
Member Avatar for jetru

How would I go about making JTextField allow the user to input only numbers 0 - 9? I looked into JFormattedTextField but it doesnt seem to be what I need. Would I have to code it to check the users' input everytime? Is there a simpler way?

Member Avatar for jetru
0
87
Member Avatar for vinod_javas
Member Avatar for vinod_javas
0
105
Member Avatar for kkusankar

could i know how t create interface in java. explain simple example

0
73
Member Avatar for push
Member Avatar for push
0
110
Member Avatar for Monyet

[code=java] import java.util.Random; public class CardDeck { private String deck[] = new String[52]; private String shapes[] = {"heart", "club", "spade", "diamond"}; private String numbers[] = {"ace", "deuce", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "jack", "queen", "king"}; public void CreateDeck() { for(int s =0; s < shapes.length; s++) { …

Member Avatar for Johnbull
0
120
Member Avatar for ally1002

hello, i'm studying files and streams in java from JAVA how to program - Deitel but it's so not clear,,, is there another book or a website that explains this better? i could really really use it. thanx ally:icon_biggrin:

Member Avatar for ~s.o.s~
0
78
Member Avatar for msvinaykumar

Can any one pls help me to know any real time example for Static polymorphism Dynamic polymorphism

0
53
Member Avatar for LyddieFrog

I'm currently writing a program that acts as an application for a store manager, sorting, searching, reading in, etc. products. This program has two classes: one to handle the GUI and another to handle the actual calculations. I am completely done coding this, save for one requirement: I need to …

Member Avatar for LyddieFrog
0
151
Member Avatar for kahilw

I am building a speech recognition application with j2me and I am looking for a simple open source application that I can use for the interpretation. If you know of one please help.

0
72
Member Avatar for Rikardsen02754

Need help with a program that represents names The rubric is found here: [URL]ftp://ftp.aw.com/cseng/authors/lewis/jss3/HTML_Labs/ch4/Names.html[/URL] this is what I have done right now, but my lab partner and I are STUCK, any help we receive would be appreciated [code=language] // **************************************************************** // Name.java // **************************************************************** import cs1.Keyboard; public class Name { …

Member Avatar for peter_budo
0
156
Member Avatar for hbk619

Card game (again, or still). This one's got a GUI. Problem is, the draw and stick method need the total value that is made in start. So when call draw() or stick() from the actionPerformed method it needs a value or it won't compile [COLOR=red](stick(int) in game1 cannot be applied …

Member Avatar for hbk619
0
131
Member Avatar for isitintheback

No they're not mental. Well, maybe partially. It's 1:47am I'm tired as hell, but won't rest until I complete this. I know this is right in my face, and it's something stupid but I'm just not picking it up for some reason. Here's the code: [code] if(g1 == true){ total …

Member Avatar for isitintheback
0
167
Member Avatar for jk_bscomp

Gud day everyone........I just want to ask if anyone here knows how to compile java using the terminal in ubuntu if your sourcecode has many classes.. I tried already how to compile java in terminal using ubuntu like this one javac hworld.java and this command creates Begin.class(the name of the …

Member Avatar for jwenting
0
96
Member Avatar for static

Hi, I got this code from the internet and i compiled it. But i dont understand the result. Could u explain the result ? I cant figure out the output that shows 'classname@somenumbers' . thz [code=language] public class Andy { public static final Andy nd= new Andy(); private Andy() { …

Member Avatar for isitintheback
0
76
Member Avatar for beachlounger

import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Square extends JApplet { int size; public void init() { String input = JOptionPane.showInputDialog( "Enter square size:"); size = Integer.parseInt( input ); } public void squareOfCharacters( Graphics g ) { String input = JOptionPane.showInputDialog( "Enter Character:"); int y = 50, x = …

Member Avatar for Phaelax
0
89
Member Avatar for paradox814

I have been searching for a long time, and I cannot remember the name of this swing component that I attached in the image. It's the one that is captioned "Please input the...." I don't need help on how to implement it (beyond knowing the class name), I just forgot …

Member Avatar for jwenting
0
118
Member Avatar for christianthag

Hello everybody!!! I'm desperead and i want your help!!!!! I have an excersice which say's: Built a class for dates using private data.the attributes must be controlled for validness.Implement methods for print and a method which returns the difference between 2 dates.Also make a method that calculates the day of …

Member Avatar for christianthag
0
85
Member Avatar for hassanmushtaq

hi to all plz give some link of pocket pc emulator that integrate into netbean 5.5. i have download creme 4.12 which can integrate into netbean 5.5.1. but i m using Netbean 5.5. so plz tell me pocket pc emulator that integrate into neatbean 5.5 not 5.5.1. and it should …

0
68

The End.