32,204 Topics

Member Avatar for
Member Avatar for Akill10

Can't believe it has gotten to this. I cannot for the life of me figure out what is messing up my desired outcome. Here is the story: I have a small GUI program for a sports club. I have 3 list boxes, 1 for each U10's,U12's and U14 children. I …

Member Avatar for mKorbel
0
297
Member Avatar for Webbanditten

Hi im having this problem, i have this danish tv website [URL="http://www.dr.dk/NU/popup/live#/DR1"]http://www.dr.dk/NU/popup/live#/DR1[/URL] thing i dont know if your guys can see it but anyways its page content is: [ICODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>DR NU</title> <style> *{ margin:0px;padding:0px; } html,body { height:100%; background-color:#000; …

0
66
Member Avatar for shushi

Can you help me with this? Our instructor told us that we are going to StringTokenizer and he didn't told what is a StringTokenizer or has not been discussed. Can you add also the comments why that code is all about? Many thanks, Jerick PROG 131 – Computer Programming SPECIAL …

Member Avatar for JamesCherrill
0
183
Member Avatar for java beans

Im trying to to create a simple 4 function calculator using a jump table without switch case or if/else statements. I understand I can create the jump table via function pointers but I am kindda blanking out. I've started with the addition and subtraction part of the program but am …

Member Avatar for JamesCherrill
0
415
Member Avatar for Pratique
Member Avatar for masijade
0
71
Member Avatar for anthonyjpv

I created a console program in jcreator (java) which asks the user to enter a number in string and converts that string value into char array and then converts each char array into an integer which I also stored each as an array and then adds all the value from …

Member Avatar for anthonyjpv
0
161
Member Avatar for stephy1

This is my code. [CODE] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Registration Page</title> </head> <body background= "bg8.jpg" width="1000" height="1000" alt="work1"> <form action="clientlogin.jsp"><table> <tr> <td> Company Name</td><td> <input type="text" name="cname" value="" /></td> </tr> <tr> <td> Password </td><td><input type="password" name="pwd" value="" /></td> </tr> <tr> <td>Location of company </td><td><input type="text" name="location" value="" /></td></tr> …

Member Avatar for ~s.o.s~
0
143
Member Avatar for priyanak588

Hi.. I'm doing my project on Text Categorization.I've got a text categorisation test collection called Reuters-21578 for my Information Retrieval project. It is distributed in 22 files. Each of the first 21 files (reut2-000.sgm through reut2-020.sgm) contains 1000 documents, while the last (reut2-021.sgm) contains 578 documents. The files are in …

0
36
Member Avatar for sciprog1

Hello Members, I am trying to solve the following problem using threads: Thread_1 outputs values from 1 to 1000. Thread_1 waits. Thread_2 outputs values from 1 to 1000. Thread_2 now waits. Thread_1 outputs values from 1000 to 2000. Thread_1 is done. Thread_2 outputs values from 1000 to 2000. Thread_1 exits …

Member Avatar for sciprog1
0
95
Member Avatar for nHulk

Hello, i Want to do project on Java.... any one tell me some new ideas to do my project.... some thing new i can implement as for my final year project

Member Avatar for stultuske
0
114
Member Avatar for gsi_it

Hi All, I am suppose to develop a sdk for touchscreen desktop. it has windows 7. i am planning use java for sdk development. But request overall some help from experinced guys to how to design and develop one such sdk. Thanks

Member Avatar for eladkarako
0
84
Member Avatar for ajst

Hi, I currently have a method that is called on a ActionEvent of being clicked. Now I want to call that method from another method. Is there a way to do this with out having to just copy and paste my code into another method and just call that? This …

Member Avatar for JamesCherrill
0
94
Member Avatar for luijean

[code]import java.awt.*; import javax.swing.*; public class image extends JFrame{ JButton b1; ImageIcon im; Container c=getContentPane(); public image() { im=new ImageIcon("Pictures/sad.jpg"); b1=new JButton(" ",im); c.setLayout(new FlowLayout()); add(b1); setSize(500,500); show(); } public static void main(String [] args) { new image(); } }[/code]

Member Avatar for mKorbel
0
120
Member Avatar for mogaka

i have downloaded Ireport and Jasper Report softwares. i hav created a system using netbeans installed in linux. Unfortunately, i dont know how to install ireport so that i can use it to generate reports. can somebody help me?

Member Avatar for peter_budo
0
55
Member Avatar for oldezwe

how do i add a scrollbar to my JEditorPane this is the format i have everything in. [CODE]private JEditorPane tos; tos = new JEditorPane(); tos.setEditable(false); tos.setForeground(new Color(250, 250, 250)); tos.setBackground(new Color(84, 84, 84)); tos.setText("fuuuuuuuuuuuuuuuuuuuuuuuuu bbbarrrrrrrrrrrrrrrrrrrrrrrrr"); addComponent(contentPane, tos, 500,180,210,170); [/CODE]

Member Avatar for mKorbel
0
673
Member Avatar for iProgram

I'm working on a project that would require me to integrate PayPal into it somehow. I don't know how exactly to go about this, but I'd like the code to be in Java if possible, but really any programming language is fine. Does anyone know if I could do this …

Member Avatar for peter_budo
0
336
Member Avatar for nickvuja

Ok so... I have a problem with completing my code for class tomorrow. I need help with this ASAP. I'm asked to implement a program that generates a random number of jelly beans in a jar, prompt the user to make a guess on how many jelly beans are in …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for manish250

hello all I am new to socket programming.I have to write a socket client which write hit a url on socket.socket server is already running on other site.can any one please suggest the way Url is as follows "GET /subscription/subservice.aspx?Mobileno=MOBILE&Channel=USSD&planid=13404&clientid=511&requestType=1&SubscriptionMode=USSD&isbill=1&subid=1340&shortcodeid=49 HTTP/1.0\r\n\r\n"

Member Avatar for ~s.o.s~
0
121
Member Avatar for oldezwe

I've been creating a login system in Java. The functionality of all the programming in java has been a breeze. Though, I can't find any good comprehensive tutorials on creating a login database, which is something I have never done before. [B]Could someone please give me or link me to …

Member Avatar for prem2
0
82
Member Avatar for coding101

Every time i read a post on how to compile in linux i still get errors. I goto the directory where the .java files are. then type "javac *java" to compile to java files. then i get errors "cannot find symbols" can someone give step by step instructions on compiling …

Member Avatar for prem2
0
112
Member Avatar for VAISHALI THAKER
Member Avatar for abdulumar
-1
103
Member Avatar for Newskin01

Hello, I need to write a remove method for an array of 10 things. So object can can a name. I have a getName() method and others that sort out things. The array can only have 10 objects inside. However when I use this method it doesn't remove anything. I'm …

Member Avatar for thekashyap
0
524
Member Avatar for Hakoo

Hello all, I am retrieving data from servlet to midlet. Now coming data is whole string. but now I want to chop it into different words. here my code is : [CODE] HttpConnection conn = (HttpConnection) Connector.open(url); StringBuffer sb = new StringBuffer(); conn.setRequestMethod(HttpConnection.GET); conn.setRequestProperty("Content-Type", "Application/x-urlformencoded"); InputStream is = conn.openInputStream(); byte[] …

Member Avatar for Hakoo
0
598
Member Avatar for Transcendent

[COLOR="Green"]I'm supposed to write this program using a default constructor but when I compile I got this errors: [/COLOR] [COLOR="Red"]Exception in thread "main" java.lang.Error: Unresolved compilation problems: The constructor Date1(int, int, int) is undefined The constructor Date1(int, int, int) is undefined at Date1Test.main(Date1Test.java:23) [/COLOR] [CODE]/** * */ /** * @author …

Member Avatar for kekkaishi
0
197
Member Avatar for CMAUK

Hi,I've started learning Java to enhance my programming knowledge and i've written code for individual GUIs which are working perfectly. Within each GUI i have common Labels,Buttons all in a JPanel that are the same in all of the GUIs which are linked together. What I want to basically do …

Member Avatar for mKorbel
0
172
Member Avatar for Abdel_eid

hello all i need to create a jtable which carry a customer ID and first name and last name and when clicking on that row of a specified customer it turns me to another frame containing the other data of the customer(email , phone number , address)

Member Avatar for mKorbel
0
70
Member Avatar for PhiberOptik

Hey guys, I have: [CODE=java]submitButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { System.out.println("Hello World!"); } });[/CODE] in a class that [ICODE]extends JDialog[/ICODE] but it doesn't work. How can I get an action listener working in a JDialog? Thanks PO

Member Avatar for mKorbel
0
56
Member Avatar for fugmag

I am trying to pass an object as parameter to another class wich contains a SQL connection: Base class is a swing class where this method is the essential to know for my question: [CODE] public void actionPerformed(ActionEvent e) { ModelNY mo = new ModelNY(); mo.setPersonID(txtField1.getText()); mo.setFName(txtField2.getText()); mo.setLName(txtField3.getText()); mo.setAdress(txtField4.getText()); mo.setEmail(txtField5.getText()); …

Member Avatar for mKorbel
0
289
Member Avatar for patrickgormally

Hi! So I have this program that will read from a file of responses to a survey. The ratings are 1-10 and there are over 250 responses. I have found the average response and also the standard deviation but I also want to find the Median response. To do this …

Member Avatar for jon.kiparsky
0
227
Member Avatar for techie929

Hi, I have a vector in which I added some integer numbers. Now when I remove these numbers from the vector and try to store it in an int variable I am getting "Incompatible types..found int ,expected java.lang.object". Any suggestions how can I store the values in a vector in …

Member Avatar for jon.kiparsky
0
96

The End.