No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
15 Posted Topics
**BACKGROUND** There is a heavily obfuscated online applet with encyption (referred to as applet), there is a program (referred to as program) that reads and modifies the online applet for hacking purposes far more obfuscated than the applet, and then there is me. In a nutshell: applet's main class defines … | |
This is basically the layout of my task at hand: I have one "host" program - the basic GUI for the entire application running at any given time. It contains a JTabbedPane. When the user adds a tab, I want the program to start a completely new process (new JVM … | |
I'm trying to decompile this one method; I'm pretty sure its purpose is to take two integers and convert them to a single long, but I may be wrong and it can be just some weird math. What I have gotten so far: `long result = (((long)possibleHigh) << 32) + … | |
Re: [CODE]Object src = event.getSource(); for(int x = 0; x < Grid.length; x++){ for(int y = 0; y < Grid[x].length; y++){ if(Grid[x][y] == src){ //the source of the event will be the same instance as one of the JButtons if one of them was clicked System.out.println("Clicked at (" + x + … | |
My objective is actually [B]extremely[/B] simple, but I just don't know how to do it. I want to put some swing components on top of graphics which fills the entire screen. That's it. And I can't figure out how to do it... Some other side-questions that I would love to … | |
Re: [code] for (i = 0 ; i > u ; i++) { c.println (quizArray [i]); } [/code] should be changed to [code] for (i = 0 ; i < quizArray.length ; i++) { c.println (quizArray [i]); } [/code] Actually checking quizArray.length will make sure that you do not get that … | |
I am aware of the MouseInfo.getPointerInfo() method, but you can only get the mouse location using this. However, I also want to know the buttons pressed (specifically just the BUTTON1_DOWN_MASK), without any events. This is because the program will ask the user to create a rectangle by dragging the mouse … | |
Hey, everyone. My goal here is to be able to load a 3x4000*4000 multidimensional array, modify it, save it, and QUICKLY access it (as if accessing a 100x100 array). I'm not really sure how this works in the JVM but...I mean I'm at a loss. Would making a single int[] … | |
Hi guys, I'm trying to create a "pool" of data that once added to is saved on a public domain. For example, data is stored at "url.com/data.txt". data.txt: [CODE]18473,948263,384292,47239,[/CODE] Client 1 connects to some url (which I need help with, thinking some PHP) with data as arguments. Adds: 39458,359835 Client … | |
Hey, everyone. I'm just here to ask a really simple, quick question. Is [URL="http://www.betterprogrammer.com/"]Better Programmer[/URL] accurate in the sense that it truly tells you how good you are at Java programming? Also, I am 14 years old, and what would a score of 93% be (as in terrible, bad, average, … | |
[CODE] private static int[][][] pieces = { { { 1, 1, 1, 1, 1, 1, 1, 1 },{ 1, 1, 1, 1, 1, 1, 1, 1 },{ 1, 1, 1, 1, 1, 1, 1, 1 },{ 1, 1, 1, 1, 1, 1, 1, 1 } },{ { } },{ { … | |
I'm trying to replace values in an array while removing extra values. This is what I have, but it doesn't seem to work and I have no idea why. I'm just challenging myself to not use any Strings in my project. This will be the last step. [CODE]/** * * … | |
I'm trying to send an e-mail through a C# program. It works until it sends it, then the operation times out. This is what I have: [CODE]{ try { SmtpClient client = new SmtpClient("smtp.gmail.com"); client.UseDefaultCredentials = false; client.EnableSsl = true; client.Port = 465; client.Credentials = new NetworkCredential("mygmailacc@gmail.com", "mypassword"); MailAddress from … | |
This code highlights all instances of keywords in a JTextPane. I don't think it is very CPU efficient (it has three loops per LINE) It splits all the lines, creates a Matcher for each keyword, and iterates through those, which consequently means slow execution with larger files. The thread is … | |
Hey, everyone, as you can see, first post. I'm just stumped. I've tried everything I can think of to [COLOR="Red"]highlight certain keywords as the user types in a non-CPU intensive manner in JTextPane with a StyledDocument[/COLOR]. I'm almost sure there is a logical way that I cannot see, but here … |
The End.