• Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Looking For Web Proxy Hosts

    The tragedy here is that UI is obviously a highly intelligent and articulate person, but those attributes are being criminally wasted trolling an irrelevant web site when he should be …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in How to convert swing application to Java application

    Without seeing your code there's not a lot more I can say. IF it's modularised well then you will just need to replace the startup code (`p s v main`) …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in How to convert swing application to Java application

    It all depends on how well your original app is structured and documented If you have designed, modularised, and layered it well then you should be able to re-use almost …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in HELP !!! "AWT-EventQueue-0" java.lang.UnsupportedOperationExcept

    > Still running 30 minutes already... Unless you have some horrendous recursive algorithm, anything more than a few seconds is wrong. Sounds like you have an infinite loop.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in (ask)

    Maybe because you have four ? parameters but you set only 2 of them???
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in A little rusty with Java, want to know how to "override" a method

    Yes, you're right. I was looking for reasons why a subclass method may not be being called... Without more time than I have I can't read all the code properly, …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in A little rusty with Java, want to know how to "override" a method

    In your driver you are calling `add` etc BUT you don't say which object to call them on - so it defaults to the current object, which is the Driver …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in A little rusty with Java, want to know how to "override" a method

    > I have some idea based on prior research that I need to leave my superclass methods as stubs. No, that's wrong. If you create a method in a subclass …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Computer Language

    If you are doing a B. Tech. then doesn't that include some element of programming? In which case what language does the first such class use?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Handle Exception in ResponsesEntity java

    Yes, but the guys at SO seem to be doing a good job, so there's no point duplicating it unless you get stuck again.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Handle Exception in ResponsesEntity java

    There's an active discussion ongoing in S.O. for this question, so there's no need to reply here until/unless OP comes back first.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in arrays java

    A perfctly good suggestion, but it would be simpler to let the array elements default to zero, then you wouldn't need to initialise it or add 1 at the end!
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Java

    Java is HUGE in scope - I doubt that any Java developer ever knows all its aspects. Have a look at Oracle's Java tutorials - in my opinion the best …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Reading a file using fgets and tokenizing it using strtok in C

    > i haven't figured out how to read the file starting from the third line Just read and discard the first two lines.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in VPN provider

    Opera (or at least the Developer edition) includes a VPN - all you have to do it tick one box in the Preferences to turn it on.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in VPN provider

    I use Opera's as well for browsing, NordVPN for torrenting, geo-fence avoidance etc
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in java threads

    Read this https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question then start again with all the required content.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Help with positioning two buttons

    I don't have an answer - I'm just checking that it's possible to reply now... JC
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Java inheritance for loop question/issue

    26: `double apr = 0;` 30: `HNUnit4Ch13Investor.setInterestRate(apr); ` // sets rate to zero 33: `apr = input.nextDouble();` // this is the real rate, but too late. You never use it
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Your opinions about mobile games field

    I agree you're not going to get rich on up-front pricing, but in-app purchases are a different animal - all you need is a couple of thousand $1 purchases to …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to jkon in How to make a Like button in Php

    hello destiny_3 with this code stop programming at all , do something else in your free time , apparently you don't have it . If you still want to be …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Adding node at end of list

    Hi Lior You have just joined an old thread about Java programming. If you want relevant answers, please start a new thread of your own, explain what help you want, …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Hide Private Message in an Image (Python)

    The problem with a text file is that any modification to the text is highly visible to the user, so this technique won't work.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in private messaging using php and MYSQL database

    https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Prom solution for two dimensional arrays

    https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Error upon adding second entry to core data

    The exceptions are referring to a probable problem in `CoinCollection.CoinCategory compare:` Maybe a closer look at that code is needed?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in help me !!!

    Hint: What is the largest number you can store in an integer?
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in maze solving

    1. Read this before posting again https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question 2. We only help people who are making some kind of effort themselves. All you did was to violate your teacher's copyright by …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Jframe appears with different size

    This is why Swing has Layout Managers. You start with the components (text fields, drop-down lists, whatever) which Java sizes to fit the text in them - nb this depends …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in why can't we change the default starting index of an array to 1 ?

    Going back to Kernighan & Ritchie... > An array name is a pointer expression ... a reference to an array is converted by the compiler to a pointer to the …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Social Bookmarking Sites Are Back Stabbing You!

    I can hear you
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Jpanel closing event

    Your mistake was to use a *message* dialog. That's intended to show a message and then close. If you want the user to be able to chose between OK and …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Jpanel closing event

    Your code says: create some fields open a (modal) message dialog ... (modal dialog waits for user to click OK or close etc) set store name so that's why it …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in finding mistake with arraylist handling..

    I too suggested a map, but which map implementation "automatically sorts the key"? The obvious (to me at least) would be `HashMap` that uses hashes for a O(1) time for …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in finding mistake with arraylist handling..

    Try displaying the arraylist - it looks like maybe you have words and meanings originally adjacent (?), but after sorting there's no relationship between the word to its meaning I …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in strings

    First version will crash with any Unicode character greater than 256 Second version isn't legal Java. (line 40) Not sure why the hashmap is a "better" solution. Although O(n) the …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to aditya_23 in my topic is svn-migration-scripts from java

    How do I convert this script to Java code
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in my topic is svn-migration-scripts from java

    Latest PM: "plz anyone prepare the code" I guess that's pretty clear. I advised OP of our policy re showing effort (again)
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in my topic is svn-migration-scripts from java

    Looks like a difficulty with foreign language to me. OP also PM'd me with the same code and said "this is shell secript how to converted to the javacode how …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in my topic is svn-migration-scripts from java

    Do provide evidence of having done some work yourself if posting questions from school or work assignments.
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in strings

    OK Bea. Now go back to the main Programming forum and read the very first post - the one called ["Read This Before Posting A Question"](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question). Then come back here …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Edited JProgressBar in NetBeans IDE 8.2 color change

    Hey, my problem is that i got the progressbar and everything i tried was unsuccessfully. The Color is always that orange and i dont get it away. I rly need …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Gave Reputation to Chien-Rouge in JProgressBar in NetBeans IDE 8.2 color change

    Hello! I suppose you use Nimbus look & feel. And JProgressBar is always orange. But Nimbus is fully customizable, just change the painter. See it [here](https://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/_nimbusDefaults.html) for details. Your values …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Access array of objects in different forms

    OK, you have most of the right pieces, but in the wrong place and some missing! Let's look at the overall class structure. Here's a template that will work for …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Access array of objects in different forms

    I understand that you have multiple GUI classes that all need to access the same list of cars? If so, a common approach is to create one list of Cars …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Bootstrap date of birth field wont go side by side, help

    You can put them in a table... one row three columns. Worked for me!
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Computer Slaves

    Maybe - there are benefts as well as risks Yes Yes
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Regex To Extract 2nd Level Domains From All TLDs ?

    Sadly the nonsense has continued, so I just banned UI for repeated unrepentant irrelevant trolling of valued DaiWeb members. Maybe that will cost me my Moderator badge, but someone had …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in cURL Experiments

    I just banned UI for repeated unrepentant irrelevant trolling of valued DaiWeb members. Maybe that will cost me my Moderator badge, but someone had to do something. JC Update: happygeek …
  • Member Avatar for JamesCherrill
    JamesCherrill

    Replied To a Post in Regex To Extract 2nd Level Domains From All TLDs ?

    Hey AssertNull my friend - take a deep breath. You are far too valuable here to lose. I agree with you. but Dani's protocols for Moderators are very clear, and …

The End.