SWT and Eclipse plug-in
I have an application built-in SWT widgets.
(I use Eclipse to code and run it)
Now, I want to launch this application like a plug-in from within
Eclipse.
Is that possible?
|
3/26/2010 8:22:45 AM
|
0
|
John Connor <john.crap.con...@gmail.com>
|
|
|
hide/show a Composite
I want to hide/show a Composite (an SWT widget) based on some checkbox
selection.
When hidden, I want the Composite to be completely hidden (occupying
no space at all).
How can I do this?
<composite>.setVisible (false) makes it invisible but the space
occupied by the widget still remains and looks like a void in the
application.
|
3/25/2010 9:07:30 AM
|
1
|
John Connor <john.crap.con...@gmail.com>
|
group for eclipse?
hi, where can I find a group to discuss questions related to Eclipse?
|
3/23/2010 7:58:19 AM
|
1
|
John Connor <john.crap.con...@gmail.com>
|
Class Literal ???
Just reading through the java documentation - been a long time coming
really, lol. However I came across this 'Class Literal' idea and not
sure if I understand it.
The documentation says: "Finally, there's also a special kind of
literal called a class literal, formed by taking a type name and
appending ".class"; for example, String.class. This refers to the
object (of type Class) that represents the type itself. "
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html
If I say:
String stringOne = "abc";
String stringTwo = a + ".class"; //Apply this to the string
|
3/17/2010 6:10:27 PM
|
0
|
TheBigPJ <thebi...@gmail.com>
|
String to int
Hi,
I have the following String:
20100316163012
and I need to convert this to an int.
I was thinking of first converting to an byte [] and then to an int.
I am not sure how to do this.
//mike
|
3/16/2010 2:39:03 PM
|
0
|
mike <mikaelpetter...@hotmail.com>
|
java to exe
I was wondering, does anyone know of a free java to exe compiler, been
looking all over including in usenet and have had absolutely no luck.
I tried gcj and it simple deson't work no matter what I try to get it
working and I don't think it will.
Is someone using one or is there anyone hwo knows of a good one?
-Robin
|
3/1/2010 7:14:38 PM
|
0
|
Robin <rob...@cnsp.com>
|
Call a JSP from a normal Java fil
Hi,
is it possible to call a JSP site from a normal Java class source file?
I know the include directive, but this of course is only working from
within a JSP file. So, what I want to achive is something like
public String giveContent(){
JspFile file = new JspFile("name.jsp");
return file.generate();
}
Is something of that kind possible?
Best regards,
Fabian
|
2/28/2010 3:06:56 PM
|
0
|
Fabian Lenzen <fabian.len...@web.de>
|
What does this error description mean?
While compiling a program in Java I got this big WARNING
warning: [unchecked] unchecked call to
LinkedList(java.util.Collection) as a member of the raw type
java.util.LinkedList
on this line:
LinkedList<Integer> li2 = new LinkedList(li);
What does this warning mean?
Edit:
It should have been infact: LinkedList li2 = new LinkedList(li);
But still if you please answer the question.
|
2/28/2010 3:03:31 PM
|
0
|
Ravi <ra.ravi....@gmail.com>
|
Prizes worth 104,000 INR at stake for RAD. Certificates to all participants.
Hello developers,
CodeFest< http://itbhu.ac.in/codefest > in association with British
Telecom and TCS presents RAD - Ribbit Application Development: Lets
write the future of communication. It is a completely online month
long event starting from Feb 27 and is open to all students and
professionals round the globe.
Ribbit platform provides APIs for Adobe Flash, Java, JavaScript,
PHP, .NET and Silverlight which enables to Make/Receive/Record Call,
Send SMS, Voice Mail, voice to text transcription, collect DTMF tones
etc. through an application so that you can build the next generati
|
2/26/2010 5:31:58 PM
|
0
|
Mohit Bansal <mohitbansal....@gmail.com>
|
Brackets in pattern matching
Hi,
I'd be grateful if anyone could let me know how I can escape a single
round bracket (unicode \u0028) when doing:
Pattern.compile("(S ");
Pattern.compile("(N ");
etc.
I cannot for the life of me figure out how to do this as if I try
things like the unicode it simply treats it as though I were trying to
enter a 'grouped' regular expression and throws an error.
Regards
|
2/25/2010 8:34:21 PM
|
0
|
ses <stew...@ssims.co.uk>
|
Make a simple 4 row by 4 column scratch pad.
Hi All,
I am using Windows XP and jdk1.6.0_16
On a JPanel, I want to make a simple 4 rows by 4
columns: a grid/ "scratch pad" that I can list two digit
numbers i.e. 10,12,...45.. one number each of the 16 cells.
I have tried a TextArea to do that. But using tabs is
a problem, to make it appear to be rows, columns.
Yet in a further search for a suitable demo,
<http://forums.sun.com/thread.jspa?threadID=226322&forumID=57>
this demo was written to demonstrate a TextPane. But while
testing/reading there was coding error of
"int tabWidth = charWidth charactersPerTab;"
In reading for f
|
2/25/2010 4:18:58 PM
|
0
|
bH <bherbs...@hotmail.com>
|
ArrayIndexOutOfBoundsException
Hi,
With the following code I get an ArrayIndexOutOfBoundException, and I
can't figer out why.
(This is a really newby question, I know)
<snip>
class TestArray {
public static int testarray(int w, int x) {
int[][] matrix = new int [10][10];
for (int a = 0; a<10; a++)
matrix[a][0] = w;
for (int b = 0; b<10; b++)
matrix [0][b] = x;
return matrix[w][x] ;
}
}
public class ArrayTest {
public static void main(String args[]){
int k = 1;
int l = 1;
for (int j = 0;j<10; j++){
System.out.print(TestArray.testarray(k,0) + " ");
System.out
|
2/25/2010 1:07:02 PM
|
0
|
dendeezen <tsd35...@scarlet.be>
|
Problem with exec
I have a code that says:
Process child = Runtime.getRuntime().exec("mysqldump --
user=programi --password=pr0gr@mi --host=localhost shop > shop.sql");
and when I start this code I can't find the file "shop.sql".
If I Copy/Paste the same command in terminal( Windows or Linux ) i
have the "shop.sql" file in the same folder where I write this code.
P.S. To have a correct work of the command you need to setup paths to
"mysqldump" file.
|
2/25/2010 12:19:12 PM
|
0
|
GjoreNET <gjore...@gmail.com>
|
ObjectInputStream: is this correct way to unblock
ObjectInputStream blocks when created until it recieves a serial input
stream ans verifies it. I was trying to make my first program using
sockets through it and found this. I used a dummy object so that it
doesn't block. The code is here:
http://pastebin.com/CYPAM5ET
Is this the right way. Please comment.
|
2/24/2010 5:50:40 PM
|
0
|
Ravi <ra.ravi....@gmail.com>
|
Learn Latest Java Technologies At Sun Tech Days Conference
Get the latest knowledge related to Java Software and explore how Java
technology provides a better digital experience at Sun Tech Days 2010.
Here participants can gain an in-depth understanding of how new
features like the Java Persistence and Java Servlet 3.0 APIs provide
ease of development for enterprise applications. Here Java developers
can learn how to build Web 2.0 applications using technologies like
Comet to deliver asynchronous processing of client requests. his time
the Sun Tech Days 2010 conference will take place in Hyderabad, India
from March 24-25, 2010. Register as soo
|
2/24/2010 10:36:16 AM
|
0
|
mathur <mathurdeepa...@gmail.com>
|
Java me ui
I have an application written in java, however i want to export it to
my cell. I cannot find any information about the UI of java ME on the
Internet an no book descibes it
help would be useful
|
2/24/2010 12:00:03 AM
|
0
|
Student <spock...@gmail.com>
|
32 or 64 bit Java
Does the 32 or 64 bit Java JRE/JDK refer to the operating system or
browser??
If installing JRE/JDK on 64 bit Windows server with normal IE browser
(32 bit), would I install the 32 bit JRE/JDK??
|
2/22/2010 11:57:15 PM
|
0
|
Clive_S <clives...@yahoo.co.uk>
|
uninstall jre error
The jre seems to be corrupted. Tried to uninstall, get an error that a
dll is missing?? It will not uninstall or reinstall.
Any suggestions??
|
2/22/2010 11:54:38 PM
|
0
|
Clive_S <clives...@yahoo.co.uk>
|
Design question: "threaded view" in table component
Hi,
For a personal hobby project, I'm writing a usenet client. One of the
"obstacles" I'm facing is the question of how to design the table
that displayes the articles headers, and more specifically how to
design a functionality that allows to display "threads" of related
articles, and at the same time maintain the various table columns,
like "subject", "author", etc.
At first I was thinking about using JTree, but that seems hard to
combine with the various table rows and columns. Now, I'm thinking of
just using table rows, and using a customized cell renderer depending
o
|
2/4/2010 8:34:56 PM
|
1
|
Luc Van Bogaert <...@rixhon.be>
|
Convert encodings
I am downloading a webpage using the HttpURLConnection, where I get
the InputStream, but are there are any ways I can convert the
webpage's charset to the client's charset
I am getting the webpage's charset by using this:
// Get the charset
String charset = conn.getContentEncoding();
// Check if the charset is not known
if (charset == null) {
// Get the Content-Type
String contentType = conn.getContentType();
// Get the charset
charset = contentType.split("charset=")[1];
}
But how do I convert it?
I have an idea by using the constructor of InputStreamR
|
2/3/2010 8:38:44 PM
|
1
|
The87Boy <the87...@gmail.com>
|
Regular expression in Java
I am trying to create a new profile management system, and I have some
regular expression I used in PHP e.g. "<\/b> (.*?) aar"
Where I get the String between and aar
Is there any way I can do this in Java?
|
2/3/2010 2:15:53 PM
|
9
|
The87Boy <the87...@gmail.com>
|
HTTPUrlConnection does not download the whole page
I have a problem with this code, as you can see in print, where it
prints the error in the page's code:
public void print(String link) {
String page = this.getPage(link);
// Here I can see the error as it prints the error in the
page's code
System.out.println(page);
System.err.println("1234567890+");
}
public String getPage(String link) {
String pageEscaped = "";
try {
URL url = new URL(link);
// Open the Connection
HttpURLConnection conn = (HttpURLConnection)
url.openConnection()
|
2/3/2010 1:27:05 PM
|
15
|
The87Boy <the87...@gmail.com>
|
Add *.jars to *.jars possible/recommendend? Eclipse setup for this?
Assume I want to create a new program and to pack everything into a *.jar archive.
To run the program one (or more) additonal external *.jar is required.
Ok, the potential user could install the two *.jar files independently and add them
to his CLASSPATH. This is somehow uncomfortable. I would like to deploy/provide simply one
*.jar with everything needed inside.
So I have to add the second, external jar into the "main" first jar as well.
Is this procedure possible/unusual/recommended?
How do I do this from the command line ?
How do I tell Eclipse to not only reference the e
|
2/3/2010 11:17:16 AM
|
3
|
ul...@email.com (Ulf Meinhardt)
|
error at LeadPipeInputStream.read(): Pipe broken
ANT signjar issued the error message:
error at LeadPipeInputStream.read(): Pipe broken
All seemed to work fine otherwise. I was curious what the message
means. I thought it might be a joke or virus, but there is truly a
LeadPipeInputStream as part of ANT.
--
Roedy Green Canadian Mind Products
http://mindprod.com
Computers are useless. They can only give you answers.
~ Pablo Picasso (born: 1881-10-25 died: 1973-04-08 at age: 91)
|
2/3/2010 10:44:45 AM
|
2
|
Roedy Green <see_webs...@mindprod.com.invalid>
|
cookie date
Creating a cookie as follows:
"You then have to add yourself a cookie (well, it look like Google
doesn't add it itself) with the following properties :
name SID
domain .google.com
path /
expires 1600000000
If you don't have a http client API that support cookies, you can just
add header lines that simulate this cookie in all other requests. This
should be the only thing for which cookies are really needed."
http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI
How do you get the expires to be that particular number?
package cookies;
import java.util.Date;
|
2/1/2010 2:07:14 PM
|
3
|
Thufir <hawat.thu...@gmail.com>
|
Serializing a non-Serializable class...
Hi there,
I have an application I interact with via a Java API. The application
is outside of my control (subscribed service) and it does not have a
sandbox and has a limit on the amount of data you can download per
day.
While in development stage, I would like to be able to serialize the
returned message object, so my application can call the API once and I
can debug my code without having to continually call the application
and potentially reach my download limit (hitting this limit can have
some serious consequences)
Unfortunately the API object does not implement Serializab
|
1/30/2010 2:36:11 PM
|
7
|
KB <ke...@nekotaku.com>
|
Null Stack Traces
I just spend ages tracking down a null pointer exception that was
being thrown and not caught until somewhere near the top of the
application.
These types of errors do not have stack traces unfortunately.
To find it I had to hack my code to manually print out messages as it
entered and exited methods.
Are there any development tools for java that I can attach to my
process to get this kind of tracing without having to manually write
debugging info from code?
Thanks for any suggestions.
|
1/29/2010 3:22:56 PM
|
3
|
Mark Smith <marksmith5...@jungle-monkey.com>
|
Can Someone please help me with my Computer stuff? 73382
I use the computer and the Net on a regular basis but I don't know a whole lot about it all, especially when it gets technical. I have an Acer Aspire AM5100-U5300A. I would like to speed this computer up, I would like a very good grasphics card without spending a fortune. Once I find out what I need I willo just go to ebay but I don't know what kind of meory, cards and such are compaitble with my machine. Help please.
Virgina
ghtpl@yahoo.com
http://ipods-imacs.com
ZTYtZ(J.^$zWht,v#.@U++H@K
|
1/27/2010 7:18:06 PM
|
0
|
Virgina Hernandez<gh...@yahoo.com>
|
Java exception error | help required.
Hi All,
Can you make out what could be the cause of below error while
executing palm emulator ....
*********************************************************************************************
Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$
|
1/27/2010 6:28:13 PM
|
3
|
"sunny4fr...@gmail.com" <sunny4fr...@gmail.com>
|
Help needed using dnd to move images
Hi All,
I am using Windows XP and jdk1.6.0_16
I downloaded DragPictureDemo2.java, from Sun,.
http://www.java2s.com/Code/Java/Swing-JFC/DragPictureDemo.htm
When I do a dnd for each image, the image is snapped into
a nearest, pre defined, location as in a grid.
I want to dnd each exactly where I move the mouse
(cursor) position and not have the grid feature.
I have tried to make happen by removing the grid,
but each image during loading is placed on top
of the other and nothing moves using dnd.
TIA
bH
|
1/27/2010 5:27:31 PM
|
2
|
bH <bherbs...@hotmail.com>
|
Cannot find symbol class input error
Hello i am very new 2 java!
each program me and a few friends keep writing with user input keeps
throwing up a "Cannot find symbol class input error"
Not sure why we vaguely understand classes in java but not enough to
solve the problem
Heres the code
Ignore all the import we were just unsure on which ones we needed
package jane;
import java.io.Closeable;
import java.io.InputStream;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.InputMismatchException;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Scanner;
i
|
1/22/2010 5:43:51 PM
|
7
|
janew <janewal...@hotmail.com>
|
483831 Information portals for computer and Web technology 49
I fell in love with the net and all the compuiter teahcnology in the very early years and have loved it ever since, I have an IT Degree and Communications degree and will be working on my doctorate for the next five years, in bwetween I design websites, databases, Multimedia Produxction or anything that wil make me a penny, just student scraping by. But Guess what? I don't want your money, your e-mail, or anything. Each of these sites has a specific topic but they have them style and layout sothey are easy to navigate and ther a search function should take you to exactly where youwant to, o
|
1/21/2010 6:24:40 PM
|
0
|
Andrew W.<wilcox_and...@childcustodyfordads.eyetraffic.net>
|
canonital text files
Java has System property line.separator. It also has println.
So what does a canonical text file look like? Should it have a final
CrLf or not?
Java seems conflicted on the issue. Originally readLn did not work
unless there was a final "separator".
I would have to do an experiment to see whether you get dummy empty
lines with terminal "separator".
Another way of asking the question. Is CrLf (or Lf for Unix and Cr
for Mac) a line terminator or a line separator?
--
Roedy Green Canadian Mind Products
http://mindprod.com
Responsible Development is the style of development
|
1/19/2010 12:22:55 PM
|
21
|
Roedy Green <see_webs...@mindprod.com.invalid>
|
in gcj, undefined reference to winmain@16
In gcj I am getting an undefined reference to winmain@16. How can I
fix this problem.
-robin
|
1/19/2010 6:34:40 AM
|
6
|
Robin <rob...@cnsp.com>
|
gcj question
When I run gcj myprog.java I get undefined reference to winmain@16
-robin
|
1/19/2010 6:28:04 AM
|
2
|
Robin <rob...@cnsp.com>
|
Java & XML
Can anyone help me how to handle JAVA NullPointerException?
Is it possible to continue to run in "<>" as shown below?
Or I need to assign a new value if String A is null?
Please advice. Thanks.
String AA = getXMLInfo(XXX, "YY");
String A = myDate.convert(AA, inDateFormat, outDateFormat);
String BB = getXMLInfo(VVV, "UU");
String B = myDate.convert(BB, inDateFormat, outDateFormat);
catch (NullPointerException e)
{
System.out.println("main: Oops, null exception caught");
<continue to run and assign
A=B, C=D;>
}
|
1/19/2010 6:23:39 AM
|
3
|
aix five <aix...@gmail.com>
|
Compiler warning issue
Hi All,
I have a Windows XP and use jdk1.6.0_16
I want to know the work around with the
compiler warning
".....com.sun.image.codec.jpeg.JPEGCodec is a Sun
proprietary API and may be removed in the future ...."
To show my efforts to find a solution I read Bug Database:
<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476630>
..
A final, late date, posting to this bugs request link says:
"However, in practice developers either maintain a zero warning
count or they ignore warnings. Those that maintain zero warnings
will need to be able to acknowledge the issue once and, if they
|
1/18/2010 1:02:33 PM
|
0
|
bH <bherbs...@hotmail.com>
|
DefaultCellEditor.EditorDelegate
Hi,
I am studying the JTable object model (in the early days I got all learning
arrested until I found a suitable metaphor for a transistor), and just
bumped into DefaultCellEditor.EditorDelegate nested class.
The documentation is laconic regarding its usage. I just did some googling
and found nothing but references to the Java documentations, copies of it,
and a few examples -which may be useful, but there's a lot of weed filtering
to do before finding anything useful.
Can anybody point me to a good example or explanation of what it is useful
for?
Thanks in advance.
|
1/17/2010 6:23:41 PM
|
0
|
"Leonardo Azpurua" <leona...@exmvps.org>
|
Serializing an object to xml
Hi!
I'd like to serialize an object includind its annotations. Is this
possible? Are there any tool to make this task?
An example
@MyClassAnnotation(value=true)
public class Foo{
private int i;
public void setI(int i){
this.i=i;
}
@MyMethodAnnotation(value=8)
public int getI(){
return i;
}
}
Thank you!
|
1/16/2010 5:06:55 PM
|
0
|
"cirudinezid...@gmail.com" <cirudinezid...@gmail.com>
|
java to .exe
Are there any good java to .exe progrms available for free. I looked
and found none.
Thanks.
-Robin
|
1/15/2010 1:02:54 AM
|
0
|
Robin <rob...@cnsp.com>
|
where is certain java files
Where can I find certain java java files that represent java.lang.*
files. My question essentionally is where I can put the jikes.exe java
compiler so it finds the java.lang.* packages so it doesn't give me an
error saying it can't find those packages.
Thanks,
Robin
|
1/14/2010 11:20:22 PM
|
0
|
Robin <rob...@cnsp.com>
|
What is the name of this?
Hi,
I am studying the chapter devoted to JTables in Sun's Tutorial.
I found a construct like this:
JTable ltable = new JTable(new MyTableModel()) {
//Implement table cell tool tips.
public String getToolTipText(MouseEvent e) {
...
}
...
}
If I understand it, this is the declaration and immediate initialization of
an instance a class derived from JTable, whose method getToolTipText is
being overriden.
I don't know if I like this in practice (I find it obfuscating and exactly
the opposite
|
1/14/2010 12:10:17 AM
|
0
|
"Leonardo Azpurua" <leona...@exmvps.org>
|
Event Dispatching Thread Problem
Hi to all,
I have built a simple AWT Applet for educational purposes.
I draw one rectangle. The user waits 1000 ms and then I draw a second one
and so on. Then rectangles are drawn totally.
I added 2 buttons go and stop so that the user could re-execute or stop the
animation.
However these buttons are unresponsive while the animation is being executed
evenif I created a separated thread so as not to block the EDT.
I provide the code below.
Any help or suggestion would be highly appreciated.
Thanks in advance
Thanasis
++++++++++++++++++++++++++++++++++++++++++++++++
import
|
1/13/2010 11:20:54 AM
|
0
|
"thanasis" <thanasis...@hotmail.com>
|
folder vs directory
Is there any difference between a folder and a directory? I notice
Windows people using both the terms folder and directory, where
formerly only Mac types talked of folders.
I saw some JPSoft docs that suggested directories are actual
directories on hard disk, and folders also include virtual directories
(I forget what Linux folk call them.) It when you have a directory
entry that points to files that live in some other directory.
I have also heard the terms "symbolic link", and "junction". I would
like to sort out the precise meanings of these words for the Java
glossary.
--
|
1/10/2010 6:20:07 AM
|
5
|
Roedy Green <see_webs...@mindprod.com.invalid>
|
Modify a deployed app for testing?
I have tomcat running a deployed war file, which is working just fine,
but I want to modify the installed app for testing, instead of
redeploying after each edit.
Somehow, I seem to remember that a .java file that's contained in the war
file can be overridden by placing a modified copy in the ./src/path on
the server, however this doesn't seem to be working.
Since it's been a number of years since I did any significant Java, I may
just be hallucinating, but if not, I'd *really* appreciate a clue how to
do this, since it doesn't seem to be working.
Is this possible, or do
|
1/7/2010 7:45:54 PM
|
1
|
Terry Carmen <te...@bupkis.org>
|
dot notation question
Here's a very basic question I've come accross a I'm trying to learn
Java. Given the code:
class TestLoop {
String[] firstNames = {"Bugs","Nancy","Betty","Jimbo"};
String[] lastNames = new String[firstNames.length];
void printNames() {
for (int i = 0; i < firstNames.length; i++)
System.out.println(firstNames[i] + " " + lastNames[i]); //
Question!
}
public static void main (String arguments[]){
NamesLoop a = new NamesLoop();
a.lastNames[0] = "Smith";
a.lastNames[1] = "Jones";
a.lastNames[2] = "Pepper";
a.lastNames[3] = "Keith";
a.pr
|
1/7/2010 1:18:55 AM
|
5
|
leegold <goldt...@worldpost.com>
|
scrunch data
Hi,
I'm not sure what to call it, so I'll call it scrunching data.
I have an alphabet represented by an int in the range 0 - 0x10FFF.
I also have a category represented by an int in the range 0 - 255.
How can I compose a character from my alphabet with a category into a
single int? And conversely decompose this int into a character in and a
category int?
Thanks
JH
|
1/6/2010 2:19:07 AM
|
9
|
Jeff Higgins <oohigg...@yahoo.com>
|
Receiver in Outputstream.read() stops after 2735 bytes
Hi,
I have written a sender-receiver and the receiver stops receiving any
data after 2735 bytes. The sender seems to be fine, because when
connecting with a telnet session, it sends all the bytes.
I have tried to send the data in 100 byte pieces and flush() afterwards,
to no avail.
Am I missing someting?
TIA
Bart
--
Bart Blogt Beter: blog.friesoft.nl
|
1/4/2010 8:57:13 PM
|
33
|
Bart Friederichs <"bart apestaartje friesoft punt nl">
|
Java Web Database
I am thinking about changing my programmering language for my
profileadmin management to Java from PHP.
The only problem I can come up with just now is, that I need a
connection to the MySQL-DB, but how can I configure that access?
|
1/4/2010 6:16:14 PM
|
4
|
The87Boy <the87...@gmail.com>
|
I have Java Applet that is free for educational use, but I would like to license (currently free) for...
....commercial usage.
I don't want to restrict with a node locked license, and I'm sure it
wouldn't be particularly robust, but I'd like to simply restrict an
applet to running on a given domain via a license key retrieved from
the server.
For example, I'd like to have a server at www.something.com and it
contain a license key containing encrypted information that equates to
www.something.com. Ignoring the issues with encrypting in an applet
(or any bytecode compiled resource), can an applet figure out what
domain it is being served from, or just the IP address it is served
from
|
1/4/2010 3:48:31 PM
|
1
|
WTH <wthnos...@gmail.com>
|