Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
52% Quality Score
Upvotes Received
7
Posts with Upvotes
7
Upvoting Members
7
Downvotes Received
7
Posts with Downvotes
7
Downvoting Members
5
4 Commented Posts
~18.7K People Reached
Favorite Tags

54 Posted Topics

Member Avatar for Glass_Joe

good new for anyone with an ipod touch or iphone... but hopefully the free apps still remain illegal

Member Avatar for CaptBah
1
1K
Member Avatar for MeandJava

try this out [CODE] Icon icon = new ImageIcon(file path); JLabel label = new JLabel; label.setIcon(icon); [/CODE]

Member Avatar for Ranjana_1
0
4K
Member Avatar for Shahera
Member Avatar for l_savitha

[QUOTE=l_savitha;1487059]Can any one suggest how to proceed with this. On clicking on print button it should start printing on the console while the other button end is clicked it should stop printing. When print button is clicked end button click is not recognised until process is print process is completed[/QUOTE] …

Member Avatar for l_savitha
0
118
Member Avatar for semccarthy

[QUOTE=semccarthy;1484907]Hi, I'm currently designing a software application for teaching, it will have a large backend database, short animation videos(basic 2d of people talkin). I'm just looking for some advice in what is the best language to code this type of project in. I have done several projects in both java …

Member Avatar for semccarthy
0
760
Member Avatar for Progr4mmer

how can i get java to enter/type text into a textbox for me once i select it(click inside it) so the cursor is there. Also how would i get it to send the enter key or other "non-text" keys.

Member Avatar for mKorbel
0
177
Member Avatar for dspjm
Member Avatar for Progr4mmer

i have a game in eclipse that when i used to run would open up and work but i made a couple changes to it and now it just runs for a couple seconds(doesnt open up any windows) and then it says terminated down by the console in eclipse?

Member Avatar for Progr4mmer
0
132
Member Avatar for Puertorro

if you want the string of the number its [CODE] String userNumber = "" + Usernum; [/CODE]

Member Avatar for mKorbel
0
354
Member Avatar for Sheena26
Member Avatar for peter_budo
0
612
Member Avatar for hairpull

not to be too helpful (not really possible) but here is the final code becuase its kinda hard to figure out where to put his code in the program [CODE] import java.util.Collections; import java.util.ArrayList; public class Lottery { public static void main(String[] args) { ArrayList<Integer> numbers = new ArrayList<Integer>(); for(int …

Member Avatar for hairpull
0
253
Member Avatar for MFal

for the button thing use this [CODE] enter = new JButton("Click here to calculate numeric palindrome."); enter.setActionCommand("enter"); enter.addActionListener(this); [/CODE] and for the action thing this [CODE] public void actionPerformed(ActionEvent e){ if("enter".equals(e.getActionCommand())){ //your code here } } [/CODE]

Member Avatar for Ezzaral
0
3K
Member Avatar for Sheena26

whats with everyone expecting help for homework from "us" when they don't even have any code to start

Member Avatar for Sheena26
0
1K
Member Avatar for 24x24

heres how i would do it [CODE] File ofile = fc.getSelectedFile(); file = new File(yourfilepath); FileInputStream fis = null; BufferedInputStream bis = null; DataInputStream dis = null; textArea.setText(null); try { fis = new FileInputStream(file); bis = new BufferedInputStream(fis); dis = new DataInputStream(bis); while (dis.available() != 0) { textArea.setText(textArea.getText() + dis.readLine()); …

Member Avatar for 24x24
0
438
Member Avatar for Progr4mmer

I'm wondering if its possible to program using xcode for ios(I pod touch, I phone, I pad) on windows?

Member Avatar for Progr4mmer
0
115
Member Avatar for Shizuo
Member Avatar for oldezwe

[QUOTE=ztini;1486693]If I have this code: int a = 10; int b = 5; int c = a + b; System.out.println(c); You do not want to use the int c. Your code should model this: int a = 10; int b = 5; System.out.println(a + b); There are 2 fold reasons …

Member Avatar for Progr4mmer
0
174
Member Avatar for insanely_sane

input: [CODE] File ofile = fc.getSelectedFile(); file = new File(yourfilepath); FileInputStream fis = null; BufferedInputStream bis = null; DataInputStream dis = null; textArea.setText(null); try { fis = new FileInputStream(file); bis = new BufferedInputStream(fis); dis = new DataInputStream(bis); while (dis.available() != 0) { textArea.setText(textArea.getText() + dis.readLine()); } fis.close(); bis.close(); dis.close(); } …

Member Avatar for Progr4mmer
0
225
Member Avatar for jimJohnson

You need the latest JDK (1.6.0_24) [URL="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u24-oth-JPR@CDS-CDS_Developer"]here[/URL] and you should probably get an IDE (i suggest Eclipse) [URL="http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/heliossr2"]here[/URL]

Member Avatar for Progr4mmer
0
140
Member Avatar for Shizuo

[QUOTE=Shizuo;1482155]it give an access denied<java.io.filepermission Item.txt write> error[/QUOTE] are you not admin trying to use a file on the c drive. it looks like you dont have permission to write there.

Member Avatar for Taywin
0
134
Member Avatar for not4_me

when doing [CODE]System.out.println();[/CODE] its not supposed to put it in a text area if thats your thinking

Member Avatar for Progr4mmer
0
145
Member Avatar for shookees

[QUOTE=shookees;1484282]Hello, I've been trying recently to find out how to print out text into the screen like from keyboard, that is printing into active window, just like from keyboard port. Is there a premade package/method for that or how do I use the keyboard port?[/QUOTE] what do you mean my …

Member Avatar for ztini
0
80
Member Avatar for Phil++
Member Avatar for ztini
0
145
Member Avatar for borkarparesh

[QUOTE=royng;1484330]Can you please teach me that? And what is c# code? I am not very knowledgeable at the topic[/QUOTE] C# is a programming language that is intended to be a simple, modern, general-purpose, object-oriented programming language. its kinda a little like c. also next time just "wiki" it

Member Avatar for royng
0
144
Member Avatar for arshalan
Member Avatar for Progr4mmer
0
62
Member Avatar for Progr4mmer

I noticed my JDK is 6u21(1.6.0_21) and the newest is 6u24(1.6.0_24) is there any way for me to update without re downloading, is there and reason to either?

Member Avatar for Progr4mmer
0
151
Member Avatar for luisator

no it would be (true) not ("true") [QUOTE=niksinghania;1484550]I think It should be recordingActivation = new Boolean("true"); instead of recordingActivation = new Boolean(true);[/QUOTE]

Member Avatar for Ezzaral
0
170
Member Avatar for Progr4mmer

are pictures displayed next to your post and your own title like "newbie" or java addicts "posting maven" only for admins or are they anyone above a certain number of posts, if so how many posts?

Member Avatar for Progr4mmer
1
189
Member Avatar for cypher1

[QUOTE=sangadala;1483156]java soo easy....................[/QUOTE] thats your first post here, did you come just to brag?

Member Avatar for Progr4mmer
0
167
Member Avatar for lohit kumar

[QUOTE=lohit kumar;1483522]Hello Everyone, i'm trying to convert a .jar file to .exe... first of all is it possible? If so then how?[/QUOTE] its possible but why would you ever want to do that? Java is so great becuase it works on any OS.

Member Avatar for Progr4mmer
0
172
Member Avatar for Progr4mmer

In my program when i close the save file chooser it opens another one ??? heres the code [CODE] import javax.swing.*; import javax.swing.filechooser.FileNameExtensionFilter; import java.awt.*; import java.awt.event.*; import java.io.*; public class JB extends JPanel implements ActionListener{ protected JTextArea textArea; public JB() { setLayout(new BorderLayout()); JTextArea textArea = new JTextArea(); textArea.setFont(new …

Member Avatar for Progr4mmer
0
140
Member Avatar for Progr4mmer

I am currently using eclipse but thinking of NetBeans because of gui. I don't want to download it yet because i dont want to have unused programs on my computer. so should i download it for gui?

Member Avatar for Progr4mmer
0
136
Member Avatar for Progr4mmer

i need to access the current text of a JTextField from another method but i get an error here is the code [CODE]public Calc(){ JTextField textBox1, textBox2; setLayout(new FlowLayout()); textBox1 = new JTextField(" Time "); textBox2 = new JTextField(" Exp "); JLabel lRate = new JLabel("Rate"); JButton calc = new …

Member Avatar for Progr4mmer
0
224
Member Avatar for Progr4mmer

I wanted to know if its possible to change the text of a JTextArea or JTextPanel from another method and if so how?

Member Avatar for Progr4mmer
0
205
Member Avatar for Progr4mmer

when ever i try to compile/run my game in eclipse it says this [QUOTE]Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at OurGame.Board.checkCollisions(Board.java:78) at OurGame.Board.actionPerformed(Board.java:40) at javax.swing.Timer.fireActionPerformed(Unknown Source) at javax.swing.Timer$DoPostEvent.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at …

Member Avatar for Progr4mmer
0
106
Member Avatar for ComicStix
Member Avatar for rscubelek
0
228
Member Avatar for tracydo

here is the code fully fixed because your a newb p.s. im 12 lol [CODE]import java.text.*; public class Mortgage{ public static void main (String[] args){ DecimalFormat num=new DecimalFormat ("$,###.00"); double P= 100000; double I = 0.07; double T= 12*30; double MP = (P*(I/12)) / 1-Math.pow((1/(1+I/12)),(T)); System.out.println(num.format(MP)); System.out.println("The Monthly Mortgage Payment …

Member Avatar for FireBlah
1
162
Member Avatar for Progr4mmer

I'm trying to make a program where you enter the number you want to find primes up to which then lists all the primes up to that number... But I enter 100 then it just sits there... Here's my code so far: [CODE]#include <iostream> #include <cmath> int prime(int); int main() …

Member Avatar for Progr4mmer
0
197
Member Avatar for Progr4mmer

could someone please explain to me the differences of these languages (C, C++, C#) and when i would use them. (i know a little C++)

Member Avatar for ddanbe
0
108
Member Avatar for Progr4mmer

I was watching the java game tutorials by thenewboston on youtube but he stopped making them. Anyone know of any good tutorials for making java 2d or 3d games?

0
75
Member Avatar for AlPhA

DON'T download aim bots from other people most of them contain trojans or you have to do surveys to download which don't work and if they do its a fake.... just some helpful info

Member Avatar for Progr4mmer
0
713
Member Avatar for ridzii

the tags go like this [CODE] <?php ?> [/CODE] btw you might want an apache server i suggest xampp

Member Avatar for Progr4mmer
0
212
Member Avatar for newbiecoder

when you start out with mysql the username is root pass is null (there is no pass)

Member Avatar for diafol
0
204
Member Avatar for Progr4mmer

i need help drawing an image in an applet for some reason it doesn't show up but there are no errors [CODE]package Game; import java.applet.*; import java.awt.event.*; import java.awt.*; import javax.swing.ImageIcon; public class AppletOne extends Applet implements Runnable, KeyListener{ int x_pos = 10; int y_pos = 100; int x_speed = …

0
91
Member Avatar for Progr4mmer

i want to make a 3D game in Java but the tutorials i was watching aren't being made and i don't know which 3D to use because j3d looks pretty bad... and i'm not new to Java just new to 3D.

Member Avatar for Ezzaral
0
117
Member Avatar for Progr4mmer

Im making an applet that moves a red ball using the WASD keys but it doesnt work for some reason help? [CODE]package Game; import java.applet.*; import java.awt.event.*; import java.awt.*; public class AppletOne extends Applet implements Runnable, KeyListener{ int x_pos = 10; int y_pos = 100; int x_speed = 3; int …

Member Avatar for Progr4mmer
0
199
Member Avatar for Lemonader

hope this helps [CODE]import java.sql.Date; private class Person{ private String firstName, lastName; private Date birthDate; public Person(String fN, String lN, int month, int day, int year) { firstName = fN; lastName = lN; birthDate = new Date(month, day, year); } public boolean equals(Person theOtherPerson) { return firstName.equals(theOtherPerson.firstName) && lastName.equals(theOtherPerson.lastName) && …

Member Avatar for Progr4mmer
0
97
Member Avatar for Progr4mmer

this is supposed to log the ip's of people connecting to my site but it wont work help? [CODE]<?php $username="****"; $password="*****"; $database="ipconnect"; $ip=@$REMOTE_ADDR; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query = "INSERT INTO ip VALUES ('$ip')"; mysql_query($query); mysql_close(); ?>[/CODE]

Member Avatar for pritaeas
0
111
Member Avatar for Progr4mmer

im trying to make so one if has two outcomes ex: if(prime % chk == 0) prime++ (and) chk++; i want to know how to put (and) into code so it does both if prime % chk == 0 this is what i have for my prime finder [CODE]class Number …

Member Avatar for Akill10
0
141
Member Avatar for Progr4mmer

i want to make a save button for images without having to open a save file dialog so i would specify the name and location to save in the code please help

Member Avatar for Rajesh Parmar
-1
272

The End.