32,204 Topics

Member Avatar for
Member Avatar for keofua

Hi all, I'm kind of new in Java MIDlet, and i'm having some troubles. Let say i got a MIDlet project, named APP.java, and the MIDlet project runs smooth without any problem. And i have another java application, named testing.java, and the java code runs smooth as well. But when …

Member Avatar for peter_budo
0
1K
Member Avatar for SSagar

Hi, I have to display a JCombobox which contains JCheckBox(containing a single character) as its elements. Combobox has to allow multiple checkbox selection. When the selection is over, combobox has to display the selected checkbox values. Thanks in advance, Sagar

Member Avatar for Ezzaral
0
488
Member Avatar for spidey
Member Avatar for notuserfriendly
0
57
Member Avatar for weinyeong

can anyone help me with this school project? they want me to create something like this : using Net income = Revenue - costs - salary net income percentage is by multiplying (Net income)/(Revenue Ratio) with 100% Handphone net income computation ----------------------------------- 1. Press A to enter Revenue and Costs …

Member Avatar for stultuske
0
120
Member Avatar for SQ89

Hello people .. I have a problem with my program ,, it is designed to count the number of digits and if its 5 it will test if its a palindrome number.. my problem is with the while loop... please help public class Palindrome { // checks if a 5-digit …

Member Avatar for verruckt24
0
2K
Member Avatar for denniskhor

[CODE]/* * PartOfSpeechView.java */ package partofspeech; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.application.FrameView; import org.jdesktop.application.TaskMonitor; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Timer; import javax.swing.Icon; import javax.swing.JDialog; import javax.swing.JFrame; import java.util.StringTokenizer; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileNotFoundException; import java.io.IOException; /** * The application's main frame. */ public class PartOfSpeechView …

Member Avatar for ejosiah
-1
178
Member Avatar for dv1r

i don't know if this is the place to ask this but is there a way to write a program that will increase the mobile phone's bluetooth's range for one second??? if not in java then is there something else... thank you in advance :)

Member Avatar for peter_budo
0
94
Member Avatar for Asmodaii

Hey guys, I had to determine the output of given code that uses a 2D array. The 2D array given looks like this: data.txt: 5 8 4 3 9 5 6 4 9 5 3 2 2 2 0 9 7 3 7 4 5 6 9 5 8 8 …

Member Avatar for Asmodaii
0
104
Member Avatar for djdanjo82

Hi All! This forum looks refreshing. This will be my first post and I am a new software guy working on a Java Gui issue. I recently built a java graph class and the graph works nice. The Graph class was lineonly, and it extends JPanel. In the main function …

0
60
Member Avatar for neutralfox

Hello everyone, I am having a problem, I want to transfer the data from a text field which is found in the class "ServerInterface" to a method in another class "Server". I wanted to transfer data to the method "sendData()" in the class Server when the user enter data in …

Member Avatar for neutralfox
0
86
Member Avatar for ozzie212

I work for a company that does not allow us to have access to the internet but I need to create graphs using HTML. What I want is this file to be able to read from a file and create a graph that tracks four values; A,B,C,D. The graph needs …

Member Avatar for sharada.rk
0
266
Member Avatar for lounestor

hi im a new memeber .iv started learning java recently. i was wondering could anyone help with this problem because i just cant seem to work out where i'm going wrong. its my method call thats giving me the proplem...i think. if anybody has any solutions i would be grateful …

Member Avatar for lounestor
0
132
Member Avatar for joshmo

I have recently encoutered an error that I have failed to figure out while trying to implement something in MVC. I have used a similar code on another program which seems to work but I cant figure out why this one is not working. I get the error code "cannot …

0
84
Member Avatar for freaky.pandit

i require to submit a crime reporting system as my major project in engg. can anyone provide me with a similiar code in [B]java[/[B][/B]B] is there any way to store images and videos in a database...and then retrieving them from a java application.. plz five some example.. thank u in …

Member Avatar for verruckt24
-1
125
Member Avatar for sammyboy88

i am trying to add a bmp image file to a panel but i dont no how. i have been trying a few different code but nothing seems to be working for me. [code] ImageCanvas imageCanvas = new ImageCanvas(this,bi); visibleArea.add(imageCanvas, BorderLayout.CENTER); [/code] this code makes the area where th image …

Member Avatar for jasimp
0
49
Member Avatar for BestJewSinceJC

In netbeans I added a scroll pane + bar inside one of my JPanels. When I drag enough items into the JPanel, the size of the JPanel increases in netbeans. How do I get it so that it stays at a fixed size, so I can use the scroll bar?

Member Avatar for BestJewSinceJC
0
2K
Member Avatar for m_sam6
Member Avatar for denniskhor

How to print Tokenizer and Split out put in Text Area? Normally is use System.out.print() to print them. I wan it print in Text Area or something like text area, anyone can help me out? Thanks.

Member Avatar for verruckt24
0
92
Member Avatar for neutralfox

Hello everyone, I am in big trouble, actually, I am developing a chat in Java. I am still on the server part, but the problem is that when i am clicking on a button to instantiates a class, the whole program freeze, please help me to figure out this problem. …

Member Avatar for neutralfox
0
2K
Member Avatar for Rombosia

Hi guys, I have a J2ME application that I'm developing in NetBeans. It's ok. I however added one jar reference, let's call it x.jar, which is being seen by Netbeans. Upon compiling however, netbeans calls Preverify.exe with classpath references. It is not including this x.jar. It's causing preverify to return …

0
44
Member Avatar for prashant1111

hi is it possible to poen some ports in java. give code for this. thank u.

Member Avatar for masijade
0
61
Member Avatar for sammyboy88

hi i am having a bit of trouble displaying the mouse position in JTextField. i have currently done this code. i need to display the x and y positions inside the textfield. [code] private JTextField xTextField, yTextField; private int mouseX, mouseY; JPanel mousePanel = new JPanel(); xTextField = new JTextField …

Member Avatar for JamesCherrill
0
77
Member Avatar for charlie81

Not sure how to call the methods in this program. [CODE]import javax.swing.JOptionPane; public class Main_Class { private static final char Y = 0; /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub /** * @param args */ // declare variables int input1, input2, …

Member Avatar for darkagn
0
88
Member Avatar for jackiejoe

So I have been messing around with Swing and am starting to grasp general functions with buttons and text boxes etc.. But what I want to do is have a main page (JFrame Form) with 3 buttons and when I click whichever button I want it to open another JFrame …

Member Avatar for weblover
0
117
Member Avatar for erdomester

Hi all! I have several tables in an MsAccess db and I would like to read all data of a certain column to a Hashmap. With 3 tables and using static array, it' working but i have about 300 tables. With the static array, I used sg like this: [code=java] …

Member Avatar for erdomester
0
1K
Member Avatar for danibarry

The Problem: Aircraft fly from one point to another. At the same time, birds fly around. The objective is to determine whether the aircraft will encounter birds or be able to reach its destination safely. The airspace is divided into 100 squares (10 x 10 squares). For simplicity, we shall …

Member Avatar for quuba
0
143
Member Avatar for cppStudent

I'm reading Data structures and algorith analysis by Weiss lately. There's just one part that doesn't make sense to me at all. [CODE=java]public class QuadraticProbingHashTable<AnyType> { public QuadraticProbingHashTable() { this(DEFAULT_TABLE_SIZE); } public QuadraticProbingHashTable(int size) { allocateArray(size); makeEmpty(); } public void makeEmpty() { currentSize = 0; for (int i = 0; …

Member Avatar for cppStudent
0
904
Member Avatar for senthil12345

Hi all, I am using JCIFS jar to connect samba server. Is there any possible to increase session time.

Member Avatar for verruckt24
0
65
Member Avatar for ceyesuma

[i] Topic The topic of this question is: tracking the content of an array in a session bean debug sessionbean1.java [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is to try to find the best …

0
56
Member Avatar for PradeepCR

Hi all, i am doing online banking project in java. i have MINI statement page which displays LAST 10 transactions. And i have DOWNLOAD link on MINI statement page. Onclicking the DOWNLOAD link "SAVE as" dialog box should popup asking users to save the ministatement to their locations on the …

Member Avatar for sillyboy
0
115

The End.