Search:

Type: Posts; User: Melodia

Search: Search took 0.30 seconds.

  1. Replies
    1
    Views
    69

    Re: Deploying on JBoss7.1

    EDIT:
    Relating to my attempts to get around my problem, what does it mean if this happens?
    2868
  2. Replies
    1
    Views
    69

    Deploying on JBoss7.1

    I think this is the right section for a JBoss question. I have installed JBoss-as-7.1.1.Final on OSX and the server seems to working alright. The console screen shows up at localhost:9990 and I was...
  3. Replies
    5
    Views
    306

    Re: Converting merge method in c to java

    It's not so much about getting the code to work as it is about cementing my understanding of it. The C code happens to be closer to the pseudocode in Introduction to Algorithms and other places. I...
  4. Replies
    5
    Views
    306

    Re: Converting merge method in c to java

    The error is an array index out of bound exception. I can't get much more detail than that, particularly as I don't know how to how to iterate through the eclipse debugger on my laptop (F6 doesn't...
  5. Replies
    5
    Views
    306

    Converting merge method in c to java

    Now, I do know several versions of merge sort in java that actually work, but for my own sake, I'd like to know why my translation of the c code below is wrong. To me it seems like the logic should...
  6. Replies
    1
    Views
    206

    Running ChainRXN like game

    I can't quite seem to get this code to work correctly. This example is from User:Ciancun on github

    I think I have it fairly close to working, which is why I'm posting here rather than giving up...
  7. Thread: MarkovBot

    by Melodia
    Replies
    2
    Views
    630

    Re: MarkovBot

    My bad. There was absolutely nothing wrong with this code. I'm not sure what was causing the problem in the first place though. I probably just didn't run it correctly.
  8. Thread: MarkovBot

    by Melodia
    Replies
    2
    Views
    630

    MarkovBot

    I need a little help in understanding how to run this Markov Chain program (It's one of those Mark V Shaney type programs). The code itself is from The Practice of Programming by Keringhan and Pike....
  9. Thread: logical errors

    by Melodia
    Replies
    4
    Views
    289

    Re: logical errors

    It should be 'name.equals' instead of 'name equals', but yes.
  10. Replies
    4
    Views
    330

    Re: Grid algorithm not working properly

    So, this problem was finally solved by replacing this:


    //For each grid entry in row r, column i
    for(int gridEntry: G[r]){
    //i ranging from 1 to c-1 inclusive
    for(int i=1;i<c;i++){...
  11. Replies
    4
    Views
    330

    Re: Grid algorithm not working properly

    Hmm. I see what you mean. I'm not even using the number n for anything there, despite the fact it's explicitly stated. Nevertheless, I can't seem to interpret that part correctly. Of all the...
  12. Replies
    4
    Views
    330

    Grid algorithm not working properly

    I'm trying to translate from pseudocode from a textbook into java, but it's not working, so I'm clearly doing something wrong. Before I show you my code, I think it's best I give you the text, so...
  13. Re: Switching JFreeCharts on a JPanel using a JComboBox

    So, after experimenting, I have done it in two different ways. The first is through the use of CardLayout, which you recommended. It is mostly a result of playing around with the first demo on the...
  14. Switching JFreeCharts on a JPanel using a JComboBox

    Okay, so I'm trying to switch between different JFreeChart graphs on a JPanel by using a JComboBox.

    In the code below, you will see that I already have already created one such chart, and added...
  15. Thread: Introduction

    by Melodia
    Replies
    5
    Views
    218

    Re: Introduction

    Nice to meet you GregBrannon and jps . It turns out I have a question already, but I'm not sure where to put it. I'm having trouble with using JFreeChart in conjunction with JComboBoxes. I'm guessing...
  16. Thread: Introduction

    by Melodia
    Replies
    5
    Views
    218

    Introduction

    Hi everyone!

    I'm reasonably new to java, and this is one of many java forums to which I have subscribed, so as not to be stuck for help in the future. I'm doing a course in software engineering...
Results 1 to 16 of 16