Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
87% Quality Score
Upvotes Received
10
Posts with Upvotes
8
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #1K
~31.3K People Reached
About Me

Programming

PC Specs
Amazing
Favorite Tags
Member Avatar for Violet_82

Chaps, I wonder if you can give me a hand with this. Here's the brief: "Create a program that draws 10 random filled shapes in random colors, position and sizes. Method paintcomponent should contain a loop that iterates 10 times. In each iteration, the loop should determine whether to draw …

Member Avatar for Verse_1
3
5K
Member Avatar for M4trixSh4d0w

Hello, I'm trying to connect some C# code to a Microsoft TeamFoundation Server, but I can't seem to find any documentation for Visual Studio 2015 (Typical Microsoft?) But I did find something for Microsoft Visual Studio 2013. https://msdn.microsoft.com/en-us/library/bb286958 It turns out that they have broken the old way (2013 way) …

Member Avatar for rproffitt
0
576
Member Avatar for abelLazm

I found this game on another forum and found it really very interesting lets start it here :) hope everyone will enjoy it Make a wish, and let the next poster give you some bizarre result based upon your wish. Example: I wish I had a million dollars. Reply: "You …

Member Avatar for James_40
8
9K
Member Avatar for eric.neuls

Okay so i am trying to code out a canvas that has two complex objects(I have MainCanvas , Human, Dog) and I want to make a piece of the complex object move when i drag it, but i dont know if i need to put in another moving method in …

Member Avatar for M4trixSh4d0w
0
143
Member Avatar for M4trixSh4d0w

Hi, I'm new to php, but I'm trying to implement a basic user system on my site. I'm having some trouble keeping a PHP session when I change pages (or something like that) where the logged in varible (`id`) isn't showing up as being defined, so a logged-in user doesn't …

Member Avatar for M4trixSh4d0w
0
315
Member Avatar for adikimicky

Hi everyone, I have made a desktop application in NetBeans IDE 7.3. In the dist folder ,there is my project's executable jar file. But by double clicking it is not opening. Can anybody make suggestions about it, Thanks in advance

Member Avatar for ghincelino
0
250
Member Avatar for ripplex

Hi there What are the various GPL's that can be used with C? I am currently learning SDL and I know of another, Allegro. Just trying to fine tune as well as learn more about C, so I am programming games using C.On a bright sunny day, it would definitely …

Member Avatar for gusano79
0
220
Member Avatar for M4trixSh4d0w

Hi, I've been trying to send a `BufferedImage` through a socket. I can get it to work once, but when I try to get another screenshot, it fails. The server usually gives me a `java.lang.IndexOutOfBoundsException` at `ImageIO.write(capture, "png", client.getOutputStream());` Server Code: //already told server i'm expecting an image try { …

Member Avatar for JamesCherrill
0
2K
Member Avatar for M4trixSh4d0w

Hi, i'm making a java program, and I started making the gui with a `JTextArea`, and tried to add a font (`Consolas`) and It crashes with a "divide by 0" error. It works fine on windows, and if you comment out the `setFont` line.. import javax.swing.*; import java.awt.Color; import java.awt.Font; …

Member Avatar for M4trixSh4d0w
0
489
Member Avatar for JavaPrograms

I was just wondering if someone could maybe set me on the right track or tell me exactly how to do what I am about to ask. I have a bunch of answers in a notepad file, such as TFTABCD (going downwards, a letter per line), how can I make …

Member Avatar for stultuske
0
204
Member Avatar for DEBASCOGUY

Please am new to java and i need an assistant on loading hexadecimal from a textfile and converting it into binary(Loader class) then the binary will be kept in another class(memory class). then the binary will be forwarded to another output file.

Member Avatar for JamesCherrill
0
260
Member Avatar for anestistsoukalis

My friends are keep telling me "Use debugg idiot !" I found out that for a code over 200 lines is very important. But i want to debug only a specific piece of code. And to review the results of a variable while the code is "executing" . Is this …

Member Avatar for anestistsoukalis
0
245
Member Avatar for avinash_545

Hi everyone. I am currently doing small exercises on classes. Suppose you have 2 classes: Person (superclass) and Student (subclass) the class Student is extending the class Person. When creating new objects of type Student, when do use the following options: option 1: student x= new student( ..); option 2;( …

Member Avatar for stultuske
0
196
Member Avatar for wschamps42

Hey guys, can anyone tell me how I could use randomaccessfile to read in a txt file and copy the content to a tree? Also how to then do the opposite and write newly changed nodes from the tree onto the text file? It's pretty much like creating a save …

Member Avatar for bguild
0
266
Member Avatar for M4trixSh4d0w

Hi, i'm trying to use an `AffineTransform` to transform a point to pixels on a 400x400 canvas. What kind of transform would you use? For example: given the points (-1, 1) --transform--> (0, 0) (pixels) (1, 1) --transform--> (400, 0) (pixels) (-1, -1) --transform--> (0, 400) (pixels) (1, -1) --transform--> …

Member Avatar for M4trixSh4d0w
0
185
Member Avatar for carrl00

i need to make the Print JMenuItem to open a printdialog box when clicked but i dont know how to make it can u help me pls p.addActionListener(new ActionListener() heres the code can u add the printdialogbox i searched but i cant put it on the program import javax.swing.*; import …

Member Avatar for M4trixSh4d0w
0
148
Member Avatar for VengefulToast

Okay, so it's been awhile since I've posted on here, but I am having trouble figuring this problem out. So, students need to be assigned randomly to experiments. Experiment 1 has 5 participants, 2 has 10 participants, and 3 has 20 partcipants. Every iteration through the loop, it asks for …

Member Avatar for stultuske
0
154
Member Avatar for darylglenng

package wow; import java.io.PrintStream; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Scanner; public class Wow { String question; String answer; int correct=0, number=15; Wow[] quizBank = new Wow[15]; List<Wow> quizList = Arrays.asList(quizBank); public static void main(String[] args) { Wow bank = new Wow(); bank.bankList(); bank.askQuestion(); } //end main public void …

Member Avatar for M4trixSh4d0w
0
326
Member Avatar for darylglenng

>equal button wont work =( /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package calculator; /** * * @author Gatongay Famiglia */ public class NewJFrame extends javax.swing.JFrame { double plusminus; double firstDouble; double secondDouble; double totalDouble; int plusClick; int …

Member Avatar for M4trixSh4d0w
0
314
Member Avatar for M4trixSh4d0w

I made a mini compiler to help compile C code easier on linux machines with bash #!/bin/bash function project_menu { header echo "Edit project: $1" dir echo "1) New file" echo "2) Edit file" echo "3) Compile file" echo "4) Run Project" echo "5) Compile & Run Project" echo "6) …

Member Avatar for DoRight
0
242
Member Avatar for Violet_82

HI all, I am a bit confused about right justifying and formatting strings and numbers in general, and I was wondering if somebody can clarify this for me please. Ok, so let's take an example: // Fig. 7.2: InitArray.java // Initializing the elements of an array to default values of …

Member Avatar for Violet_82
1
1K
Member Avatar for Tonyi1

`Hello and thanks for reading my post. I am trying to develop a program that will select a file for opening based on user input. I did have this code working at one point but no longer. I am a beginner at C++ so I am trying to learn from …

Member Avatar for Tonyi1
0
347
Member Avatar for adikimicky

Hello everyone, I am trying to make a chat application. For this i have made two programs-SERVER and CLIENT. But these are connecting. import java.io.*; import java.net.*; public class SimpleServer { public static void main(String args[]) { ServerSocket s=null; try { s=new ServerSocket (6666); } catch(IOException e) { e.printStackTrace(); } …

Member Avatar for adikimicky
0
179
Member Avatar for Vish0203

hi.. I'm trying to read a .docx file using apache poi api methods.. But i'm facing a few problems.. Can anyone suggest me the changes to be made in this code?? package apiole; import java.io.*; import org.apache.poi.xwpf.extractor.XWPFWordExtractor; public class Apiole { public static void main(String[] args) throws IOException { File …

Member Avatar for Vish0203
0
280
Member Avatar for vikarna
Member Avatar for rubberman
0
94
Member Avatar for cisumma

Hello. I wrote a program and loaded a lot of data : dir,files,serialized frame etc. I used it and found updates to add so I changed the class so to speak by making the changes. Now of course the same serialized frame will not open so I can not access …

Member Avatar for M4trixSh4d0w
0
122
Member Avatar for xHellghostx

For example let's say we have the property called Customer that returns a value of name String name; <== Global Variable public String getName() { return name; } public String setName(holdingName) { name=holdingName; } and a constructor called Match public FullName(String realName) { holdingName = realName; } Can I do …

Member Avatar for stultuske
0
313
Member Avatar for kay19

So here's my code. I had to do 3 constructor and 2 division methods. I have finished the 3 constructors. My question is on the division, where :(1) I have to divide a fraction by an integer and return, (2)divide an integer by a fraction and return. public class IFraction …

Member Avatar for M4trixSh4d0w
0
124
Member Avatar for cutiexhubx_1

hi everyone..can u please help me with my project? server to client quiz using java... please.. i really need it..

Member Avatar for M4trixSh4d0w
0
171
Member Avatar for riahc3

Hello Im having problems removing the ALT+0160 character from a string. iswhitespace doesnt seem to work. How can I manually remove it?

Member Avatar for M4trixSh4d0w
0
89