Never programmed with Java

Advertisement
November 30

Hello
I have never programmed with Java, and dont know, what i can do, I use PHP, but, i am only a novice at it.
I was wondering, is it possable to get data from a page, and put it into an image? if there is no data from the page, it will ask for the data to be added, and this will update every so often?
Also, Most of you know about google maps, where you can search for something, well, can i do this same thing in java, have a map, not of the earth, but for a game, and make it easy to add different parts, so that we can search for it, and people can find it easy to look for what they are looking for?

Advertisement

Replay

I think Google Maps is programmed in JavaScript using AJAX (short for Asynchronous JavaScript and XML) and is what as known as a web application. Google has released an API (still in beta) for working with Google Maps. The webpage for this API is http://www.google.com/apis/maps/. More about the development facilities Google provides can be found at http://code.google.com/.
I've never read the source code to Google Maps before (a lot of which is available by just viewing the source code of the Google Maps webpage, which can be done by clicking, View > Source in Internet Explorer and View > Page Source in Mozilla Firefox), however I don't think it is a terribly complex application (this does not mean, however, that the source code is easy to read). I think the way it works is by requesting individual images as needed from the Google server and piecing them together on the client side (i.e. in the browser). Basically what you would need to do to use their existing code is to replace all requests made to the Google server with requests to a server of your own and have the server return the corresponding images. This might not be particularly easy to do.
In my opinion, a better approach is just to write your own custom application (probably in Java) which simply mimics the behavior of Google maps, except with your own custom images. This way, you don't have to reverse engineer an entire web application before beginning to write one.
Writing your own application for this purpose is not as difficult as it sounds, especially not in Java. Once understanding the basics, you will not be too far off from being able to write your application.
Let's start with the most basic program (this program would be located in a file called Program.java):
public class Program {
   public static void main(String[] args) {
}This program simply starts, does nothing, and exits. I will explain this piece of code line by line, but first, I would like to gauge how much you already know to figure out how best to explain this. Have you used classes in PHP before?

View 15 Replies

How to do a program with java user intarface (internet app) and c++ core

October 11

I want to do a program to run on the internet with java but to run the mathematical core with c++ on a SUN machine. so, any help will be cool!, any tip about this subjet will be apreciate! my mail is [email protected] and [email protected] I am doing

View All Replies

How to run native program with Java program?

November 30

Hello I've got following problem. I'd like to write file browser which would work for Linux and Windows. Most of this program would be independent of the system but running programs not. How to run Linux program from Java program (or applet) and how

View All Replies

LDAP programing with Java ERROR

November 30

Hi all, I'm newbie in Java and LDAP, I wrote a simple program to connect to my LDAP(OpenLDAP 2.2.19), unfortunately, I got this error: netscape.ldap.LDAPException: error result (2); historical protocol version requested, use LDAPv3 instead; Protocol

View All Replies

Executing another program with Java?

November 30

I'm relatively new to Java. I'd like to build a process-monitoring program that will allow me to determine the status of certain processes on the machine. In order to do this I need to know if Java can execute (and then of course read the output of)

View All Replies

ASP code to start a Java program (with parameters)

November 30

Hi! All, I am trying to write some ASP code which should start a java program. Does anybody know a simple way to do this? Am new to ASP ThanksIt doesn't have anything to do with java. Basically you need to make a system call which will start an exter

View All Replies

In program written with Java Swing, I can't input Chinese

November 30

In program written with Java Swing, I can't input Chinese. But if I change my language first, then change the input method tu U.S, open the Java Swing application, finally I can input Chinese. I want to know how to fix this bug. My OS is Mac OS X 10.

View All Replies

Can  I programming smart labels (or tags) with java?

November 30

I have a question. Can I programming smart labels (or tags) with java? I am doing an investigation over smart tags or label, but I don't know how programming the tags or that lenguage i can use to write or read information in the tags. please, help m

View All Replies

Interfacing a java program with hardware

November 30

I need to be able to interface a java program with data in the parallel or serial ports of the computer. I have no idea how to go about this, could someone please help me. Thankshttp://java.sun.com/products/javacomm/Read other 3 answers

View All Replies

RMI program not  working on SuSe Linux with java version "1.4.2" installed

October 11

Hi I am trying to run a basic RMI Server object on a GNU bash, version 2.05b.0(1)-release (i586-suse-linux) machine with java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.

View All Replies

JDeveloper 10 (9.0.5.2) with Java 1.5

October 11

Hi everyone, I've tried to use Java 1.5 SDk in conjunction with JDeveloper 10g with no success. I always get the following error message: Error: initialization error: class file has wrong version 49.0, should be 45.3 or 46.0 or 47.0 or 48.0 on classp

View All Replies

Never programmed a game before, Where do I start, GDI?

November 30

Hey all I am an intermediate VB, C++, Java programmer, but I have never programmed a game. I dont want to do anything complicated yet like a 3D engine, but I did want to do a side scroller. Can someone point me in the right direction. Things I should

View All Replies

Using jce with java 1.3.1

November 30

Hi, I use Java 1.3.1, jce 1.2.2 and eclipse. To include the packet added it with �Project/Properties/ Add External JARs� but when I compile the program I get the following errors: compile: [javac] Compiling 10 source files to D:\MyTemp\ZFProjectView\

View All Replies

Opening MS-DOS with Java

November 30

I'm involved in a college programming class with Java and I'm stumped. I need to create a Java program that is able to open the MS-DOS prompt window and run a Java program in it as well as add a MS-DOS command afterwards in order to catch the output.

View All Replies

How to upgrade Forms 11gR2 to use JAVA 7 after it was installed with JAVA 6

November 30

I recently installed Forms 11gR2 on a development server.  We are trying to have the latest versions of everything to migrate from Forms 10g and assure we have support for the next few years. Our platform has the following software configuration: Sol

View All Replies

Possible to make a dll with java?

October 11

I am completely new to Java. Is it possible to create a Windows style DLL with Java? I am working with one project written in VB.NET which needs to access functions in another project written in Java. Can anybody help me figure out how to do this?I'm

View All Replies

Configure CRS2008 to using AD and Kerberos with Java application servers.

November 30

Hi All, I have configure CRS2008 to using AD and Kerberos with Java application servers. Domain Controller is installed on W2K3 Server. In addition, CRS2008 is installed on another W2k3 Server. I have create service account in domain controller: CMSA

View All Replies

Creating a drawing (CAD) program in Java

November 30

I'm in the planning stages of creating a drawing/drafting program in Java, and I'm fairly new to Swing, so I need some guidance. For a drafting program, I will need to be able to draw all kinds of objects using lines, curves, etc, connected in variou

View All Replies

Threading with Java 1.4.2_05-b04??

October 11

Hi! Could some please tell me that what has happened with the threading model on Java 1.4.2?? I mean, I have applications that has been developed with 1.3.1_b24, and everything worked OK. Now that I updated to this newer Java version 1.4.2_05-b04, my

View All Replies

Need special encoded characters in an Email subject with java 1.3.1_02

October 11

I need to find a way to construct an Email through java with Subject lines built using characters from various Asian encodings. Such as Shift-JIS, Chinese Big5, etc. These encodings cannot be in UTF-8 format and must remain in the native character se

View All Replies

Tags:

  1. vodafone plan tcode
  2. download mackeeper Imac10.6
  3. iphoto 8.1.2 hanging delete plist
  4. pubsubagent making cpu run at 100
  5. Profitability Segment Number service PO
  6. sap po update ekpo upon save
  7. 3HPL
  8. PWKI
  9. thumb4nm
  10. minerals11i
Copyrights 2019 Fcffair BigData Resource, All rights reserved