Picon

How import an existing project to another?


Hi everyone

I'm developing an small application that depends on other project and I've been trying import it form the
library manager but when try to import the package the ide complains and says "package com.yunta.foo
doesn't exits" 

Any suggestion would be great.

Thanks in advance.

Daniel.
_________________________________________________________________
Se parte de la mayor comunidad de blogs en México. Crea tu propio espacio gratis.
www.live.spaces.com
Scott Palmer | 1 Sep 01:54

Re: Hi, there is a how to about how to make drivers for hardware in java

Of course user-mode drivers are doable in Java with a little JNI.  In 
fact, if Sun would hurry up and get a generic JNI binding done for 
talking to USB devices, then quite a bit could be done for cameras, 
printers, scanners, etc... all primarily in Java.

Kernel mode is an entirely different story of course and Java doesn't 
make sense for kernel mode drivers.

Scott

Felipe Marin Cypriano wrote:
> Do you know what is high-level and low-level languages, OS, Virtual 
> Machines?
>
> http://en.wikipedia.org/wiki/High-level_programming_language
> http://en.wikipedia.org/wiki/Low-level_programming_language
> http://en.wikipedia.org/wiki/Operating_system 
> <http://en.wikipedia.org/wiki/Operating_system>
> http://en.wikipedia.org/wiki/Virtual_machine
>
> On 8/30/07, *Joksan Nempu Fernandez* < jnempu <at> gmail.com 
> <mailto:jnempu <at> gmail.com>> wrote:
>
>     Hi everyone:
>
>     I wanted to know if there is a manual where teach me how to write
>     drivers in java?
>

(Continue reading)

Scott Palmer | 1 Sep 01:57

Re: Instant Messenging with Java

If you are looking for a Java solution, I like Spark.
http://www.igniterealtime.org/projects/spark/index.jsp

Scott

Daniel MD wrote:
> p.s. gaim is now http://pidgin.im , i don't love it (i am so used to 
> trillian) but that does not run on solaris.
>  
> Best Regards,
> -Daniel Mendes
>
>
> ----- Original Message ----
> From: Kai Ponte <kai <at> perfectreign.com>
> To: nbusers <at> netbeans.org
> Sent: Friday, August 31, 2007 2:34:23 AM
> Subject: Re: [nbusers] Instant Messenging with Java
>
> On Thursday 30 August 2007 11:27, George R Smith wrote:
> > All
> >
> > Will someone recommend a IM that will run on windows XP and Solaris 10
> > Workstations.
>
> Gaim.
>
> Also has OTR functionality to avoid those nasty questions from people 
> like
> your boss.
(Continue reading)

Jim Davidson | 1 Sep 02:28
Picon

Re: VWP: DataProvider with equi-join and query

I'm not sure what you're getting at.  Let me try to explain:

If you have an error in your application (e.g., trying to bind to an invalid 
parameter number, as is the case here), an exception will be raised at 
runtime.  In the case here, the exception will be thrown by the database 
driver, when it tries to execute the query.  The exact error message depends 
on the particular driver.

If you don't have such an error, things should work.  I've tried it with 
different drivers (both Derby and Oracle), and both worked, although I did 
not use the same query as you.

If you are seeing an exception when you run your application, please report 
the details.  E.g., log the actual exception, rather than reporting failure.

-Jim

On 8/31/07 6:08 AM, rrugemalira wrote:
> It is a very simple matter to change 1 to 2 etc and this was done even before
> the first posting was made. The exception is caught nevertheless and I
> believe the issue lies with incompatibility of data providers with databases
> other than derby! Will find out and let you know. Thank you.
> 
> Chris Kutler wrote:
>>
>>
>> rrugemalira wrote:
>>> It is not a typo:
>>> WHERE DIAGNOSIS.ailment = 'TB'  // this is setObject(1 << no
>>>   
(Continue reading)

HandyGeek | 1 Sep 03:01
Picon

Re: VWP: Unusual Component Behavior

Hi Brad,
See http://www.nabble.com/VWP%3A-Cannot-resize-controls-tf4273301.html#a12162621

The text of the above link is:
Resize handles have been taken off from the following woodstock
components. TextField, TextArea,PasswordField, DropDown and ListBox..
You can use "columns" attribute on the Textfield, rows attribute on the
Text area. This change was needed in order to add Ajax behavior to these
components. Please see
http://visualweb.netbeans.org/issues/show_bug.cgi?id=95022

Thanks
-Jayashri

Brad Oleson wrote:

Still working with the same web page I’ve been working on for a while.  I’ve been asked to add some borders around certain sets of features to help distinguish them visually.  So, I added a layout panel to the page and am moving the necessary components onto the layout panel.  One list box simply would not stay where I wanted it.  I would drag and drop it where I wanted it and it would immediately resort to showing in the upper left corner of the layout panel (I have changed the layout panel to Grid rather than Flow).

 

I deleted that component and added a new list box to take its place.  That one won’t let me resize it.  I drag the sizing handles top make it the size I want it (in the same location I want the previous list box), but it resizes to its default size when added to the form.

 

Any ideas on this?

 

Also, when moving components onto the new Layout panel (using the outline tree) it takes a VERY long time for the IDE to update and show the component as moved.  Is there a known reason / fix for this as well?  I do have a considerable amount of components on this page, but would think that shouldn’t kill things or slow them down as mush as it has.

 

NetBeans 5.5.1 on Windows XP…

 

Brad Oleson
GIS Programmer / Analyst

IGIS Technologies, Inc.

“Preparing you for Geographic Decisions.”

10393 San Diego Mission Road, Suite 212
San Diego
, CA92108

Office: (619) 640-2330 x 118
Cell: (619) 504-7448
FAX: (619) 640-2334

Email: oleson <at> igist.com
Web:
http://www.igist.com

Industry affiliates: ESRI, Trimble, Leica Geosystems

 


Gregg Sporar | 1 Sep 03:15
Picon

Re: Ubuntu Linux, I can't start a new project, I think my installation is messed up.


>I'd be perfectly fine with just wiping all traces of NetBeans (and the jdk and jre if they might have anything to do with it) then installing it all over again

I would suggest instead trying something a bit less painful first, because it will probably fix your problem: delete the NetBeans userdir. 

The NetBeans install directory is of course important and can get mucked up, but more likely the problem is instead in your userdir and the un-install utilities do *not* remove the userdir (which is by design, since there are valid use cases for keeping it).

To find your userdir, refer to this FAQ entry: http://wiki.netbeans.info/wiki/view/FaqWhatIsUserdir.  Then shutdown NetBeans, do an "rm -rf <userdir>", and then restart NetBeans.

HTH,
Gregg Sporar



Azat Akhmetov wrote:
Hi,

(Skip to the link if you don't feel like reading)

I installed Ubuntu (Feisty Fawn 7.04) on this computer recently, then accidentally installed NetBeans 5.5.1 (from the downloaded binary) without installing the jdk first. I must have had jre already because when I tried launching it an error message told me I probably used jre instead of jdk. I figured I'd uninstall NetBeans, install the bundle and fix it, only I couldn't figure out how to uninstall. It wouldn't show up in synaptic (Or under Applications -> Programming), I found some instructions telling me to run _uninst/uninstall.bin but the closest files were uninstall.dat, uninstall.jar and "uninstaller". The two I couldn't figure out how to run, and "uninstaller" did nothing. So I gave up and decided to just install the bundle over it.

The bundle of course complained the directory was already in use, so I went to my home folder and deleted the netbeans directory. The bundle installed then, only now when I double clicked the desktop icon nothing would happen. NetBeans under Applications -> Programming wouldn't visibly do anything either (But at least it showed up now). I still couldn't find it under synaptic, so I tried running _uninst/uninstaller and this time it did work, removing the netbeans directory from my home folder. I don't know what else it did though.

I then ran the NetBeans installer, not the bundle since I already had jdk now, and it installed fine. Then I ran it, that went well too. Only when I tried to start a project, this is what I got:
http://img475.imageshack.us/img475/6994/screenshotwr0.png

Now my guess is that all the improper reinstalls mucked things up and now I have traces from previous installs preventing a correct installation, I couldn't find anything on Google, the FAQ or the #netbeans (as of right now), so right now I'd be perfectly fine with just wiping all traces of NetBeans (and the jdk and jre if they might have anything to do with it) then installing it all over again, only I'm a bit new to Linux and I don't know how to do that short of reinstalling Ubuntu.

Any help I'd greatly appreciate.
Kai Ponte | 1 Sep 03:48
X-Face
Favicon

Re: Ubuntu Linux, I can't start a new project, I think my installation is messed up.

On Friday 31 August 2007 06:22, Azat Akhmetov wrote:
> Hi,
>
> (Skip to the link if you don't feel like reading)
>
> I installed Ubuntu (Feisty Fawn 7.04) on this computer recently, then
> accidentally installed NetBeans 5.5.1 (from the downloaded binary) without
> installing the jdk first. 

That should be fine. However you'd need to do some configurations....

> I must have had jre already because when I tried 
> launching it an error message told me I probably used jre instead of jdk. I
> figured I'd uninstall NetBeans, install the bundle and fix it, only I
> couldn't figure out how to uninstall. It wouldn't show up in synaptic (Or
> under Applications -> Programming), I found some instructions telling me to
> run _uninst/uninstall.bin but the closest files were uninstall.dat,
> uninstall.jar and "uninstaller". The two I couldn't figure out how to run,
> and "uninstaller" did nothing. So I gave up and decided to just install the
> bundle over it.

Again this shouldn't be a problem, except....
>
> The bundle of course complained the directory was already in use, so I went
> to my home folder and deleted the netbeans directory. 

...you probably have a folder under your home folder:

 ~/.netbeans 

You need to delete that. 

> The bundle installed 
> then, only now when I double clicked the desktop icon nothing would happen.

It probably is failing. Try launching from the command line. You can type 
simply netbeans and it should launch.

> NetBeans under Applications -> Programming wouldn't visibly do anything
> either (But at least it showed up now). I still couldn't find it under
> synaptic, so I tried running _uninst/uninstaller and this time it did work,
> removing the netbeans directory from my home folder. I don't know what else
> it did though.
>
> I then ran the NetBeans installer, not the bundle since I already had jdk
> now, and it installed fine. Then I ran it, that went well too. Only when I
> tried to start a project, this is what I got:
> http://img475.imageshack.us/img475/6994/screenshotwr0.png
>

Not sure what is wrong with that picture.

> Now my guess is that all the improper reinstalls mucked things up and now I
> have traces from previous installs preventing a correct installation, I
> couldn't find anything on Google, the FAQ or the #netbeans (as of right
> now), so right now I'd be perfectly fine with just wiping all traces of
> NetBeans (and the jdk and jre if they might have anything to do with it)
> then installing it all over again, only I'm a bit new to Linux and I don't
> know how to do that short of reinstalling Ubuntu.

Heh - Can you open a netbeans project?

There's no reason to re-install Ubuntu. Keep it up and you'll be doing fine.  
I personally use SUSE but will try to help you out.

>
> Any help I'd greatly appreciate.

--

-- 
kai ponte
www.perfectreign.com

Wade Chandler | 1 Sep 04:32
Picon
Favicon

Re: Hi, there is a how to about how to make drivers for hardware in java

In short, you can't make a driver for, say Windows,
using Java. If you have an OS which runs on Java
hardware or uses a Java interface at its low levels to
allow such a thing then you can. But, the OS must
support it. There are some efforts out there such as:
http://www.jnode.org

but, I haven't had time to keep up with them. What
ever you find will be very specific to the OS or
hardware.

Wade

--- Felipe Marin Cypriano <fmcypriano <at> gmail.com>
wrote:

> Do you know what is high-level and low-level
> languages, OS, Virtual
> Machines?
> 
>
http://en.wikipedia.org/wiki/High-level_programming_language
>
http://en.wikipedia.org/wiki/Low-level_programming_language
> http://en.wikipedia.org/wiki/Operating_system
> http://en.wikipedia.org/wiki/Virtual_machine
> 
> On 8/30/07, Joksan Nempu Fernandez
> <jnempu <at> gmail.com> wrote:
> >
> > Hi everyone:
> >
> > I wanted to know if there is a manual where teach
> me how to write drivers
> > in java?
> >
> > --
> > Joksan Nempu Fernandez
> > Estudiante Ingeniería Civil en Computación e
> Informática.
> > Encargado del Laboratorio de Sistemas
> Distribuidos.
> 
> 
> 
> 
> -- 
> Felipe Marin Cypriano
> Vitória - ES
> 

Kai Ponte | 1 Sep 05:20
X-Face
Favicon

Re: Ubuntu Linux, I can't start a new project, I think my installation is messed up.

On Friday 31 August 2007 06:22, Azat Akhmetov wrote:
<snip>

> y fine with just wiping all traces of
> NetBeans (and the jdk and jre if they might have anything to do with it)
> then installing it all over again, only I'm a bit new to Linux and I don't
> know how to do that short of reinstalling Ubuntu.
>
> Any help I'd greatly appreciate.

One more thing I just thought up.  (Funny things happen while out in the pool 
in 105-degree (45c) heat...)

Someone helped me out with this on my older system - then SUSE 10.1.  Download 
and install the bundled version of Netbeans with the JDK. You can then 
install (using the installer) to a folder of your choice.  I install to my 
apps folder - /home/kai/apps - and then a subfolder for netbeans.  I then 
launch netbeans from there.

kai <at> jabba:~/apps/netbeans-5.5.1>

This avoids any conflict with a system-wide JRE you might have for OpenOffice 
or whatever.  

You can see I'm running 1.5.0_12 of java...

kai <at> jabba:~/apps/netbeans-5.5.1> java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)

...which is located in /usr/bin/java...

kai <at> jabba:~/apps/netbeans-5.5.1> which java
/usr/bin/java

--

-- 
kai ponte
www.perfectreign.com

gazboz | 1 Sep 07:42

Matisse/Netbeans GUI runs but nothing happens


Hello,
I have been working on this problems now for a few days, and as a novice I
am loosing my enthusiasim.
I apologise for the "same old same old" from these green Java pogrammers....

I have wrote a simple "Hello world" program in Netbeans 5.5 using a jpanel.
It complies and runs, but nothing happens. I can see the preview and that is
my nearest taste to what it will look like.

I have visted and revisted and re-revisted all documentation and nothing
seems to provide me with answers. I have tried running it from the IDE and
from the command line.

I have tried running it in Linux and Windows and getting exactly the same
result.

I can't seem to find anything in nay forums, or if I do it is about missing
swing references which I have added to the build.xml to no avail.

Has anyone come across this problem? Is there something missing on the
documentation?
Any help will be much appreciated.

Thanks,
Gary
--

-- 
View this message in context: http://www.nabble.com/Matisse-Netbeans-GUI-runs-but-nothing-happens-tf4363645.html#a12437641
Sent from the Netbeans - Users mailing list archive at Nabble.com.


Gmane