01-08-2008, 08:45 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2008
Device: iLiad
|
Hide toolbar and pagebar in a Java app ?
Hi,
Does anyone knows how to hide the toolbar and the pagebar when running a Java application ? I tried this : frame.setSize(768, 1024) frame.setBounds(0, 0, 768, 1024) But it doesn't works, the toolbar and the pagebar are still there. I expected for frame.setAlwaysOnTop(true) but it is only available since Java 1.5. Any ideas ? Thanks |
01-08-2008, 10:51 PM | #2 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Read some posts by scotty1024. From what I remember, it's impossible to have Java apps running full screen.
|
Advert | |
|
01-09-2008, 03:13 AM | #3 |
Fully Converged
Posts: 18,163
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
|
01-09-2008, 03:41 AM | #4 | |
Junior Member
Posts: 3
Karma: 10
Join Date: May 2007
|
Quote:
Here's another of my nutty ideas... Can iPDF be extended to invoke a Java program to render each page of CBZ or CBR file (or a simple directory, perhaps with a manifest file that says 'Treat me like a comic book'), like it invokes libpoppler today? I'm not saying I want to doodle on my comics pages (though I wouldn't mind the option), but I would like:
(I also wouldn't mind the ability to delete an individual page from the CBR/CBZ archive or folder, but let's not get totally crazy here yet.) Is iPDF the right place to do this? Is Java the best way to render this content? (It certainly seems to have the smallest code footprint...) Anyone have a better idea? |
|
01-17-2008, 05:55 PM | #5 |
Guru
Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I poked into irex java sdk code contained in "irex.jar" and have found no clue to make toolbar or pagebar disappear.
I found that toolbar and pagebar are controlled through IPC (should be interprocess call or something) provided by OS. Java code calls for a reset or refresh when needed. Therefore, the drawable screen for JVM is 768*935 in the start, and no way for a Java app to make displayable area increase. Actually, I don't see any evidence that JVM denies or disallows to do so. The problem is that I can't find an API to make them disappear. I have found a way to add icon or delete icon on toolbar, but I can't make it disappear and increse the iLiad Frame size. Java is a monster hungering for memory. Don't expect too much on Java to do fancy processing on iLiad. It's limited because of iLiad on support Java PBP (too few image api), and the 64 mb memory. |
Advert | |
|
01-18-2008, 04:04 AM | #6 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2008
Device: iLiad
|
Thank you for your answers !
The only solution I found is to directly write in the video memory. I call a C program via JNI, which writes in the /dev/fb0 special file... |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
LrfAppender: IE toolbar similar to "Toolbar for Librie" | mumurik | LRF | 1 | 10-13-2009 04:01 AM |
LrfAppender: IE toolbar similar to "Toolbar for Librie" | mumurik | Sony Reader Dev Corner | 1 | 10-06-2009 03:33 AM |
iLiad ipdf hide Toolbar | Fermthe | iRex Developer's Corner | 2 | 09-30-2008 04:05 PM |
installing java app books on LG Viewty telephone ? | zelda_pinwheel | Alternative Devices | 2 | 08-22-2008 07:19 AM |
[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari | Zire | Lounge | 4 | 05-24-2005 09:12 PM |