Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~2K People Reached
Interests
3d graphics
Favorite Forums
Favorite Tags
java x 25
c++ x 3

7 Posted Topics

Member Avatar for kumaran21

[QUOTE]m2 handPhone = new m2(); m2.expensiveBrand();[/QUOTE] it's not correct. you shoud write: [CODE]handPhone m2 = new handPhone("some brand", 123.456); m2.expensiveBrand();[/CODE]

Member Avatar for Perveance
0
317
Member Avatar for Perveance

Hello, I'm trying to create Frame with 2 JButtons and 1 JList. Buttons are Add and Remove. After clicking Add button JFileChooser creates and user choses a file. The file then must to be added to the JList. [CODE]public class GmFrame extends JFrame { private JButton bAdd; private JButton bRemove; …

Member Avatar for Perveance
0
243
Member Avatar for leoeroy

leoeroy, you can create 2d array of objects like this [CODE]SpotInField myField[][] = new SpotInField[length][width]; for (int i = 0 ; i<myField.length; i++) { for (int j = 0; j<myField[i].length; j++) { myField[i][j] = new SpotInField(0,100,0,0,100,0); } }[/CODE] Put this code in main method and enjoy results :)

Member Avatar for leoeroy
0
648
Member Avatar for Perveance

Hello. Can someone tell me please how can I find out monitor resolution from my Java code? Thanks in advance

Member Avatar for Ezzaral
0
53
Member Avatar for flashninja

Where is class Phrases code? It will be easier for me to find your mistakes having all your project's code.

Member Avatar for BestJewSinceJC
0
74
Member Avatar for Web_Sailor
Member Avatar for Eternity[LK]

Hello, just a little change in your code: [CODE]#include <conio.h> #include <iostream.h> #include <stdlib.h> void swap(int& a, int& b); int input(); void generation(); void show(); int i,j,a[50],n; void main(){ randomize(); input(); generation(); show(); for(i=0; i<(n-1); i++) { if (a[i]> a[i+1]) { swap(a[i],a[i+1]); for(j=i; j>0; j--) { if(a[j-1]>a[j]) { swap(a[j-1],a[j]); } …

Member Avatar for Eternity[LK]
0
97

The End.