digi_pixel | 1 Jan 01:58
Picon

Web Start Support


After investigating the Web Start support in NB 6 it appears as though there
is no option to deploy an entire J2SE application in a single folder. For
example a user dbl clicks on the JNLP file and a folder containing the
application is copied from the server to the client. Everything inside the
directory is copied along with it.

Is it possible to do this with Web Start :confused: The reason I am
mentioning this is that there are some required libraries in a directory
called "lib" within the application's directory that need to be brought
down. It would be great if you could just specify the directory for these
resources instead of mentioning each file name one by one inside the
resources tag.
--

-- 
View this message in context: http://www.nabble.com/Web-Start-Support-tp14563308p14563308.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Wade Chandler | 1 Jan 03:06
Picon
Favicon

Re: Re: NetBeans 6.0 Java SE Pack on JDK 6U10

Yes, you need at least 1GB of RAM if you are using it for more than simple editing of Java files. I recommend
2GB. I have 2GB in all my laptops and have been running with no performance issues, but I have heard some have
had different problems with similar setups as I, though I have it on 2 laptops with Windows XP Pro SP2 and 1
Linux OpenSuSE 10.3 and it is running great on all of them. I am currently using different applications and
NB 6.0 while writing this email and have some 30-40 projects opened ranging JEE, JSE, and NetBeans RCP. I am
not using visual web.

Wade

==================
Wade Chandler, CCE
Software Engineer and Developer, Certified Forensic Computer Examiner, NetBeans Dream Team Member, and
NetBeans Board Member
http://www.certified-computer-examiner.com
http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam
http://www.netbeans.org

----- Original Message ----
From: Xavier Callejas <xcalleja <at> ibcinc.com>
To: nbusers <at> netbeans.org
Sent: Sunday, December 30, 2007 6:51:37 PM
Subject: [nbusers]  Re: NetBeans 6.0 Java SE Pack on JDK 6U10

Girts wrote:

> I am running NetBeans 6.0 on laptop with 512Mb RAM.

Hi,

I'm using NB6.0 final on a laptop with 512MB RAM too, and it's
(Continue reading)

Wade Chandler | 1 Jan 03:14
Picon
Favicon

Re: Web Start Support

No, web start does not support this. It will bring down the application per the named resources, but the
entire point of JNLP is to allow the client to be able to store the resources where ever it needs them, and
then the application is expected to use the directories the platform the application and JNLP
environment will allow it. It is a contained environment. Though, that could be a good addition that it
finds everything in a directory and just calls them resources, but the problem is that then the web server
must allow directory listing on the directory the application resides as getting the listing is the only
way one could know what was there, and then at that...directory listing is actually a function of the
server unless something like WebDav is used and there is no standard method
  for asking a web server (HTTP that is) what "files" reside under a path, and JNLP doesn't support WebDav that
I know of. So, when you see a directory listing from an
 HTTP server you just see its visual representation of how a file system should look. FTP may support some
type of a head command...at least one could read the first bytes using it...so JNLP could be designed to use
it or something like it such as SFTP, but then we're talking about changing it a lot, and that seems like a
better discussion for the web start project versus NetBeans.

Wade

==================
Wade Chandler, CCE
Software Engineer and Developer, Certified Forensic Computer Examiner, NetBeans Dream Team Member, and
NetBeans Board Member
http://www.certified-computer-examiner.com
http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam
http://www.netbeans.org

----- Original Message ----
From: digi_pixel <napperley <at> gmail.com>
To: nbusers <at> netbeans.org
Sent: Monday, December 31, 2007 7:58:48 PM
Subject: [nbusers] Web Start Support
(Continue reading)

Oddvard Myrnes | 1 Jan 03:19

Happy New Year!

I whish to thank the good people for all the help I have received last year,
and whish you all a happy new year in 2008!

Oddvard

Manuel Mall | 1 Jan 03:31
Picon

RE: Persistence: too many comments...

As you are using Hibernate have you checked the Hibernate on-line docs
(http://www.hibernate.org/hib_docs/v3/reference/en/html/session-configuratio
n.html#configuration-logging) to see if that helps?

It boils down to Hibernate using Apache Commons Logging which in turn uses
JKD1.4 logging or Log4J depending on which one it can find. So which logging
system is being used in your case and where is it configured? In either case
it would not be in persistence.xml (apart from the show_sql option).

> -----Original Message-----
> From: "Javier A. Ortiz Bultrón" [mailto:javier.ortiz.78 <at> gmail.com]
> Sent: Tuesday, 1 January 2008 4:35 AM
> To: nbusers <at> netbeans.org
> Subject: Re: [nbusers] Persistence: too many comments...
> 
> Briggs escribió:
> > Most likely you are using log4j. Can't you just update your log4j
> > properties to not debug org.hibernate packages?
> >
> > Something along the lines of:
> >
> > log4j.logger.org.hibernate=WARN
> >
> > But, I don't know what your logger is set up as.
> >
> >
> >
> I'm running the files from the IDE using the Test command or run file on
> the test file to run the separate test. Looked around test properties
> something about log4j but found nothing. The weird thing is that I don't
(Continue reading)

wei jie | 1 Jan 04:35
Picon
Favicon

Is there a guid for develop custom vwp component?

I want to develop custom vwp component , is there a vwp custom component developement guid ?


雅虎邮箱传递新年祝福,个性贺卡送亲朋!
-Patrick | 1 Jan 07:48
Picon

Recent Projects, removing "???"

I've got a couple of projects opened in 6.0, and after some moving 
around, I now notice that the start page is showing a couple of lines 
with the following string:
  "???"
  "???"

and I assume this is because it's trying to find the projects I moved. I 
added hald-dozen of projects and it doesn't seem to matter in removing 
the strings. I can't recall which projects they were and because my 
OCD-like nature is kicking in, I would like these strings removed. How 
do I remove the lines with the question marks?

Thanks!
-Patrick

Karthik | 1 Jan 08:04
Picon

Re: Recent Projects, removing "???"

<userdir>\config\Preferences\org\netbeans\modules\projectui.properties 
file holds the information on recent projects. Can you try editing or 
removing this file?

regards,
karthik

-Patrick wrote:
> I've got a couple of projects opened in 6.0, and after some moving 
> around, I now notice that the start page is showing a couple of lines 
> with the following string:
>  "???"
>  "???"
>
> and I assume this is because it's trying to find the projects I moved. 
> I added hald-dozen of projects and it doesn't seem to matter in 
> removing the strings. I can't recall which projects they were and 
> because my OCD-like nature is kicking in, I would like these strings 
> removed. How do I remove the lines with the question marks?
>
> Thanks!
> -Patrick

Ilan | 1 Jan 08:32
Picon
Gravatar

Re: How do I add my own panel to my desktop application?


Thanks Wade,
I used the method to drag DrawGraphics into the form and it works great.
However there is now a new problem, which also must have a simple solution,
but I can't find it.
In the previous method under Eclipse when I changed the initialization I had
a jDraw whose value I knew.
Then to update the drawing was trivial:
jDraw.repaint();

Now the same jDraw is a private member of NMViewView and I don't know how to
cause it to repaint itself.
I defined an additional proceedure
public void repaintImages() {
jDraw.repaint();
}

which gets around the private definition of jDraw, but I am having
difficulty getting to the routine.
Somehow I have the feeling that it shouldn't be this difficult just to ask
it to repaint the panel.

Ilan

Wade Chandler wrote:
> 
> Where ever DrawGraphics is just make sure it is built, and then drag it
> from the project view onto your UI form. This will be in NB 6.0. In NB 5.5
> you would have to add it to the Palette to drag and drop. Another way is
> to add a JPanel from the palette then click it and then go to the
> properties window code tab and use the custom initialization section since
> DrawGraphics extends JPanel. You can then use what ever constructor you
> want and in this case you would use "new DrawGraphics()" in the custom
> init editor. Then yet another way is to go to the Palette and go to the
> Beans category. Click the Add Bean or JavaBean or what ever it
> is...generic thing. You'll be presented with a simple input Dialog where
> you type the fully qualified class name. Then as long as it is a valid
> JavaBean (as must be the case in all the other methods but the custom init
> part as in that situation you define the constructor so it doesn't have to
> have a default constructor) NB will
>  have one of your classes you can put into the form once you press OK.
> 
> Wade
>  
> ==================
> Wade Chandler, CCE
> Software Engineer and Developer, Certified Forensic Computer Examiner,
> NetBeans Dream Team Member, and NetBeans Board Member
> http://www.certified-computer-examiner.com
> http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam
> http://www.netbeans.org
> 
> ----- Original Message ----
> From: Ilan Tal <ilan.tal <at> gmail.com>
> To: nbusers <at> netbeans.org
> Sent: Sunday, December 30, 2007 7:20:01 AM
> Subject: [nbusers] How do I add my own panel to my desktop application?
> 
> 
> I'm trying to convert my first program from Eclipse to NetBeans desktop
> application.
> For drawing, I use my own class which extends JPanel
> 
> class DrawGraphics extends JPanel {
> }
> 
> In Eclipse, I used the visual editor to define a JPanel which I called
> jDrawPanel. Then I could manually edit the method which initializes it.
> 
> 
> /**
>      * This method initializes jDrawPanel    
>      *     
>      * @return javax.swing.JPanel    
>      */
>     private JPanel getJDrawPanel() {
>         if (jDrawPanel == null) {
>             jDrawPanel = new JPanel(new GridLayout(1,1));
> 
>             jDraw = new DrawGraphics();
>             jDrawPanel.add(jDraw);
>         }
>         return jDrawPanel;
>     }
> 
> NetBeans is more careful about what it lets you edit and I couldn't figure
> out how I could get my DrawGraphics into use in place of a JPanel which I
> dragged into the desired position.
> 
> What would be really nice would be if I could drag my own DrawGraphics
> since it extends JPanel, but I can certainly live with the same trick as
> in Eclipse where I put my panel into another panel.
> 
> Please tell me the correct way of doing things.
> 
> 
> Thanks,
> Ilan
> 
> 
> 
> 
> 
> 

--

-- 
View this message in context: http://www.nabble.com/How-do-I-add-my-own-panel-to-my-desktop-application--tp14546756p14565046.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

-Patrick | 1 Jan 08:35
Picon

Re: Recent Projects, removing "???"

Karthik wrote:
> <userdir>\config\Preferences\org\netbeans\modules\projectui.properties 
> file holds the information on recent projects. Can you try editing or 
> removing this file?
>
> regards,
> karthik
>
> -Patrick wrote:
>> I've got a couple of projects opened in 6.0, and after some moving 
>> around, I now notice that the start page is showing a couple of lines 
>> with the following string:
>>  "???"
>>  "???"
>>
>> and I assume this is because it's trying to find the projects I 
>> moved. I added hald-dozen of projects and it doesn't seem to matter 
>> in removing the strings. I can't recall which projects they were and 
>> because my OCD-like nature is kicking in, I would like these strings 
>> removed. How do I remove the lines with the question marks?
>>
>> Thanks!
>> -Patrick
>
Perfect, that did it. Thank you karthik!


Gmane