Search:

Type: Posts; User: techwiz24

Page 1 of 2 1 2

Search: Search took 0.33 seconds.

  1. Replies
    0
    Views
    1,219

    Creating a TreeModel from SQL Data

    I'm writing a database application, and I want to use a tree to display the information.

    Say there are three fields (a,b,c) for each entry in the database. Each 'a' can have more than one 'b', and...
  2. Replies
    1
    Views
    1,964

    Local Domain MySQL server, access denied

    I'm taking a shot at an SQL application in java, and I have "set up" a mysql server on 192.168.1.123 on my network.

    Here's what I did to install it on Ubuntu:


    sudo apt-get update
    sudo...
  3. Replies
    1
    Views
    4,339

    [SOLVED] Re: Access Denied when extracting zip file.

    Nevermind :P I had already created the directory in the code. Crap...
  4. Replies
    1
    Views
    4,339

    [SOLVED] Access Denied when extracting zip file.

    I'm attempting to create an installer of sorts. When created, everything is stored inside a zip file named DATA.mpk and then put inside the jarfile for distribution.

    The structure looks like this...
  5. Replies
    4
    Views
    2,076

    Re: Gson Formatting

    Sorry to bump, but I've recently started up on the project again. I ended up starting over as the gui didn't scale -_- (forgot about that)

    My new save method


    ...
    protected void...
  6. Replies
    1
    Views
    1,792

    [SOLVED] Re: Scale Numbers from 0.0f to 1.0f

    Nevermind, I was dividing by zero in my origional program :X
  7. Replies
    1
    Views
    1,792

    [SOLVED] Scale Numbers from 0.0f to 1.0f

    Here's the problem.

    I am trying to implement a custom slider in a game written in java. Due to the nature of the game engine, the slider only supports values from 0.0f to 1.0f. In reality, I may...
  8. Replies
    4
    Views
    2,076

    Re: Gson Formatting

    ...
    public void saveSettings(){
    Gson gson = new Gson();
    BufferedWriter writer = null;
    try {
    writer = new BufferedWriter(new FileWriter(configFile));
    if(configFile.exists()){...
  9. Replies
    4
    Views
    2,076

    Gson Formatting

    I am using Gson for the settings file of my project. Currently, i'm using the gson.toJson(settings) method. Is there any way to get this to return as a string-array or something so that I can write...
  10. [SOLVED] Re: If a file extension is known, but not the name, how do you find it?

    I was afraid of that. I think I might have to change the standard then, and make the name of the file match the name of the last directory. Thanks for the help though.
  11. [SOLVED] Re: If a file extension is known, but not the name, how do you find it?

    Here's an example of the structure i'm using: "http://techwizmc.co.cc/Test/"
    In that url, there is a file called project.repo. Using standard directory listing methods, I get null pointer...
  12. [SOLVED] Re: If a file extension is known, but not the name, how do you find it?

    The code executes client side. My program is opened by the end user on their computer. When given a web url entered by the user(ex: "http://example.com/Plugin/"), the program should try to search...
  13. [SOLVED] Re: If a file extension is known, but not the name, how do you find it?

    Basically, My program pulls information from plugin developers "repositories" that they host on their web servers. In the base path that they give out to users is a file PLUGIN_NAME.repo. At runtime...
  14. [SOLVED] Re: If a file extension is known, but not the name, how do you find it?

    Ok, so java doesn't treat it as a directory. Is there a way around this without mirroring the whole directory on the local filesystem?
  15. [SOLVED] If a file extension is known, but not the name, how do you find it?

    I'm working on a project that I started, and an attempting my first shot at networking so to speak. Lets say my program looks for "updates" by reading in a few lines from a textfile on a webserver. I...
  16. [SOLVED] Re: Is it possible for a mouse listener to exist without a GUI interface?

    Thanks, but I implemented it in a different way.
  17. [SOLVED] Is it possible for a mouse listener to exist without a GUI interface?

    I wanted to try something for a small program I'm writing. I'm trying to write a mouse listener that can detect if the right mouse button is pressed without having to write a gui. I've implemented...
  18. Store HexDecimal Color Code in .properties file?

    I am trying to make my program/application more customizeable, but here's the problem:

    The color codes it uses are are integers in the form of 0xffffff and so on, but when I save it to a...
  19. Replies
    1
    Views
    2,525

    Re: Subclipse doesn't commit anything to svn

    I think I might have figured it out, but a question still remains. I switched over to Eclipse Subverse, and had the same problem. I noticed that because of the way I build my project locally, the src...
  20. Replies
    1
    Views
    2,525

    Subclipse doesn't commit anything to svn

    I have an existing non-svn project in eclipse. I'd like to add svn to it, so I made an assembla account. When I tried to add it to my svn repo, it only uploaded the .settings folder, and .classpath...
  21. Replies
    3
    Views
    1,067

    [SOLVED] Re: Update Values Globally

    You have no idea how much of an "oooooohhhhhhhh, DUH!" moment I had when I read that! Thanks, sometimes it just takes someone else to look at it, thanks a million, problem fixed!
  22. Replies
    3
    Views
    1,067

    [SOLVED] Update Values Globally

    Is there any way to update values globally? More specifically, boolean value. I'm trying to make a subroutine that "toggles" the given value, but it only does it locally. I've also tried hashmaps,...
  23. Re: What am I doing wrong with this stack? Java Programming?

    It appears to be returning the memory addresses of the items in the stack...I think. I've had this happen a few times before. Try
    System.out.println ("\nReturning what is in the stack\n");
    ...
  24. Replies
    5
    Views
    8,084

    [SOLVED] Re: JSCH Auth Failure

    Idiot me, the method I was using to get the password stored it as a char[]. Converting that to string the CORRECT way might help. Problem resolved!
  25. Replies
    5
    Views
    8,084

    [SOLVED] Re: JSCH Auth Failure

    Just confirmed it's a problem with my sftp server, as this :
    import com.zehon.sftp.*;
    public class zeDebug {

    /**
    * @param args
    */
    public static void main(String[] args) {
    try{...
Results 1 to 25 of 32
Page 1 of 2 1 2