Aptana how to active preview - java

how to activate the live preview in Aptana?
in its daownload page says:
“Live Preview
Quickly switch between a view of your source code and the rendered HTML page in popular web browsers. ”
but how?

To preview an html file, first open the html file and then click on the preview icon on the toolbar:

I am not completely sure, but I think you can simply click the green "run" button.
Here is a link to the documentation about "previewing": http://wiki.appcelerator.org/display/tis/Previewing+a+project+in+a+web+browser

Related

Selenium - Clicking on a flash button which should open a new tab

I want to click on flash button which should open a new tab and in turn I need to do some operations on that page and return to the main page. Can anyone help with the code in Java? I have seen that flash doesn't work on Selenium, if so what are the alternatives?
I never tried, but i found this link, http://www.adobe.com/devnet/flash/articles/flash_selenium.html, maybe is useful for you. Is a plugin to use selenium in Flash front end

What Swing text component can I use to have hyperlinks open in browser?

I have a JEditorPane which has been set uneditable with JEditorPane#setEditable(false) that is set to display HTML that I load from an external source of which I have no control of. Many times there are hyperlinks in the HTML, however while hovering over the link will change the cursor to a interactive image (in widows, changing from pointer to finger), clicking the hyperlink will do nothing.
Is there any swing component I can use that will display text in this sort of manner, but will respond to clicking a hyperlink and open the default web browser?
Detecting the click on the link is relatively easy, as described in the JEditorPane documentation.
Then use Desktop.browse(URI) to show the URL in the default browser.

rich:datascroller not working with rich:datatable on Internet Explorer

I have rich:datascroller as header and footer to rich:datatable in JSF.It works well when click on datascroller to page navigation when run on google chrome but when same run on internet explorer doesnt show data in datatable when f5 is pressed then it shows the data in datatable.
In my case was same plugin added that generates error when I tried click to change to other view. I reset browser's configuration to uninstall all pluggins and the navegation between pages back to work.
P.S: Sorry my poor English :-)

java with eclipse - lost design page

I am learning Java using Eclipse - started a project with javax.swing and could view a design page with my page layouts shown and various palets for components etc. Now this design page seems to have vanished and I cant discover any option to recover it. I hope someone can get me back on track.
Have you tried Right-click on class (for example MySwingPanel.java) in package editor Open With->WindowBuilder Editor?
The last time you selected something in Open With - this is the editor to open that file on double click.
Have you tried changing the Perspective? Click the arrows next to the DDMS tab in the upper right hand corner of Eclipse and select the 'Java' Perspective.

Toggle tab navigation without using jquery and javascript

I want to navigate between menu tabs and display content without using any java script and j query .
because, when java script disabled from the browser its does not work.
I have attached image for menu tab.
can anybody help
Thanks
Sanjeev
See my answer here: Is it possible to have tabs without javascript
Yes, it's possible, but it won't work everywhere (yet!)
If you aren't going to use javascript, then you are pretty much stuck having each tab be a link that refreshes the whole page, with the new tab marked somehow as active and its content included.

Categories