User Profile

Collapse

Profile Sidebar

Collapse
gamer2d
gamer2d
Last Activity: Sep 9 '15, 12:23 PM
Joined: Jul 19 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • gamer2d
    replied to how to loop though cols?
    in Java
    but if I do some thing like this below, wont that loop though rows and not cols? I am trying to find min of each cols.


    Code:
    public static void col(int[][] array) {
            for (int i = 0; i < array.length; i++) {
                int minValue = 0;
                int maxValue = 0;
                for (int j = 0; j < array[i].length; j++) {
                    if (minValue > array[i][j]) {
    ...
    See more | Go to post

    Leave a comment:


  • gamer2d
    started a topic how to loop though cols?
    in Java

    how to loop though cols?

    How can I set up my nested for loop so it loop though columns and not rows?

    I want to get min/Max value of a all column in a two-dimensional arra

    so for example, lets say you have the following 2d array:

    1 2 3
    4 5 6
    7 8 9

    Than the out put should be:

    -- col 1 --
    min value at col 1 is 1
    max value at col 1 is 7
    -- col 2 --
    min value at col 2 is 2...
    See more | Go to post

  • Thank you so much for getting back to me so fast!

    I just have fix that typo by change that line to:

    Code:
    String url = "jdbc:ucanaccess://C:/Users/dave/My_WorkSpace/Eclipse_Workspaces/workspace-jsp/Database11.accdb";
    and now I get the following error:
    Code:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/builder/CompareToBuilder
    	at
    ...
    See more | Go to post

    Leave a comment:


  • gamer2d
    started a topic how to connect to MS Access database with Java 8?
    in Java

    how to connect to MS Access database with Java 8?

    How to connect to MS Acess Database with Java 8?

    Here is the error I am getting:

    Code:
    SQLException: No suitable driver found for jdbc:ucanacess:Database11


    Here is my path for my MS Access Database that I am trying to connect:

    Code:
    C:\Users\dave\My_WorkSpace\Eclipse_Workspaces\workspace-jsp\Database11.accdb

    Take A look at the attached image. It will show you what jar...
    See more | Go to post

  • gamer2d
    started a topic google weather api not working

    google weather api not working

    I need some help created a google weather api using vb .net.

    I found the code online and there are no errors. Problem is that I can't seem to display wether information. Nothing shows up on screen and I am not sure what I did wrong. any ideas?



    Code:
    Imports System.Net
    
    Partial Class UI_MasterPage
        Inherits System.Web.UI.MasterPage
    
    
        Protected
    ...
    See more | Go to post

  • how to create website in vb.net (new at vb .net)

    I am new at vb .net and I want to know how to make website in it? like connect two papes or using header in different file and linking it together etc..

    for some reason when I create a page than vb studio automatic adds a form tag and creates two files(aspx and aspx.vb files). I am not sure if I need aspx.vb when making websites.

    header.aspx
    since menu is always same in all pages. it would be good idea to put...
    See more | Go to post

  • gamer2d
    started a topic how to center stuff inside a link?

    how to center stuff inside a link?

    Take a look at the attached image to see what I am trying to do. There will be two images. Images1 is what I want. Image 2 is what my code does.

    The issue is the stuff inside link are not center.

    Code:
    <div id="table">
        <table>
            <tr bgcolor="#FFFFFF">
                <td>
                    <a href="google.com">
    ...
    See more | Go to post

  • gamer2d
    started a topic modify sql code

    modify sql code

    How can I change the below oracle sql code so that: The current enrollment of an offering must be less than the maximum enrollment.


    Code:
    CREATE TABLE COURSES
      (COURSE VARCHAR(6),
       DESCRIPTION VARCHAR(60),
       CREDITS INT,
       CONSTRAINT pk PRIMARY KEY (COURSE));
    Code:
    CREATE TABLE OFFERINGS
    ( CRN INT,
      COURSE VARCHAR(6),
      SECTION VARCHAR(2),
      DATES VARCHAR(5),
    ...
    See more | Go to post

  • gamer2d
    started a topic how to create a button in libgdx
    in Java

    how to create a button in libgdx

    How can I create a TextureRegion into button in libgdx-android(java)?

    I found a simailar solution here: http://stackoverflow.c om/questions/21488311/libgdx-how-to-create-a-button

    problem is that it is using BitmapFont and I am not.
    I upload a image using TextureRegion and now I want to turn this image into button.

    any ideas?
    See more | Go to post

  • gamer2d
    started a topic how to start up jboss in windows?
    in Java

    how to start up jboss in windows?

    I am new to jboss and I just downloaded jboss folder on my windows.I am having super hard time starting up jboss. I was able to startup jboss without any parameters and it works fine.

    Problem: The problem is when ever I add port in my parameters than I get an error. I am not sure if I need to change some xml file or something.... I have no idea how to fix this. Any help will be greatly appreciated!!!

    I want to start...
    See more | Go to post
No activity results to display
Show More
Working...