seems solved to me. anyways u can use this tag in ur container or where u dont want white space. margin-top:0px;
You may want to read a post by MidMagic in this thread
seems solved to me. anyways u can use this tag in ur container or where u dont want white space. margin-top:0px;
You may want to read a post by MidMagic in this thread
Read the article Convert Java to EXE - Why, When, When Not and How, make your opinion of what you been told and act upon it.
My opinion: stay away from EXE and use JAR
It was tricky to setup
Advantages will be the speed from Apache, speed with which you can add new modules and lot more documentation then for IIS
Well I will considerate my previous post as waste of my precious time as you did not even commented on suggested topic and rather went on your personal rant about us not helping you.
Good luck with your search.
PS: It will not help other undergraduates as they will simple create new post to just get "original" for their own project. I think I'm entitled to this statement after 4 years with the community...
i am doing HND in computing and i need to develop a software project;
the problem that i have no idea what can i develop.
actually if i can find a real world case or areal customer ,i will develop it for him for free;
but he should not be in harry ;
if anybody has ideas or a real customer or a company interested please please please tell me ;
thank you all; <<email snipped>>
You demand that people give you real project and but you are failing to provide basic info on your skills and level of the knowledge.
I don't think you 're helpin at all
Your own arrogance is making difficult to deal with this.
And for ideas try this
Have look at this post http://www.daniweb.com/forums/thread141776.html at the end is what you looking for
I hate to be beaten for fastest answer :twisted:
Yes "My message" is title that you can edit
Other possible messages types
ERROR_MESSAGE
INFORMATION_MESSAGE
QUESTION_MESSAGE
PLAIN_MESSAGE
Anyway here is tutorial on How to Make Dialogs from Java Sun website
Please search JSP forum section for the answer is definite there.
Hint, I made a specific post on the MVC that is listed often lately
I created menu for mobile phone, where after you make move screen should be repainted and after that a sound should be played. However at present stage sound is played first and just after that Canvas view is repainted. Bellow is skeleton of the class
public class ContactMenu extends Canvas implements CommandListener
{
public ContactMenu()
{
backCommand = new Command("Back", Command.BACK, 0);
addCommand(backCommand);
selectCommand = new Command("Select", Command.SCREEN, 2);
addCommand(selectCommand);
setCommandListener(this);
backImg = il.loadImage("se_logo2.jpg");
}
public void paint(Graphics g)
{
//All drawing activities
playSelected();
}
public void commandAction(Command c, Displayable d)
{
if(lastCmd.equals(c.getLabel()))
{
if (c == backCommand)
{
}
}
else
{
lastCmd = c.getLabel();
tts.setSoundURL(lastCmd.toLowerCase());
tts.playSound("soundURL");
}
}
protected void keyPressed(int keyCode)
{
String str = getKeyName(keyCode);
if(str.equals("Up") || str.equals("UP"))
{
cml.moveSelection(-1);
repaint();
}
if(str.equals("Down") || str.equals("DOWN"))
{
cml.moveSelection(1);
repaint();
}
}
public void playSelected()
{
}
public void playSelected(String str)
{
}
}
I tried to move playSelected() at the end of keyPressed(), however this made no change to processing. Any suggestions how to tackle this issue?
That would be because you did not follow life cycle of applet, you never actually initialized your applet
Life Cycle of an Applet: Basically, there are four methods in the Applet class on which any applet is built.
- init: This method is intended for whatever initialization is needed for your applet. It is called after the param attributes of the applet tag.
- start: This method is automatically called after init method. It is also called whenever user returns to the page containing the applet after visiting other pages.
- stop: This method is automatically called whenever the user moves away from the page containing applets. You can use this method to stop an animation.
- destroy: This method is only called when the browser shuts down normally.
Java Sun Tutorials - Lesson Applets READ AND LEARN
Not website but a book Beginning JSP, JSF and Tomcat Web Development - From novice to Professional (you not gone get "pro" but you will getter better understanding of the problem and how you can manage it)
Request to move the post submitted...
PS: Shame on PHP dude for not knowing difference between Java and JavaScript
Announcement on top of the Java forum section "We only give homework help to those who show effort".
Read it please.
<html:option> is used with Apache Struts something like this example (There is no explanation to code, just reference from which book the code come )
For stuts tutorial on form you may consider look at this tutorial, maybe this from from IBM (based on Websphere, but general logic can be re-used) or Advanced Forms Handling in Struts 1.1 (includes example of code in zip form)
Looks like you put too much compression. Am I right to say you created the bottom part first and then tried to add the top section?
You can get lot of info on Java Microedition development from this post http://www.daniweb.com/forums/post646446-14.html. Beside primary requirements I also mention alternative tools for development and there are links for tutorial and some reading which I found helpful or interesting. If you have any specific questions you are more then welcome to ask in Java section or in other forum sections if you decide to use different language.
There is variety of programming languages for mobile devices, wikipedia article on "Mobile Development" can give you quick over view
i want that
Another clearly explained request...
Google JavaScript+disable+right+button, however you should be aware there is PrtScr (print screen) button plus few others combinations and also as soon person enters your site and images are displayed he/she already got them and simple search of computer directory will find them.
Disabling right mouse button is old fashioned idea of securing web page content. It never actually worked...
For start by using simple String methods such as String.indexOf(String), String.lastIndexOf(string) or with Regular Expressions
public void main(String[] args) throws Exception {}
HAVE TO BE
public static void main(String[] args) throws Exception {}
PS: Throwing exception directly from main method is bad thing to do.
PS2: In the future please use code tags to post any code [code]YOUR CODE HERE[/code]
Most sites will not tolerate the amount of "interesting" external links you provide either
I made it a "small" changes to your coding. Now it is like this :)
Customer.java
public class Customer {
public static void main(String[] args) {
CustomerFunctions cf = new CustomerFunctions();
cf.start();
}
}
CustomerFunctions.java
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.BufferedReader;
import java.io.IOException;
import java.util.Vector;
import java.util.Scanner;
import java.util.*;
public class CustomerFunctions {
private CustomerData cData = new CustomerData();
private Vector fileIn;
private ArrayList<CustomerData> custRec = new ArrayList<CustomerData>();
public CustomerFunctions() {}
public void start(){
Scanner input = new Scanner(System.in);
String choice,value,fileName;
do{
menu();
System.out.println("Please enter your choice: ");
value = input.next();
choice = value;
if(choice.equals("1")){
System.out.println("Please enter name of input file: ");
fileName = input.next();
readFile(fileName);
storeData(fileIn);
}else if(choice.equals("2")){
displayData();
}else if(choice.equals("3")){
System.out.println("choice 3");
}else if(choice.equals("q")){
System.out.println("exit");
}
}while(!choice.equals("q"));
}
public void readFile(String fileName){
BufferedReader br = null;
String line;
fileIn = new Vector();
try {
br = new BufferedReader(new FileReader(fileName));
br.ready();
while((line = br.readLine()) != null){
if(!line.trim().equals(""))//to remove the empty line between clients data
{
fileIn.add(line);
}
}
br.close();
}
catch (FileNotFoundException ex) {
System.out.println(ex.getMessage());
}
catch(IOException ioe){}
}
public void storeData(Vector fileIn)
{
cData = new CustomerData();
for ( int i = 0; i < fileIn.size(); i++ )
{
switch(i%6)
{
case 0:
cData.setAccountID(Integer.parseInt(getToken((String)fileIn.elementAt(i))));
break;
case 1:
cData.setName(getToken((String)fileIn.elementAt(i)));
break;
case 2:
cData.setAddress(getToken((String)fileIn.elementAt(i)));
break;
case 3:
cData.setDob(getToken((String)fileIn.elementAt(i)));
break;
case 4:
cData.setPhoneNumber(getToken((String)fileIn.elementAt(i)));
break;
case 5:
cData.setBalance(Double.parseDouble(getToken((String)fileIn.elementAt(i))));
custRec.add(cData);
cData = new CustomerData();
break;
default:
break;
}
}
}
public void menu(){
//Menu
System.out.println("\n************Menu************");
System.out.println("1) Input data");
System.out.println("2) Display data");
System.out.println("3) Output data");
System.out.println("q) Quit\n");
}
public String getToken(String …
Because you are supposed to implement main method and just feed user fetched data into provided parser
LOL, you forgot to provide source images that you use with your VisualMIDlet (no worry I got replacement).
The problem with your application is that from your VisualMIDlet you are trying to call upon another MIDlet in bad fashion. It is possible to call MIDlet from MIDlet (here is example), but it is recommended to use only one. Secondly I never did it so I will not able to advice if you push for two MIDlet option.
However if you decide to go for single MIDlet then you will need to modify one of them. I would modify VisaulMIDlet as BlueChewMIDlet is giving you solid ground to work from and it will be much easier to attach class with application GUI to it.
Right click on project folder -> Properties -> in Category select Application Descriptor -> on right side of the window click on the MIDlets. Here you need to point NetBeans to MIDlet in your project. Click Add and find location of BlueChewMIDlet.java. Compile and run
After spending some time on JSP section of this forum as many before me, I come to the conclusion that we are in need of "proper" tutorial on this topic. This tutorial is not intended to teach you everything from top to bottom, it is just a starting point to show you what we mean by "DO NOT USE JSP FOR DIRECT DATABASE CONNECTIVITY!". In simple terms and examples I will try to explain the basics of MVC model 2. Therefore content has been kept as simple as possible to make it easier for beginners to grasp the basics without getting into a lot of application design jargon. That being said, there are many ways for this application being designed in a better manner and it's left as an exercise to the reader.
Short description
The tutorial will show simple example of a school login system, where after submitting correct user ID and password user is redirected to the next page in accordance with user group assignmentstudent - will see his personal details
teacher - will see his name on the top of the page with table of all students (user ID, first name, last name, email address and phone number)
administrator - will see his name on the top of the page with tables of all teachers and all students (user ID, first name, last name, email address and phone number)
Requirements Knowledge of HTML
Basic knowledge of Java - knowledge of Exception handling …
Dunno what could cause such thing. OK, in attachments are source files as I have them. They working fine. Just place these files in the project "src" folder to replace what ever you have there and run them. Let me know if you getting any errors etc.
import java.io.IOException;
import java.util.Vector;
import javax.bluetooth.*;
public class BlueChewFinder implements DiscoveryListener {
private BlueChewMIDlet mBlueChewMIDlet;
private Vector mNewServices;
private Vector mServices;
private boolean mSearching;
private int mPendingServiceSearches;
private boolean mTrucking;
public BlueChewFinder(BlueChewMIDlet midlet) {
mBlueChewMIDlet = midlet;
mNewServices = new Vector();
mServices = new Vector();
mSearching = false;
mPendingServiceSearches = 0;
mTrucking = true;
}
public void start() {
// Start looking for other devices.
try {
LocalDevice bt = LocalDevice.getLocalDevice();
DiscoveryAgent da = bt.getDiscoveryAgent();
boolean success = da.startInquiry(DiscoveryAgent.GIAC,
this);
mSearching = true;
}
catch (BluetoothStateException bse) {
Log.log("start() threw " + bse);
}
}
public void stop() {
// Shut down any running inquiries.
try {
mTrucking = false;
LocalDevice bt = LocalDevice.getLocalDevice();
DiscoveryAgent da = bt.getDiscoveryAgent();
da.cancelInquiry(this);
}
catch (BluetoothStateException bse) {
Log.log("stop() threw " + bse);
}
}
public String getURL(int i) {
BlueChewService bcs = (BlueChewService)
mServices.elementAt(i);
String url = bcs.getURL();
return url;
}
// DiscoveryListener methods
public void deviceDiscovered(RemoteDevice remoteDevice,
DeviceClass cod) {
try {
// Kick off a service search for that device.
LocalDevice bt = LocalDevice.getLocalDevice();
DiscoveryAgent da = bt.getDiscoveryAgent();
UUID[] uuidSet = { BlueChewService.BLUECHEW_UUID };
mPendingServiceSearches++;
da.searchServices(
null,
uuidSet,
remoteDevice,
this);
}
catch (IOException ioe) {
Log.log("deviceDiscovered(): " + ioe);
}
catch (Throwable t) {
Log.log("deviceDiscovered(): " + t);
}
}
public void inquiryCompleted(int discType) {
mSearching = false;
}
public void servicesDiscovered(int transID,
ServiceRecord[] servRecord) {
for (int i = 0; i < servRecord.length; i++) {
try {
RemoteDevice bt = servRecord[i].getHostDevice();
String name = bt.getFriendlyName(false);
String address = bt.getBluetoothAddress();
String url = servRecord[i].getConnectionURL(
ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false);
BlueChewService bcs = new BlueChewService(
name, address, url);
mNewServices.addElement(bcs);
}
catch (BluetoothStateException bse) {
Log.log("servicesDiscovered(): " + bse);
}
catch (IOException ioe) {
Log.log("servicesDiscovered(): " + ioe);
}
}
}
public void serviceSearchCompleted(int transID,
int respCode) {
mPendingServiceSearches--;
if (mSearching == false && mPendingServiceSearches == 0) {
reconcile();
try { Thread.sleep(1000); }
catch (InterruptedException ie) {}
if (mTrucking == true)
start();
}
}
// BlueChewFinder methods
public synchronized void reconcile() {
// Remove items from mServices that are not in mNewServices.
for (int i = 0; i < mServices.size(); i++) {
BlueChewService bcs =
(BlueChewService)mServices.elementAt(i);
if (contains(mNewServices, bcs) == false) {
mServices.removeElement(bcs);
mBlueChewMIDlet.serviceRemoved(bcs, i);
}
}
// Add items from mNewServices to mServices.
for (int i = 0; i < mNewServices.size(); i++) {
BlueChewService bcs =
(BlueChewService)mNewServices.elementAt(i);
if (contains(mServices, bcs) == false) {
mServices.addElement(bcs);
mBlueChewMIDlet.serviceAdded(bcs);
}
}
mNewServices.removeAllElements();
}
// Compares for equality, not the same actual object.
private boolean contains(Vector v, Object o) {
boolean contained = false;
for (int i = 0; i < v.size(); i++) {
Object oc = v.elementAt(i);
if (oc.equals(o))
contained = true;
}
return contained;
}
}
import java.io.*;
import java.util.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.MIDlet;
import javax.bluetooth.*;
public class BlueChewMIDlet
extends MIDlet
implements CommandListener, Runnable {
private BlueChewServer mBlueChewServer;
private BlueChewFinder mBlueChewFinder;
private Form mSendForm;
private TextField mMessageField;
private ChoiceGroup mDestinations;
private Command mSendCommand, mBackCommand, mExitCommand;
public void startApp() {
createUI();
setupConnections();
Display.getDisplay(this).setCurrent(mSendForm);
}
private void createUI() {
if (mSendForm != null) return;
mSendCommand = new Command("Send", Command.SCREEN, 0);
mBackCommand = new Command("Back", Command.BACK, 0);
mExitCommand = new Command("Exit", Command.EXIT, 0);
mSendForm = new Form("BlueChewMIDlet");
mMessageField = new TextField("Message:", "Hello, nurse!",
512, TextField.ANY);
mDestinations = new ChoiceGroup("Destinations",
ChoiceGroup.MULTIPLE);
mSendForm.append(mMessageField);
mSendForm.append(mDestinations);
mSendForm.addCommand(mSendCommand);
mSendForm.addCommand(mExitCommand);
mSendForm.setCommandListener(this);
}
private void setupConnections() {
mBlueChewServer = new BlueChewServer(this);
mBlueChewServer.start();
mBlueChewFinder = new BlueChewFinder(this);
mBlueChewFinder.start();
}
public void pauseApp() {}
public void destroyApp(boolean unconditional) {
mBlueChewServer.stop();
mBlueChewFinder.stop();
}
public void commandAction(Command c, Displayable s) {
if (c.getCommandType() == Command.EXIT) {
destroyApp(true);
notifyDestroyed();
}
else if (c == mSendCommand) {
Form waitForm = new Form("Sending...");
Display.getDisplay(this).setCurrent(waitForm);
Thread t = new Thread(this);
t.start();
}
else if (c == mBackCommand) {
Display.getDisplay(this).setCurrent(mSendForm);
}
}
// Runnable method
public void run() {
Vector urls = new Vector();
// Synchronize so reconcile() won't run
// at the same time.
synchronized(mBlueChewFinder) {
int n = mDestinations.size();
boolean[] flags = new boolean[n];
mDestinations.getSelectedFlags(flags);
for (int i = 0; i < n; i++) {
if (flags[i] == true) {
String url = mBlueChewFinder.getURL(i);
urls.addElement(url);
}
}
}
for (int i = 0; i < urls.size(); i++) {
String url = (String)urls.elementAt(i);
try { runURL(url); }
catch (IOException ioe) {
Log.log("BlueChewMIDlet.run(): " + ioe);
}
}
Display.getDisplay(this).setCurrent(mSendForm);
}
private void runURL(String url) throws IOException {
StreamConnection sc = null;
DataOutputStream dataOut = null;
try {
sc = (StreamConnection)
Connector.open(url);
dataOut = new DataOutputStream(
sc.openOutputStream());
LocalDevice bt = LocalDevice.getLocalDevice();
String from = bt.getFriendlyName() + ":" +
bt.getBluetoothAddress();
dataOut.writeUTF(from);
dataOut.writeUTF(mMessageField.getString());
}
finally {
try { if (dataOut != null) dataOut.close(); }
catch (IOException ioe) {}
try { if (sc != null) sc.close(); }
catch (IOException ioe) {}
}
}
// BlueChewServer callback
public void messageReceived(String from, String message) {
int layout = Item.LAYOUT_NEWLINE_AFTER;
StringItem si;
Form messageForm = new Form("Message");
si = new StringItem("From:", from);
si.setLayout(layout);
messageForm.append(si);
si = new StringItem("Message:", message);
si.setLayout(layout);
messageForm.append(si);
messageForm.addCommand(mBackCommand);
messageForm.setCommandListener(this);
Display.getDisplay(this).setCurrent(messageForm);
}
// BlueChewFinder callbacks
public void serviceAdded(BlueChewService bcs) {
String s = bcs.getName() + ":" + bcs.getAddress();
mDestinations.append(s, null);
}
public void serviceRemoved(BlueChewService bcs, int i) {
mDestinations.delete(i);
}
}
import java.io.*;
import javax.microedition.io.*;
import javax.bluetooth.*;
public class BlueChewServer implements Runnable {
private BlueChewMIDlet mBlueChewMIDlet;
private boolean mTrucking;
private StreamConnectionNotifier mNotifier;
public BlueChewServer(BlueChewMIDlet midlet) {
mBlueChewMIDlet = midlet;
}
public void start() {
mTrucking = true;
Thread t = new Thread(this);
t.start();
}
public void stop() {
mTrucking = false;
try { if (mNotifier != null) mNotifier.close(); }
catch (IOException ioe) {}
}
public void run() {
// Make sure we're discoverable.
try {
LocalDevice bt = LocalDevice.getLocalDevice();
bt.setDiscoverable(DiscoveryAgent.GIAC);
}
catch (BluetoothStateException bse) {
Log.log("BlueChewServer.run(): " + bse);
}
// Start up the server.
try {
UUID uuid = BlueChewService.BLUECHEW_UUID;
String cs = "btspp://localhost:" + uuid.toString()
+ ";name=BlueChew";
mNotifier =
(StreamConnectionNotifier)Connector.open(cs);
while (mTrucking) {
// Get the next incoming connection.
StreamConnection sc = mNotifier.acceptAndOpen();
// Service inline. We could spawn off a thread for
// each but it seems unnecessary for this type of
// application.
DataInputStream dataIn = new DataInputStream(
sc.openInputStream());
String from = dataIn.readUTF();
String message = dataIn.readUTF();
mBlueChewMIDlet.messageReceived(from, message);
dataIn.close();
sc.close();
}
}
catch (BluetoothStateException bse) {
Log.log("BlueChewServer.run(): " + bse);
}
catch (IOException ioe) {
if (mTrucking == true)
Log.log("BlueChewServer.run(): " + ioe);
}
}
}
import javax.bluetooth.UUID;
public class BlueChewService {
public static final UUID BLUECHEW_UUID =
new UUID("F0E0D0C0B0A000908070605040302010", false);
private String mName;
private String mAddress;
private String mURL;
public BlueChewService(String name, String address,
String url) {
mName = name;
mAddress = address;
mURL = url;
}
public String getName() { return mName; }
public String getAddress() { return mAddress; }
public String getURL() { return mURL; }
public boolean equals(Object o) {
if (o == this) return true;
if (o instanceof BlueChewService == false) return false;
BlueChewService bcs = (BlueChewService)o;
if (bcs.getName().equals(mName) == false) return false;
if (bcs.getAddress().equals(mAddress) == false)
return false;
if (bcs.getURL().equals(mURL) == false) return false;
return true;
}
public String toString() {
return "[BlueChewService:" + mName + ":" + mAddress
+ ":" + mURL + "]";
}
}
import java.util.Vector;
import javax.microedition.lcdui.*;
import javax.bluetooth.*;
public class Log {
private static Vector sLines;
private static Form sLogForm;
public static void log(String s) {
if (sLines == null) sLines = new Vector();
// Prepend address information.
try {
LocalDevice bt = LocalDevice.getLocalDevice();
String address = bt.getBluetoothAddress();
s = address + ": " + s;
}
catch (BluetoothStateException bse) {}
sLines.addElement(s);
logToForm(s);
System.out.println(s);
}
public static Form getLogForm() {
if (sLogForm != null) return sLogForm;
sLogForm = new Form("Log");
for (int i = 0; i < sLines.size(); i++) {
String s = (String)sLines.elementAt(i);
logToForm(s);
}
return sLogForm;
}
protected static void logToForm(String s) {
if (sLogForm == null) return;
int layout = Item.LAYOUT_2 | Item.LAYOUT_NEWLINE_AFTER;
StringItem si = new StringItem(null, s);
si.setLayout(layout);
//sLogForm.insert(0, si);
sLogForm.append(si);
}
}
joshSCH attitude toward this forum did not change. After strolling around and being rude he was once again banned.
wouldve been so cool though but im good with that.
No it wouldn't be cool, I'm software developer and I do not feel OK with somebody using my months of work for free if I did not decided to give it for free.
Secondly I have to work in order to get money and buy software I want to use. So why not you? If you do not wish to pay than use legal free stuff and not something stolen!
Ask your self
That is just few things you should look into...
Yes that is sort of joke from jwenting as your question is sort of joke for us. Both of the technologies as evolving over time and have theirs pros and cons. It is up to you which path you choose to follow...
@hny_lyn
if you want it in JFrame then i've done it. Let me know if you still need it.
If you think you helping him, you are mistaken. By giving the code, hny_lyn will learn nothing. Copy & paste is not a solution when you learning
It is YOUR school work/work project so deal with it if you ignore advice from others with more experiences!
In your case there possibility of more then one answer
you just copy and paste the examples from w3schools
Copy & paste is not a way to learn for begginer. Always, always re-type the code. It doesn't matter if it is html, css, Java, C++ or any other. By typing it, you pay more attention what is happening inside the code, you built up on already existing knowledge by adding new blocks...
Sometimes slow internet connection or poster inpatient (hitting submit button twice) can do such thing.
If you come across post and you think there is something wrong with the post please use "Flag Bad Post" and type short message as "Double post + link( to double) or "Spam please delete". Shouting in post is inefficient....
for loop from 1 to 19
if statement is num%2 == 1
yes, add to sum
no, next number
problem solved
Yes you can do it by reading Apache server documentation
Everybody, enjoy the freedom of the information
With compliments from my ::DFC:: friends
Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this.
For these of you who would like to learn more or start with Java Microedition - JME (also known as J2ME) here are few tips
What you need for development (download links) Your favourite IDE and Sun Java Wireless Toolkit 2.5.2 for CLDC Download (the latest available version as 13/07/2008)
NetBeans with integrated Mobility
IntelliJ IDEA, Eclipse ( setup )or any other IDE with support of JME
Custom Wireless Toolkit (to download one you have to register on the forum) Sony Ericsson ( Sony Ericsson SDK 2.5.0.2 for the Java(TM) ME Platform )
Nokia Java tools
Motorola ( MOTODEV SDK for Java ME v1.4 )
Recommended books by me :*
To start with JME Beginning J2ME: From Novice to Professional 3rd Edition
Kicking Butt with MIDP and MSA (newer version from same author with latest technology offers)
Advance topics: Mobile 3D Graphics
Mobile 3D Graphics with OpenGL ES and M3G
Pro J2ME Polish: Open Source Wireless Java Tools Suite
Pro Java ME MMAPI: Mobile Media API for Java Micro Edition
Mobile Web Services
Additional resources …
first install dreamweaver in your system,
it will easy to edit image mapping
Dreamweaver is not all, secondly is not for free and installing trial version for such banality is silly
Code is OK, however you should swap name attribute for id attribute in start of map tag <map name="map">
, as id attribute is required where name is just optional. Do not forget to add links to locations where to go after mouse click as these are currently not set href="http://TBA"
. If you not sure what you doing you can have look at w3schools example on this topic
Database is much better if you talking in large number of members.
Secondly think about how will you design it. Stacking all in one large table is silly idea. Your database should consist of number of tables specifically designed for certain task. For example user_data_table to store user details where each each user can be identify by unique ID. Then you can use this ID in others tables for example forum_posts. This will have unique ID for each post but also hold used ID as foreign key to associate post with user.
If you not sure how to approach database design make another post in Database Design section of this forum and provide full details of what you trying to store in database and what sort of functionality you want to achieve.
>is it possible to type in a class as a .txt file and then print out:
You better explain what you mean by this. To help you here is few examples
PS: You should post your code so we can see what you actualy trying to do. Please use code tags to post any code.
Welcomed to daniweb, do not worry about that automated PM you get for post editing, you spoted your mistake. Keep in mind edit button stay active only for 20 min, if I'm correct, after that you will not see it again ;)
If you have no creativity and imagination for what to do, then there is no hope, as you will not able to say what is your strength and what is your weakeness...
You have to simply love w3schools.com and all the examples which provides, mixed frameset and iframe