- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 33
- Posts with Upvotes
- 22
- Upvoting Members
- 24
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Programmer, Animal-Lover, Gamer, Computer "Geek"
- Interests
- Programming, Gaming, Computers, Networking, Cooking, Fishing, Camping,
- PC Specs
- AMD FX 9590 4.7GHz CPU, NVIDIA GeForce 650 Ti BOOST OC 2GB, 16GB GSKILL 2400MHz DDR3 RAM
A couple questions before I even attempt this project... Is it possible to create a VoIP application in Java? Is it posssibe to do this using standard libraries? If you can't make one with standard libraries, which libraries are needed to accomplish this? Also, is this a good Introduction to … | |
Hey everyone, I'm looking for some help with coming up with a system to communicate data between client and server sockets. I was thinking of a command system, but that would only work when the client is sending a request to the server, not when the server is returning data … | |
I'm creating an application that with continuously attempt to run a list of programs until they are open. I'm having an issue when it comes to programs that require administrative priveleges however. I've done some searching and found the below script (in createElevationScript()) that *should* run a program with administrative … | |
Re:
how to decrypt in vb.net ? 0=wShQbzFxvDkfRt.wGB_hUZ2n5Ja9XWuP_hXf9nyZ_MWYvIoqR0KP2ZeAl_s8eO.RHTJG0lE._5s7jRsp9uEncaolhjGanaiAf2stFNrK5OVFoImgUgDm_CFyDVx9LehWGhSZNgxwOf5GsdVz39gsNeIssq_zv8Aa3XLenRmrfKzjYA-- 1=X7D3rkua3R6OikU8WrjYE3rw.hpY1QWTrKSlT_qXYmG2LhxqRsPHs23wxLAFJIxkmLCKNrKbjk60..mwGgHHsF7qRdywIt.hyvd9CwfcrH9xzqZZVbzetnc2QHrK 2=jkbypkW4jR.7MAX7S7bvaCXmVmvXq_TaiuDWiChnQUGju1X6grqbImVQohj9X_F0TRY4EH6zGI7uuJXqtf2R7ZxHmxYSVOwCje2oVXB_ksI_Gw-- 3=bn2kmlsta3QxggMW.Tl5zXAKLzioMbMEANhRz0QDhhEcOTaKsqfS._Day64dwWOVbLGwl0T49BKOjycCjHWISoZ3Ae2E8FWtubRk2WDRwkmfs2TwYvz1UA-- 4=Vti5_8SBBw8ZJdawvYysmSxDWPR2dCEFnufmWJqve3qQGedttnNp3yPS7ot_KU94cu4SbJwzOyp2PTOQFL2AG2dNgfp_qPDa7GbU_AxRAB.0A0lp_rWEdiwIPbMt98iQAM0GnpW89TletY_e5VE- 5=fbl8hIUF_bCXl.lGpcMGo.zKK9uIqG5wX8NVYXkvWSTIvjpvIQwxxUAQMy9wFWdLoLxCd8jx9_wlWWYStd0.YaRt.isSctMqgjcDGPeY4nRR4tYp20YS6XI- | |
I have this method that is used to set the columns and data in the listview based on a string. I'm not sure how to add the columns I need programactically. I need to use different data types though. private void populateLeaderBoardList() { string btnContent = (string)btn_exportLeaderBoard.Content; if (btnContent.Contains("Totals")) { … | |
I'm having some issues with my BSP Dungeon Generation and I'm not sure why! I'd greatly appreciate the help :) Occasionally I'll get an IllegalArgumentException in RandomHelper. That may help, but it's not the issue because it only happens rarely. As you can see, [this image](http://puu.sh/nb9Ir/70efbe5e81.png) shows that the Rooms … | |
Why is my finally block not firing after projectDCThread.join() is called? This method IS in a class that implements Runnable, however it's not overriding the deprecated stop() method. public synchronized void stop() { if(isRunning || safeCloseRequested) { try { isRunning = false; projectDCThread.join(); } catch (InterruptedException e) { Logger.append("Exception thrown … | |
Re:
i need help. my teacher told me to create a program on java gui that can send everything you input to notepad. then when you input another info in java gui. another notepad file should be made.. | |
Flickering occurs when Active Rendering with JPanel, not sure why as I've done this before (couldn't find source code of that project however). Relevant Code: Graphics g = projectDCWindow.getWindowGraphics(); // Gets the Graphics Object from a JFrame g.setColor(Color.BLACK); g.fillRect(0, 0, (int) ProjectDCInfo.getDefaultWindowSize().getWidth(), (int) ProjectDCInfo.getDefaultWindowSize().getHeight()); // Clears the screen projectDCGSM.get().render(g); // … | |
Re:
Hello I am trying to take a multi-deminsional array[ ] [ ] (2D (if you will)) and set a varriable through a classes public setter. //some of the fields private int request_id; private String time_stamp; private int session_id; private int client_intf; private int server_intf; // many more... // Some Getters … | |
Re:
Hi, Need help in writing a ‘Guess the Word’ game using object oriented. Thanks, SK | |
Looking for complete code snippets to read through and try to understand. Post them below and I'll post back with what I think it does. | |
Curious who's all used MiGLayout and what everyone's thoughts are on it. Is it a prefered layout over others? If so, which? What do you like and dislike about it? Is there any other 3rd Party Layout's you would recommend? What features do they have that make them recommended? | |
I was wondering if it would be more efficient to render a single BufferedImage instead of rendering a bunch of BufferedImages in a double for loop? I have an idea of how to do it, I just don't know what methods in BufferedImage you would use to create the bigger … | |
I'm used to using AWT's Canvas and BufferedImage and things like that. I've switched from using Canvas for drawing, to using a JPanel and I'm blown away by the efficiency. I intend on fully using Swing for all of my GUI. My question is, what is Swing's equivalent of BufferedImage? | |
So I have a few concerns about the new Categories after a while of using them and I thought this would be the best way to express them. I have noticed that it seems to be a little more difficult to navigate the forums and theres a few reasons I … | |
I know you're not supposed to use Lightweight Components like JFrame with non-Lightweight Components like JFrame, so my question is, what do you use with a Canvas? Is there also some example code for it? Thanks! | |
Is there a way to require a subclass to call super explicitly in it's constructor? | |
I'm looking for what exactly is a Vector3 (or any Vector for that matter) and also what a Quaternion is in code? What are the variables types? Should you have multiple classes for each type? Thanks! | |
I have a custom class which extends JPanel and overrides the paintComponent() method. Here's what that looks like: @Override protected void paintComponent(Graphics g) { if(redrawRequested) { g.setColor(ETCH_BACKGROUND_COLOR); g.fillRect(0, 0, owner.getAppWidth(), owner.getAppHeight()); redrawRequested = false; } g.setColor(Color.BLACK); g.fillRect(pointX, pointY, PIXEL_SIZE, PIXEL_SIZE); } The same custom class also implements KeyListener. I am … | |
Re:
Everytime I run this nested code, I just get stuck inside of an infinite loop.. any help? I'm not familiar with nested loops at all. I'm supposed to be getting: 123456 12345 1234 123 12 1 public void displayPatternII (int lines) { System.out.println("\n\tPattern II\n"); for (int i = 6; i … | |
I want to iterate over a List in a 2D way, basically starting at the center and working my way around in a "circular" fashion. The List is a List of type Chunk and Chunks store a Vector 3 position. I also have a Player which has a Vector3 position. … | |
I'm curious, when setting the default close operation for JFrames, should you use JFrame's constants or WindowConstants' constants? As far as I can tell they're the same. Although, IntelliJ (not tested on other IDE's) prefers WindowConstants' EXIT_ON_CLOSE at least. So basically my question is, which one should be used? Which … | |
Is this try catch block enough to ensure the process ran successfully? protected boolean attemptLaunch() { try { System.out.println("Attempting to open '" + name + "'."); //Try to open the Process new ProcessBuilder(path).start(); return true; } catch (IOException e) { System.out.println("Opening failed. Will retry during next Iteration."); return false; } … | |
So this is the first time using a Spring Layout and I gotta say, it honestly seems like a very nice Layout to use, but I can't quite seem to get it working the way I want it to. Let me explain: I have a JList which should be inset … | |
I need a boolean to be stored with a String (or possibly a Path, not sure which one I want to use yet). I thought about using a Map, so I did some looking around and found out that LinkedHashMaps are the only type of Map that stay in Order … | |
Re:
I've opened this thread following rotten69's suggestion for "Java projects for beginners". To get things started I've posted a project in a format that makes sense to me; please feel free to follow that format, or to do it in some completely different style if that seems better. Let's see … | |
I have a custom ListCell in which I have methods to move the position of the cell to the right or left, but I want a button to be shown similar to deleting a Conversation in Messages on iPhone. If I add a new ImageView, which will act as the … | |
I'm making one of those puzzle games that has the empty tile which you need to slide them around to finish the picture. When I refer to the "Active Tile" I'm referring to the tile that's empty on the board. I'm changing the position of the active tile and the … | |
I can swap two tiles, however, when I need to shuffle them, I need each tile to have a unique position. I've tried setting up array's for the x and y position of both the tiles to be swapped checking against the randomly generated number to make sure it's position … |