35,618 Topics

Member Avatar for
Member Avatar for jko2326

I'm trying to create an array of two radio buttons. but with the code i have right now it just wont show up on my jframe. Can anyone tell me what I might be doing wrong? Help please.. Here is a snippet of my code .....I'm only working on the …

Member Avatar for Ezzaral
0
78
Member Avatar for c16

Hi there How do I write a simple value like 1(5v) to the DB9 port and how do I monitor the DB9 port for state changes on it? Here is the scenario : I made a circuit with a 16f627 processor that is connected to the PC via DB9 port. …

Member Avatar for rdblaha1
0
120
Member Avatar for lookof2day

I've been trying to get a list of values from database using hibernate. I'm using MS SQL Server XE 2005 and using Hibernate 3.2.2 to fetch DB rows. I've tried JDBC drivers provided by Microsoft as well as jTDS but all I get is an empty list. Here is my …

Member Avatar for lookof2day
0
826
Member Avatar for Alpdog14

I was wondering if someone can help me, I have this snippet of code that I know is giving me an issue but cannot figure why: [CODE]public D put (K key, D data){ DataTreeNode<K,D> dtn = insert(key); if(key.equals(dtn.key())) [B]return dtn.data();[/B] else return null; }[/CODE] I know I want the [B]return …

0
66
Member Avatar for rukshilag

I would like to know a list of systems (standalone) that can be made using JAVA. For example payroll system, billing system etc. Please state some simple systems that requires basics of OOP and few swing codes. Thank YOU :)

Member Avatar for peter_budo
0
103
Member Avatar for arifihsan

how to write a program in java for regular expression as • [0 − 9]*(a|b)+[x − z]?b • a+(a|b)*c(c?b|ca+)* please help me in coding ,i will waiting thanks

Member Avatar for Ezzaral
0
26
Member Avatar for SORelena

I want creat thread but I dont know...[CODE]import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; //------------------------------------------------------------------------------------------------ public class MyApp extends JFrame { // Data static boolean stopped = true; // Is the counting stopped? (True or False) --> shared variable static JTextField number; //------------------------------------------------------------------------------------------------ // Constructor public MyApp() { // …

0
52
Member Avatar for noktasizvirgul

Hello All, I need to make parallel processing with Java. I know there are threads but i need to examine a distributed-like system. I will implement the MST algorithim and with a distributed syncronizer I will merge those sepereted nodes with rounds to find best and minimum spanning tree. This …

Member Avatar for noktasizvirgul
0
578
Member Avatar for nitrogen33
Member Avatar for eechan03

[code] import javax.swing.JOptionPane; import java.text.*; public class casestudy { public static void main(String[] args) { JOptionPane.showInputDialog(null, "Program Application", "Choose a Program", JOptionPane.QUESTION_MESSAGE, null, new Object[] { "Bubble Sorting","Balloon Sorting", "Insertion","Exit" },"casestudy"); switch(casestudy) {case 1: {String stno,ndno,rdno,thno,fthno,sthno,vthno,ethno,nthno,tthno; stno = JOptionPane.showInputDialog(null, "Input 1st number:"); ndno = JOptionPane.showInputDialog(null, "Input 2nd number:"); rdno = …

Member Avatar for javaAddict
0
98
Member Avatar for galaxygal

[code=php] exec('java -version', $javaver); print_r($javaver); echo "<br />"; exec('java -jar start.jar', $output); print_r($output); echo "<br />"; exec('java -jar post.jar /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/solr.xml /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/monitor.xml', $output2); print_r($output2); [/code] I've never attempted anything with java before. I'm trying to get started on the solr tutorial -- a java based search engine based on Lucene. I …

Member Avatar for galaxygal
0
904
Member Avatar for jakal121

Hi, I am kind of stuck on how to display numbers between an inputted number and a specifed number, for example 10 and 5, how would I go about doing this? can anyone help me please?

Member Avatar for javaAddict
0
105
Member Avatar for gabec94

Hi, I am trying to write a binary search. The main method randomly makes an array of 1 mil int's, and the binary search returns if an entered int is in the array, but I seem to be having trouble getting it to work, I've been working on it for …

Member Avatar for gabec94
0
114
Member Avatar for lightner86

Hi gud evening to all!! :) Can someone help me with regards to my exercisE? I really need to finish my exercise.. The problem is this.. I am going to determine how many times does the letter occurs in a sentence including spaces and periods... For example: Sentence: We are …

Member Avatar for javaAddict
0
76
Member Avatar for Web_Sailor

I want to control the number of clicks in my button group which is inside DefaultTableModel of JTable. Like only one click for a certain Radiobutton. Suppose I have 3 radio buttons in a button group: 1) A 2) B 3) C If a user clicks A he can select …

Member Avatar for javaAddict
0
134
Member Avatar for student_cs

can any1 pls help me with the codes for uploading images to my java prog.. and codes for DB connectivity with MS access... its nt connecting.... i need it asap..!!!

Member Avatar for masijade
0
72
Member Avatar for hdurina

one fellow gave my full house address while chating i asked how is it possible he said he got it through ip address

Member Avatar for The Dude
-1
578
Member Avatar for xclaim

hi may i know how to exit the mediabox? for example i create a group inside that is the mediabox but when i click the close button(custom button) it will go to the other group and thus exit the mediabox. current situation is that when i click the close button, …

0
60
Member Avatar for StarZ

Hi, I've read the rules for this website and i'm aware that we should not expect people to do our homework. But I really need help on this program.. and I'm not sure how to start it, and it's last minute help please. I'm suppose to do this using sorting …

Member Avatar for P00dle
-3
106
Member Avatar for xclaim

hi, i am using netbeans 6.7.1 with javafx inside i saw alot of example from sun using [B]import com.sun.javafx.mediabox.; and *import com.sun.fxmediacomponent.*;[/B]however in netbeans when i try to import either this 2 import it say that package does not exist can someone help me ? thanks alot

Member Avatar for kvprajapati
0
95
Member Avatar for timaquerra

Hi guys, Im looking for some tutorial which could illustrate development of database driven web services. I tried to search some through google, however no success so far. Thanks in advance!

0
64
Member Avatar for babeet

Hi, I launched my swing application.before it launched I opend a note pad.When my application got launched it is having textfiled which is blinking.but when we type something it is typed into the notepad. i need to remove the curser when the application is not having the focus. But I …

0
49
Member Avatar for tootaa

hi every body i have a problem whit the condition to check if the element is duplicate element or not this is the problem Duplicate Elimination Use a one-dimensional array to solve the following problem: Write an application that inputs 10 integers. As each number is read, display it only …

Member Avatar for mrnutty
0
953
Member Avatar for c.pentasuglia

Okay so far this is what i have, i havent really gotten very far but id like to get the layout all set before i try to tie things together. The problem im having is getting the JButtons colored. In order for my game to be like the game simon …

Member Avatar for Ezzaral
0
110
Member Avatar for JulzO

Is it posible to create an MDI Parent and child in Java as is done in VB. Net? If possible kindly help out....

Member Avatar for Ezzaral
0
58
Member Avatar for atuleshchand

Hi Fiends, Does anyone have any idea of how to upload a ZIP file or any other file and perform some string manipulation on that file and return the new file for downloading through JSP on Jakarta Tomcat server. Thanks Atul

Member Avatar for peter_budo
0
38
Member Avatar for rukshilag

I am a beginner to java - my university course module requires me to do an assignment - that is choose a system and build one. i have chosen "Student Grading System" - this wont require a database. i need to just enter student marks and thereby determine that subject …

Member Avatar for Ezzaral
0
106
Member Avatar for shroomiin

Hey everyone. I am supposed to create a program that finds the area of a triangle...this i can do fine. My only problem is i was told that i need to use a get and set method to calculate the area. I dont exactly know how to use a get …

Member Avatar for striker3344
0
150
Member Avatar for saadismail85

[CODE]import java.util.Scanner; public class Draw { public static void display1 () { System.out.println("============================================="); System.out.println("| SELECTION |"); System.out.println("|===========================================|"); System.out.println("| Option : |"); System.out.println("| 0: Exit |"); System.out.println("| 1: Empty Shape |"); System.out.println("| 2: Filled Shape |"); System.out.println("============================================="); } public static void main(String[] args) { Scanner input = new Scanner (System.in); int …

0
74
Member Avatar for mmeclimate

Hi everyone, I am new to java and I wrote a program that does the following (using Scanner): Name: Last Name: Age: (More? Y/N): When the user presses Y, he/she can add more information. Then in the end, I want to print something like: The participants are: Soni Smith (30), …

Member Avatar for mmeclimate
0
150

The End.